Modem reset from host PC

Valerion

Expert Member
Joined
Oct 13, 2003
Messages
1,967
Reaction score
36
Location
::1
I have a remote site with a Linux PC on a MyWireless link with a PPPoE connection, using the Ethernet cable. This setup works very well, but for some reason the modem randomly seems to hang every few days. If you reset the modem manually, using the power button on the front, it connects again straight away.

The problem is that there is not always someone onsite to reset the modem. Is there a way for the host PC to send a reset command to the modem? Or does this have to be done manually?

Thanks :)
 
On the linux server, stick your modem reset command in a file and execute it on a scheduled basis using cron (make sure the perms on the file are correct). Of course, the modem reset command must have a carrier to talk to the modem - any standard terminal console app should do the trick. Else, a straightfoward quoted echo or cat to the device tty should work (if your modem is indeed a tty, that is). That should solve the problem permanently...
 
In this case the "modem" (maybe a bad term ...) is on a ethernet link, so there's no tty associated with it.

Also, I have no idea what to send it to make it reset itself/reboot. I have solved the same issue on my Telkom DSL router by executing the cgi scripts in its internal webserver via a perl script, but I couldn't find anything similiar on the Sentech MyWireless device yet.
 
Have a little clockwork motor that every 12 hours activates a lever to push a paperclip to contact the reset terminals on the back of the modem :p
 
Your best option is probably going to be to use the USB cable to connect the modem, install the linux drivers (have a look for them, written by TheRodent), and then use the cron scripts to send a reset to the modem every few days or so.

Wow, I really sound like I know what I'm talking about! :-)
 
Top
Sign up to the MyBroadband newsletter
X