I'm attaching two enablement files which you can use with the compatible daemon.
Copy that daemon binary file to /usr/bin, so it will appear in the path. Make sure to set its execution bits. For the examples below, let's assume it's called weavedConnectd.exe.
Create a folder at /etc/weaved and copy the enablement files "cygwin.web" and "cygwin.ssh" to it.
Now, here are a few things you can do quickly:
Run a network compatibility test:
Run the Weaved service as a daemon, using the supplied enablement file, creating a .PID file in /var/run.
weavedConnectd.exe -f /etc/weaved/cygwin.web -d /var/run/Weavedweb80.pid
This will put the device into "auto-registration" mode. You'll need to create an account at Weaved and log in from a computer that is on the same LAN as your embedded device. In the service list, you should see a section of text highlighted in green indicating that a new unregistered device has been discovered. Follow the onscreen instructions to register and name your device. After a few minutes it will become active in your Service List.
The provided enablement file cygwin.web will work to make a secure remote connection over reverse-proxy to a service listening on tcp port 80 on your embedded device. Typically this is a web server such as apache2, lighttpd, nginx, or httpd.
cygwin.ssh will create a non-http connection to a tcp listener on port 22, such as a standard ssh server.
You can run both of these in daemon mode at the same time. Just be sure to specify unique PID file names (after -d in the command line) for each one.
Run the Weaved service in interactive mode
weavedConnectd.exe -f /etc/weaved/cygwin.web -i
This will give you some debug information if there is any problem making a connection.
You can also find start/stop scripts at our Github repository which will help you more easily control the integration of the Weaved service into your platform. Use the "generic" version to start with. You may have to edit these slightly to adapt to your system.
cygwin.ssh (867 Bytes) cygwin.web (863 Bytes)