Friday, July 10, 2009

Script that reboots a router

A script to reboot BSNL/Airtel broadband routers via telnet login.

https://sites.google.com/site/r0h1tscache/rrouter.sh?attredirects=0&d=1

rrouter.sh : Script to reboot router
Usage:
rrouter.sh [-u username] [-p password] [IPaddress]

In case you don't specify username or password, it defaults to "admin" and "admin" respectively. This behaviour can be changed by editing the first few lines of the script.

UPDATE ( 01 NOVEMBER 2010 ):

Alternatively, this seems to work on some routers but not all :
wget --http-user="admin" --password="admin" http://192.168.1.1/rebootinfo.cgi

1 comment:

Jadu Saikia said...

ya make sense, good tip, script. Thanks.

http://unstableme.blogspot.com/