Results 1 to 6 of 6
  1. #1
    Andy_Nel
    Guest

    How to force a modem hang-up?

    We have an application at work that runs on Win98 and communicates remotely, via internal modem with a Unix server. Occasionally, the remote server won't hang up the phone and the line remains open. The remote machine must then be rebooted in order to hang up the modem.

    I wrote a small batch file (echo ath>com2) to issue the hang-up command but I get a "Write Fault Error" for the com port. The command works if I INITIATE the connection using a DOS command, but not if the app started it.

    I'm looking for a small utility (or command) to force the hangup. I was looking at RASdial but it works with dial-up networking connections. This app dials directly without using dialup networking connection.

  2. #2
    zeus
    Guest

    Re: How to force a modem hang-up?

    Vague recollection....

    Can you load an old dos app such as Telix,
    I think the load of the old dos apps starts with a hangup.

    Actually, reset, it hangs up.

    There were DOS aps for such things.

  3. #3
    Andy_Nel
    Guest

    Re: How to force a modem hang-up?

    Jim,

    I downloaded Telix from Simtel.net and it works! Thanks!

    Now, on to the downside. This is a shareware program with a 45 day time limit. By the time it starts, gets through all the nag screens, and shuts down again, I could have rebooted. Also, I don't want to pay for a shareware program that I'll only be using for modem hangup.

    So, the question is why does this old DOS app succeed where DOS echo commands fail?...

  4. #4
    zeus
    Guest

    Re: How to force a modem hang-up?

    Old DOS programs generally write to the hardware.

    It is atz that resets the modem, I think that is
    automatic when Telix loads. It has been a lot of years.

    I am putting here a link which may help, it
    shows you how to use hyper-terminal to
    get to low level modem commands.

    <A target="_blank" HREF=http://808hi.com/56k/x2-hyperterm.htm>TryThis</A>

  5. #5
    zeus
    Guest

    Re: How to force a modem hang-up?

    Here is a link to a site with lots of old DOS apps.

    The one that looks best for you is "dosmodem".

    <A target="_blank" HREF=http://www.bookcase.com/library/software/msdos.comms.apps.html>http://www.bookcase.com/library/software/m...comms.apps.html</A>

    It will actually get the file from simtel. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    There is a doc file and source code with it.

  6. #6
    Andy_Nel
    Guest

    Re: How to force a modem hang-up?

    Jim,

    DOSmodem works perfectly! Short and sweet.

    Thanks! <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •