home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 21142 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!Germany.EU.net!rz.uni-hildesheim.de!agsc!veeble.han.sub.org!gkminix!gero
  3. From: gero@gkminix.han.de (Gero Kuhlmann)
  4. Subject: Re: HELP - Need to log in through serial port
  5. References: <1992Dec14.030737.20420@en.ecn.purdue.edu>
  6. Organization: gkminix, Hannover, Germany
  7. Date: Tue, 15 Dec 92 18:06:09 GMT
  8. Message-ID: <1992Dec15.180609.3804@gkminix.han.de>
  9. Lines: 32
  10.  
  11. cronin@en.ecn.purdue.edu (Fester the Penguin) writes:
  12. > I do have access to dumb terminals, and I've all the serial cables and null
  13. > modem adapters I need... but, how do I set up Linux to accept logins from
  14. > the serial port? Preferably something I can type blind... :-) This'll let me
  15. > use the PC for some things until I can get enough money for another VGA
  16. > monitor.....
  17.  
  18. Login as root, then:
  19.     cd /etc
  20.     mv inittab inittab.old
  21.     elvis inittab
  22.  
  23. Within elvis type:
  24.     ittys1:vt200:/etc/getty 9600 ttys1<ESC>ZZ
  25.  
  26. Note the small 'i' at the beginning which places elvis into insert mode. You
  27. will also probably have to change ttys1 for your serial port (COM1 = ttys0,
  28. COM2 = ttys1 etc.). The 'ZZ' at the end write everything into the file and quit
  29. elvis.
  30. Then you have to activate the new inittab by:
  31.     kill -1 1
  32. or simply by rebooting (which is probably better).
  33.  
  34. I think this could be done without a screen. Don't forget to connect DCD at
  35. the serial port. Otherwise getty can get a SIGHUP.
  36.  
  37. gero.
  38.  
  39. -- 
  40. Gero Kuhlmann            Zerberus:  G.KUHLMANN@A-LINK-H.ZER
  41. Donarweg 4            SubNet:    gero@gkminix.sub.org
  42. D-3000 Hannover 51              IN:        gero@gkminix.han.de
  43.