1. Reset Yun to factory default by:
reset-to-factory-anyway reboot
( backup your own data )
2. Setup WIFI STA mode:
3. SSH to wifi ip address:
nano setwanstaticip.sh
#!/bin/ash uci set network.wan.proto=static uci set network.wan.ipaddr=192.168.241.1 uci set network.wan.netmask=255.255.255.0 uci commit network /etc/init.d/network restart
root@Arduino:~# /bin/ash setwanstaticip.sh Successfully initialized wpa_supplicant root@Arduino:~#
4.Setup 192.168.241.2 at PC
5.Entering http://192.168.241.1/ goto firewall setting edit both zone.
Make sure lan to wan, wan to lan forwardings and masquerading enabled.
Comments powered by CComment