1. Reset Yun to factory default by:

reset-to-factory-anyway
reboot

2. Setup static ip at wan:

nano /mnt/sda1/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
chmod 755 /mnt/sda1/setwanstaticip.sh
/mnt/sda1/setwanstaticip.sh

Comments powered by CComment