From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) Subject: Re: /dev/ttys? not responding Date: 23 Jul 1992 10:37:16 GMT
In article <1992Jul22.235626.17486@ncsu.edu> doogie@garfield.catt.ncsu.edu (Jeff House) writes:
>
>I did the following: [ edited ]
>
>echo "ATDT5551111" > /dev/ttys0
>
> [ some more editing ] Neither case dialed, and
>when I did:
>
>cat /dev/ttys0
>
>"ATDT5551111" was echoed. My modem seems not to be accepting commands.
This is pretty much what should happen: hayes-compatible modems expect a
carriage return ('\r') after the command, and the above just sends the
normal unix line-feed instead. As the modem is echoing you, you do have
a good connection to it, so things should work after correcting the
above to:
$ echo -e -n "atdt5551111\015"
or similar. Or get kermit, and type the above in directly.
Linus