Katash
Member
+4|6568
Dont know much about writing them but I want to be able to schedule my modem to reboot every 24hrs around 3am

I need a bat file that does this

telnet 192.168.1.1
pause
enter "username <return>"
enter "password <return>"
enter "reboot <return>"
end

Can someone help me with the writing of this please?
Titch2349
iz me!
+358|6361|uk

Katash wrote:

Dont know much about writing them but I want to be able to schedule my modem to reboot every 24hrs around 3am

I need a bat file that does this

telnet 192.168.1.1
pause
enter "username <return>"
enter "password <return>"
enter "reboot <return>"
end

Can someone help me with the writing of this please?
Why not just get one of those Timer Plug socket things, so the power cuts out every 24 hours, causing your modem to reset?
Katash
Member
+4|6568
cos I want to do it with a script
Maxxxie74
Member
+25|6580|Brisbane, Australia
"Expect" might be able to do what you're after.  Check out this Wikipedia entry:  http://en.wikipedia.org/wiki/Expect

Max

Board footer

Privacy Policy - © 2024 Jeff Minard