home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25187 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.3 KB  |  40 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!usc!rpi!gatech!cc.gatech.edu!news
  3. From: zundel@cc.gatech.edu (Eric Zundel Ayers)
  4. Subject: Solution! serial tty's respawning
  5. Message-ID: <1993Jan23.015040.5310@cc.gatech.edu>
  6. Summary: use /bin/getty -h 
  7. Sender: news@cc.gatech.edu
  8. Reply-To: zundel@cc.gatech.edu (Eric Zundel Ayers)
  9. Organization: Georgia Institute of Technology
  10. Date: Sat, 23 Jan 1993 01:50:40 GMT
  11. Lines: 27
  12.  
  13. We, like many others, have been trying to get serial logins
  14. to work with SLS (99pl2). We have been trying to use a null modem
  15. cable to hook a hard-wired terminal to the other end. 
  16. Finally, I got it right. 
  17.  
  18. Astrologically divined explanation of the error:
  19.  
  20. The "respawn" option tells init to start a new getty process if 
  21. one dies... That means that If you have a connection,
  22. it dies, init tells getty to re-start: it has a connection, it dies; 
  23. init tells getty to  restart.... you get the picture.
  24.  
  25.  
  26. The solution is to use the -h option, which keeps the
  27. getty process from dying when you have a connection that
  28. is already open.   
  29.  
  30. so my serial line entry for inittab looks like:
  31. c6:6:respawn:/bin/getty -h 9600 ttyS1
  32.  
  33. Yay! it woiks!
  34.  
  35. Eric.
  36. Eric Z. Ayers
  37. zundel@cc.gatech.edu
  38. Graphics, Visualization, and Usability Center (GVU)
  39. Georgia Institute of Technology, Atlanta, GA 30213 USA 
  40.