Advertisement
metalx1000

Kankun Smart Plug Connect to Network

May 7th, 2015
887
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.79 KB | None | 0 0
  1. Configuring to SmartPlug Wireless Network - SSH Method
  2.  
  3. default /etc/config/wireless:
  4. ...
  5.  
  6. config wifi-iface
  7.         option device radio0
  8.         option network lan
  9.         option mode ap
  10.         option ssid OK_SP3
  11.         option encryption none
  12.  
  13. change /etc/config/wireless:
  14. ...
  15.  
  16. config wifi-iface
  17.         option device radio0
  18.         option network wwan
  19.         option ssid 'YOURSSID'
  20.         option mode sta
  21.         option encryption psk
  22.         option key 'YOUR_WPA_KEY'
  23.  
  24. append /etc/config/network: (thanks Michael Liddle)
  25.   config interface 'wwan'
  26.   option proto 'dhcp'
  27.  
  28. After saving this file, reboot the Smart Plug and it should be connected to your home network. If the connection fails, perform the "factory reset" procedures to reset the network settings.
  29. # reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement