home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
- From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
- Newsgroups: comp.os.linux
- Subject: Re: /dev/ttys? not responding
- Message-ID: <1992Jul23.103716.29243@klaava.Helsinki.FI>
- Date: 23 Jul 92 10:37:16 GMT
- References: <1992Jul22.235626.17486@ncsu.edu>
- Organization: University of Helsinki
- Lines: 24
-
- 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
-