Friday, July 10, 2009

Script that reboots a router

A script to reboot BSNL/Airtel broadband routers via telnet login. : Script to reboot router
Usage: [-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"