Skip to content
Sam Kinch edited this page Oct 21, 2015 · 1 revision

Installer Example

root@WRTD-303N-Server:~/weaved_software# ./installer.sh 

You are running installer script Version: v1.2.13 
Last modified on February 26, 2015, by Mike Young. 

Now launching the Weaved connectd daemon installer...
.
Detected platform type: linux 
Using /var/log/syslog for your log file 

Checking for compatibility with Weaved's network... 

Checking if DNS works ... .[OK]

Checking TCP connectivity to weaved.com...<oip=XXX.XXX.XXX.XXX> [OK]

Send to 174.36.235.146:5960 [] [mip=XXX.XXX.XXX.XXX] [oport=59612 mport=44646] [OK]

Congratulations! Your network is compatible with Weaved services.

*********** Protocol Selection Menu ***********
*                                             *
*    1) SSH on default port 22                *
*    2) Web (HTTP) on default port 80         *
*    3) VNC on default port 5901              *
*    4) Custom (TCP)                          *
*                                             *
***********************************************

Please select from the above options (1-5):
1
You have selected: 1. 

The default port for SSH is 22.
Would you like to continue with the default port assignment? [y/n] y
We will install Weaved services for the following:

Protocol: ssh 
Port #: 22 
Service name: Weavedssh22 

Please enter your Weaved Username (email address): 
sam@hackersforcharity.org

Now, please enter your password: 
Copied notify.sh to /usr/bin 
Copied notify_Weavedssh22.sh to /usr/bin 
Copied weavedConnectd to /usr/bin 
startweaved.sh copied to /usr/bin
no crontab for root
no crontab for root

Your device UID has been successfully provisioned as: 80:00:00:05:46:00:59:49. 

Pre-registration of UID: 80:00:00:05:46:00:59:49 successful. 

We will now register your device with the Weaved backend services. 
Please provide an alias for your device: 
HFC-RACHEL-Demo
Your device will be called HFC-RACHEL-Demo.

Registering Weaved services for Weavedssh22 ................

Starting Weavedssh22...
WeavedConnectd built Feb 24 2015 at 10:08:27 Now Starting Up
   Version 2.11 - (c)2015 Weaved, Inc. All Rights Reserved
   Built with BCASTER MALLOC_POOL LINUX BACKTRACE pool=262144
   i386 Version
config file /etc/weaved/services/Weavedssh22.conf
Starting up as daemon
PID file specifed as /var/run/Weavedssh22.pid
setting web config port to dest_server_port 80
************************************************************************** 
CONGRATULATIONS! You are now registered with Weaved. 
Your registration information is as follows: 

Device alias: 
HFC-RACHEL-Demo 

Device UID: 
80:00:00:05:46:00:59:49 

Device secret: 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ```your key will be alphanumberic```

The alias, Device UID and Device secret are kept in the License File: 
/etc/weaved/services/Weavedssh22.conf 

If you delete this License File, you will have to re-run the installer. 
************************************************************************** 
Starting and stopping your service can be done by typing:
"sudo /usr/bin/Weavedssh22.sh start|stop|restart"

Successful connection:

root@linux:~# ssh -l root proxyXX.XXXXXXX.net -p XXXXX
root@proxy13.yoics.net's password: 
root@WRTD-303N-Server:~#

Uninstaller Example

root@WRTD-303N-Server:~# ./uninstaller.sh 
You are running installer script Version: v1.3 
Last modified on January 12, 2015, by Mike Young. 

Now launching the Weaved connectd daemon installer...

Please enter your Weaved Username (email address): 
sam@hackersforcharity.org

Now, please enter your password: 
We have detected the following services: 

Weavedweb80
Weavedssh22

Weavedweb80
Would you like to delete this service? [y/n] y
{"status":"true"}
Stopping Weavedweb80...
Weavedssh22
Would you like to delete this service? [y/n] n
Clone this wiki locally