How to reboot a SMC Barricade router remotely
Chris Tavares
cct at tavaresstudios.com
Sun May 4 02:32:34 EDT 2003
"Jesse Lee" <jkl555 at hotmail.com> wrote in message
news:86e72741.0305031947.29b2ec97 at posting.google.com...
> I have a SMC Barricade 7004AWBR router and I am trying to find a
> script that can remotely reboot the router (to renew the IP address).
> I have a web server running all the time. For security reason I would
> like to renew the IP address every night. Would someone point me to
> any web site that I can find such a script ?
>
> Thanks.
>
> Jesse Lee
I've written several similar scripts, but not for the 7004AWBR. What you
need to do is act like a web client. urllib and httplib are your friends
here.
To figure out what you need to send, grab a copy of tcpTrace from
http://www.pocketsoap.com/tcptrace/ . This is a tool that lets you easily
spy on http transactions, so you can tell how the router does it's login,
and what happens when you press the reset button. You will need some
knowledge of how HTTP works to understand what's happening here.
Unfortunately, every router does this sort of thing differently.
Good luck,
-Chris
More information about the Python-list
mailing list