echo a modem command
Results 1 to 4 of 4

Thread: echo a modem command

  1. #1
    Join Date
    Apr 2000
    Posts
    1,579

    echo a modem command

    I want to use a DOS echo command to test my internal modem for a dial tone, and its ability to hang up the telephone line. I forgot the two "AT" modem commands and how to do it.

    My dial-up modem is listed as using COM5 and is testing good with the loopback test; namely using the More Info button displays the responses.

    Also I can't hear my modem dial out, even though the modem speaker volume is all the way up. Did I modify something to keep it quiet? If so I don't remember where!
    Last edited by Robert M; September 13th, 2006 at 06:06 PM.
    Open your mind, not your computer.

  2. #2
    Join Date
    Apr 2005
    Location
    Maryland, USA
    Posts
    17,806
    A modem that uses the Hayes' AT command set (most do) can be tested by simply echoing an AT command at a DOS/CMD prompt and redirecting it to the COM port. For example, the command:
    echo atdt > com1
    should cause a modem on COM Port 1 to pickup the phone line and you should hear dial tone from the modem. Then the command:
    echo ath > com1
    or:
    echo ath0 > com1
    should cause the modem to hang-up, which should stop the dial tone.

    To control the volume of the speaker, you can use the "ATM0" (off) though the "ATM2" (loud) command. For example:
    echo atm2 > com1

    A list of many of the standard AT Command Set can be found on this page:

  3. #3
    Join Date
    Apr 2000
    Posts
    1,579
    Thanks I'll try it.
    Open your mind, not your computer.

  4. #4
    Join Date
    Apr 2005
    Location
    Maryland, USA
    Posts
    17,806

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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