How to control the wireless radio on a home router.

donkeydave said:
Hi all,

I appreciate this thread is old, but I was doing something similar and thought I could add my approach. Basically, after installing tomato I also installed lighttpd so that the router can also run a mini php server. Having done that I used phpseclib to write a php script (hosted on the router) that connects to tomato via SSH and runs commands. I have it start / stop a VPN connection which means I can use my iPhone to switch on (or off) a VPN session on the router by just visiting the php page. If any of you are interested in this approach let me know and I'll post more details.

Dave
Consider me one that would love to have a tutorial on this!
 
Back
Top