I currently have a TomatoUSB router set up as access point only. Would like to have the wireless radio turn OFF if it cannot communicate with the router (192.168.1.1).
Under custom 1 script I enabled the following command to run every minute everyday:
ping -q -c 1 192.168.1.1 || radio off
I cannot get it to work automatically when I pull the ethernet plug just to test it, but it will work just fine when I run it via shell. Is there a configuration that I am missing?
Thanks for the help!
Under custom 1 script I enabled the following command to run every minute everyday:
ping -q -c 1 192.168.1.1 || radio off
I cannot get it to work automatically when I pull the ethernet plug just to test it, but it will work just fine when I run it via shell. Is there a configuration that I am missing?
Thanks for the help!