[SunHELP] How do you reset a modem remotely?

Fogg, James sunhelp at sunhelp.org
Mon Oct 1 09:05:27 CDT 2001


You call up the site support people and have them power cycle the modem.

Then, you get the Hayes docs and set it to "reset on DTR". You also want to
learn how to save and reload profiles from nvram.

> -----Original Message-----
> From: Lance Sequeira [mailto:inlance at yahoo.com]
> Sent: Saturday, September 29, 2001 4:05 AM
> To: sunhelp at sunhelp.org
> Subject: [SunHELP] How do you reset a modem remotely?
> 
> 
> Hi Folks,
> 
> The application I'm developing uses 'tip' to dial into
> a remote system and access an application from that
> system. All is well when I exit from the remote
> application gracefully. The connection is closed and
> the modem is available for the next session.
> 
> Now, when I simply close the telnet window or unplug
> the LAN cable (the system testers did this!)while the
> remote application is running, the modem does not
> reset. When I call tip again to connect to the remote
> system using the previously used modem device, it
> gives an error "Can't synchronize with hayes"
> 
> (The modems used are AT&T Paradyne Comsphere 3800
> series, which are Hayes compatible. My application
> directs tip to use the caller script in the
> /etc/uucp/Dialers file for "hayes".)
> 
> Doing 'ps -ef' shows that no tip processes are
> running. Also, the lock files (that are created by the
> UUCP locking mechanism) are released.
> 
> I tried using 'cu' to connect. It timed out at the
> expect string "OK".
> 
> My question is: How do I reset the modem remotely? (I
> do not have physical access to the modem hardware
> since it resides in a different part of the world!)
> I tried modifying the Dialer script by adding some
> modem initialization strings, but with no success. 
> 
> Also, how do I configure the modem so that it resets
> automatically in case such an event should occur?
> 
> Any lead shall be much appreciated.
> Thanks,
> Lance.
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Listen to your Yahoo! Mail messages from any phone.
> http://phone.yahoo.com
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 



More information about the SunHELP mailing list