home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!usc!rpi!gatech!cc.gatech.edu!news
- From: zundel@cc.gatech.edu (Eric Zundel Ayers)
- Subject: Solution! serial tty's respawning
- Message-ID: <1993Jan23.015040.5310@cc.gatech.edu>
- Summary: use /bin/getty -h
- Sender: news@cc.gatech.edu
- Reply-To: zundel@cc.gatech.edu (Eric Zundel Ayers)
- Organization: Georgia Institute of Technology
- Date: Sat, 23 Jan 1993 01:50:40 GMT
- Lines: 27
-
- We, like many others, have been trying to get serial logins
- to work with SLS (99pl2). We have been trying to use a null modem
- cable to hook a hard-wired terminal to the other end.
- Finally, I got it right.
-
- Astrologically divined explanation of the error:
-
- The "respawn" option tells init to start a new getty process if
- one dies... That means that If you have a connection,
- it dies, init tells getty to re-start: it has a connection, it dies;
- init tells getty to restart.... you get the picture.
-
-
- The solution is to use the -h option, which keeps the
- getty process from dying when you have a connection that
- is already open.
-
- so my serial line entry for inittab looks like:
- c6:6:respawn:/bin/getty -h 9600 ttyS1
-
- Yay! it woiks!
-
- Eric.
- Eric Z. Ayers
- zundel@cc.gatech.edu
- Graphics, Visualization, and Usability Center (GVU)
- Georgia Institute of Technology, Atlanta, GA 30213 USA
-