OpenWRT
From Telecomix Crypto Munitions Bureau
[edit] Crontab to reconnect the wifi
crontab -e
It will open in the editor called vi. Put it in "insert mode" by pressing:escape + i
Then copy-paste this line:
* * * * * $([ $(ifconfig wl0|grep "inet addr"|wc -l) == "0" ] && [ $(ps auxw|grep wifi|grep -v "grep wifi"|wc -l) == "0" ] && wifi up)Save and exit vi: Press
escape + : then write: wq[enter]

