From: gero@gkminix.han.de (Gero Kuhlmann) Subject: Re: HELP - Need to log in through serial port Date: 15 Dec 1992 18:06:09 GMT
cronin@en.ecn.purdue.edu (Fester the Penguin) writes:
> I do have access to dumb terminals, and I've all the serial cables and null
> modem adapters I need... but, how do I set up Linux to accept logins from
> the serial port? Preferably something I can type blind... :-) This'll let me
> use the PC for some things until I can get enough money for another VGA
> monitor.....
Login as root, then:
cd /etc
mv inittab inittab.old
elvis inittab
Within elvis type:
ittys1:vt200:/etc/getty 9600 ttys1<ESC>ZZ
Note the small 'i' at the beginning which places elvis into insert mode. You
will also probably have to change ttys1 for your serial port (COM1 = ttys0,
COM2 = ttys1 etc.). The 'ZZ' at the end write everything into the file and quit
elvis.
Then you have to activate the new inittab by:
kill -1 1
or simply by rebooting (which is probably better).
I think this could be done without a screen. Don't forget to connect DCD at
the serial port. Otherwise getty can get a SIGHUP.
gero.
-- Gero Kuhlmann Zerberus: G.KUHLMANN@A-LINK-H.ZER Donarweg 4 SubNet: gero@gkminix.sub.org D-3000 Hannover 51 IN: gero@gkminix.han.de