Hello, Although not directly related to tomato. But since it involves the use of Tomatio, I am asking the question over here. I am running Aztech DSL600E DSL Modem with IP 192.168.1.1 (in bridge mode) with the following firmware information : Linux RouterTech.AR7RD 2.4.17_mvl21-malta-mips_fp_le #1 Wed Jul 23 00:24:31 BST 2008 mips unknown BUILD=RouterTech_3.6.0D_20080723_2.60 VERSION=3.6.0D-RouterTech-1P-PSBL BOARD=AR7RD It is connected to the WAN port of a Linksys WRTSL54GS IP 192.168.10.1 running Tomato Firmware v1.27.8747 ND USB vpn3.6 which is acting as the gateway / DHCP for the rest of the network. I can access the modem interface just by writing its IP address in the web browser. It is happening quite often these days that my internet service locks up for no reason at random intervals and modem thus hangs. Sometimes it disconnects and never connects again (the connection light keeps blinking). The remedy to such problems are usually a cold boot (turning off and on the modem) or doing a software reset using the Web interface of the Modem Firmware [System --> Reboot Router --> Yes Reboot Now (Button)]. Since I am not usually at home to monitor this, I need to write a script in the Linksys router interface that if it detects the disconnection to internet it should reboot the modem and wait for "x" amount of time before checking and ensuring that connectivity has been restored. It maybe something like which I have already tried, which is, keep checking the ping connectivity to any website (google.com for example) every "x" amount of time, if the ping response is not received (maybe within y" amount of time), then run any given script and wait for it to come back. The script I wrote earlier is I am checking the ping response from "www.google.com" and based on it, controlling the Linksys GPIO PIN 5 (as a test example ) and printing the modem hang up failure frequency in a text file for later reference. I call this script as ping_check.sh which is called by a cron job after every minute. Now instead of controlling on/off with GPIO 5, I dont know how to call the "Reboot Router (button)" in the router (192.168.1.1) interface. In the firmware directory of the router (accessed via telnet), I can see the following files (or maybe CGI scripts, i dont know much about it) I guess the restart and reboot button would execute any of these scripts from the DSL Modem web interface. So based on the collective experience of the folks here, can some please guide me how to access these scripts from within tomato interface to Turn OFF and ON (Cold Boot) or at least do the Reboot Router (Soft Boot) of the DSL modem to remedy the situation. I hope i was barely able to make myself clear. Thanks for reading and replying.