home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cs.utexas.edu!torn!utgpu!utstat!rafal
- From: rafal@utstat.uucp (Rafal Kustra (summer student))
- Subject: Re: Modem dial-in procedures needed
- Message-ID: <1992Aug13.132047.17310@utstat.uucp>
- Organization: University of Toronto, Dept. of Statistics
- References: <1992Aug13.052324.8490@athena.mit.edu>
- Date: Thu, 13 Aug 1992 13:20:47 GMT
- Lines: 39
-
- In article <1992Aug13.052324.8490@athena.mit.edu> chchen@stat.fsu.edu writes:
- >[stuff deleted]
- > I've tried (1) edit the /etc/inittab to add a line
- > ttys1:vt100:/etc/getty -m 2400 ttys1
- > reboot, and type the command
- > echo atq1e0s0=2v1x4 >/dev/ttys1
- > Now the system says the device is busy and my
- > friend can not dial in.
- > (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)
- >
- > Also, how to choose terminal type with this
- > apporach?
- >
- >I will be greatly appreciated if someone can post his whole procedures
- >to allow modem dial-in.
- >
- >Steve Chen chchen@stat.fsu.edu
- I thing best way is to give modem the neccesary
- instruction _before_ you spawn getty on it (ie with
- inittab unchanged). Otherwise I remember getting my
- system locked. Than change inittab and
- (soft!)reboot. But, I'm using getty_ps and is SO much
- better I strongly recommend it (!).
- To change terminal permanently you change relevant part
- of inittab entry. But you can also do it (as root) with
- setterm redirecting it to /dev/ttysX.
-
- --
- /|| Numbers exist only in our minds. There is no physical entity that
- ||_is_ number 1. If there were, 1 would be in a place of honor in
- || some great museum of science, and past it would file a steady
- ==== stream of mathematicians gazing at 1 in wonder and awe.
-