home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8113 < prev    next >
Encoding:
Text File  |  1992-08-13  |  2.1 KB  |  50 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cs.utexas.edu!torn!utgpu!utstat!rafal
  3. From: rafal@utstat.uucp (Rafal Kustra (summer student))
  4. Subject: Re: Modem dial-in procedures needed
  5. Message-ID: <1992Aug13.132047.17310@utstat.uucp>
  6. Organization: University of Toronto, Dept. of Statistics
  7. References: <1992Aug13.052324.8490@athena.mit.edu>
  8. Date: Thu, 13 Aug 1992 13:20:47 GMT
  9. Lines: 39
  10.  
  11. In article <1992Aug13.052324.8490@athena.mit.edu> chchen@stat.fsu.edu writes:
  12. >[stuff deleted]
  13. >   I've tried   (1) edit the /etc/inittab to add a line
  14. >                         ttys1:vt100:/etc/getty -m 2400 ttys1 
  15. >                    reboot, and type the command
  16. >                          echo atq1e0s0=2v1x4 >/dev/ttys1
  17. >                    Now the system says the device is busy and my 
  18. >                    friend can not dial in.
  19. >                (2) Without changing the /etc/initab, give the command
  20. >                          echo atq1e0s0=2v1x4 >/dev/ttys1
  21. >                          (no device busy this time)
  22. >                    and then
  23. >                         getty 2400 /dev/ttys1 &
  24. >
  25. >                    This seemed to work but after my friend logout,
  26. >                    his screen went messy (he is also running Linux)
  27. >
  28. >                    Also, how to choose terminal type with this
  29. >                    apporach?
  30. >
  31. >I will be greatly appreciated if someone can post his whole procedures
  32. >to allow modem dial-in.
  33. >                         
  34. >Steve Chen             chchen@stat.fsu.edu
  35. I thing best way is to give modem the neccesary
  36. instruction _before_ you spawn getty on it (ie with
  37. inittab unchanged). Otherwise I remember getting my
  38. system locked. Than change inittab and
  39. (soft!)reboot. But, I'm using getty_ps and is SO much
  40. better I strongly recommend it (!).
  41. To change terminal permanently you change relevant part
  42. of inittab entry. But you can also do it (as root) with
  43. setterm redirecting it to /dev/ttysX.
  44.  
  45. -- 
  46. /|| Numbers exist only in our minds. There is no physical entity that
  47.  ||_is_ number 1. If there were, 1 would be in a place of honor in 
  48.  || some great museum of science, and past it would file a steady
  49. ==== stream of mathematicians gazing at 1 in wonder and awe.
  50.