1845903 Members
4992 Online
110250 Solutions
New Discussion

Re: modem testing

 
Victor Mendham
Regular Advisor

modem testing

Anyone have a script to test a modem to ensure dialtone? My modem locks up every 4 to 5 days and the only way to fix the external connection is to plug in an analoug phone and hang it up. Turning the modem off an on doesn't work.

P.S. I'm not a unix guru, that's why I'm looking for a script to play with and see if I can get it to work.

I'm looking to do 2 things one test for dialup
and eventually end to end test. send a file if, poll for file if file not present reset app which uses the modem. For now I'm looking to automate the process rather than dial the modem each day to see if it is working or not.
4 REPLIES 4
Jaimin Parikh
Frequent Advisor

Re: modem testing

Hi,

Can u tell me modem model and make,please?
Alternatively u can search of the script in your modem setup book.Each modem has got it's factory defauly script - at&f will load the script and at&w0 will write that script in the modem's memory chip.

Please let me know.
Regards,
Jaimin.
JAIMIN PARIKH : Share your knowledge and help those who need your help!!
Jaimin Parikh
Frequent Advisor

Re: modem testing

Hi,

In continuation of my earlier reply I would like you to search for 'atz' and modem hangup string in your modem setup booklet.

'atz' resets the modem.

Regards,
Jaimin
JAIMIN PARIKH : Share your knowledge and help those who need your help!!

Re: modem testing

Try :

echo "atz\n" | cu -l /dev/modem


Victor Mendham
Regular Advisor

Re: modem testing

The modem attached is a USRobotics 56K Faxmodem Model # 5686.

The application running is Telalert. We have a ini file which sets up the modem. Telalert supports this modem and has the init string in the ini file.