Re: Autologin on Serial Console
On Thu, 13 Jul 2000, Simon Tennant wrote:
> I currently have a Dec VT320 hooked up to my Debian box via a serial line
> on /dev/ttyS1. This box sits in the kitchen spewing the output of a
> tcpdump and provides and interesting way to monitor network activity in
> the house.
> I currently have to login and run "tcpdump -i eth1". I'd like tcpdump to
> be run automatically when the console is powered up and for no input to be
> accepted from the keyboard.
> To that end I've investigated getty-ps and mgetty. Both want a login or
> at lease a username in the case of getty-ps.
> Has anyone successfully managed to get a prelogged in console working?
Never tried, but maybe you can do something with a script in /etc/init.d,
or instead of running a getty on the terminal a script??
> Simon Tennant, Web Team, Linuxcare, Inc.
> 415.577.6719 tel, 415.701.7457 fax
> pgp id: 05F76248FF62442C4D0010C09851C0746410974D
> Linuxcare. Support for the revolution.
> Unsubscribe? mail -s unsubscribe email@example.com < /dev/null