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