home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8264 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  2.4 KB

  1. Path: sparky!uunet!utcsri!bonnie.concordia.ca!clyde.concordia.ca!altitude!Nyongwa.CAM.ORG!steve
  2. From: steve@Nyongwa.CAM.ORG (Steve M. Robbins)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Modem dial-in procedures needed
  5. Message-ID: <Bsy0K1.4JG@Nyongwa.CAM.ORG>
  6. Date: 13 Aug 92 22:16:48 GMT
  7. References: <1992Aug13.052324.8490@athena.mit.edu>
  8. Organization: Chiral Symmetry Breakers of Montreal
  9. Lines: 48
  10.  
  11. In article <1992Aug13.052324.8490@athena.mit.edu> chchen@stat.fsu.edu writes:
  12. >I've seen several discussions about modem dial-in for Linux system. I
  13. >got two unsolved questions here:
  14.  
  15. >1. Is it necessary to get getty_ps program to allow modem dial-in?
  16.  
  17. No.  Not if you just want to dial in.  Getty_ps is required if you want to also
  18. be able to dial out on the same line (uucp, kermit...).  To my knowledge there
  19. are no other uugetty programs that work.  [uugetty being the version of getty
  20. (included in getty_ps) that uses lockfiles to negotiate with uucp et al. for 
  21. the line]
  22.  
  23.  
  24. >2. If I just want to use the getty from MCC-INTERIM or root image (.96 or
  25. >   .97), what steps should I follow?
  26. [..]
  27. >                (2) Without changing the /etc/initab, give the command
  28. >                          echo atq1e0s0=2v1x4 >/dev/ttys1
  29. >                          (no device busy this time)
  30. >                    and then
  31. >                         getty 2400 /dev/ttys1 &
  32. >
  33. >                    This seemed to work but after my friend logout,
  34. >                    his screen went messy (he is also running Linux)
  35.  
  36. I think this is the way to do it.  But with the getty line in inittab, I
  37. don't think you need to run getty by hand.  You might have to kill off the
  38. old getty and let init restart it, though.  [since atq1 turns off the command 
  39. responses, sending v1x4 is superfluous, isn't it?]
  40.  
  41. The best way would probably be to put the initializing string (i.e. 'echo
  42. atq1.. >/dev/ttys1) into /etc/rc, so the modem will be set up before init
  43. ever tries running getty on it.
  44.  
  45. The messy screen is your friend's problem, probably to do with getting noise
  46. after disconnecting.
  47.  
  48. >                    Also, how to choose terminal type with this
  49. >                    apporach?
  50.  
  51. The terminal type will be set by init to whatever is on the inittab line.  If
  52. you need to change it after logging in, just do TERM=whatever from BASH's
  53. command line, or login script.
  54.  
  55. -- 
  56. Steve Robbins  --  steve@nyongwa.cam.org
  57. I asked Hank Williams "how lonely does it get?"
  58. Hank Williams hasn't answered yet.
  59.