home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6508 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.1 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  2. From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: /dev/ttys? not responding
  5. Message-ID: <1992Jul23.103716.29243@klaava.Helsinki.FI>
  6. Date: 23 Jul 92 10:37:16 GMT
  7. References: <1992Jul22.235626.17486@ncsu.edu>
  8. Organization: University of Helsinki
  9. Lines: 24
  10.  
  11. In article <1992Jul22.235626.17486@ncsu.edu> doogie@garfield.catt.ncsu.edu (Jeff House) writes:
  12. >
  13. >I did the following: [ edited ]
  14. >
  15. >echo "ATDT5551111" > /dev/ttys0
  16. >
  17. > [ some more editing ]  Neither case dialed, and
  18. >when I did:
  19. >
  20. >cat /dev/ttys0
  21. >
  22. >"ATDT5551111" was echoed.  My modem seems not to be accepting commands.
  23.  
  24. This is pretty much what should happen: hayes-compatible modems expect a
  25. carriage return ('\r') after the command, and the above just sends the
  26. normal unix line-feed instead.  As the modem is echoing you, you do have
  27. a good connection to it, so things should work after correcting the
  28. above to:
  29.  
  30.     $ echo -e -n "atdt5551111\015"
  31.  
  32. or similar. Or get kermit, and type the above in directly.
  33.  
  34.         Linus
  35.