On 10-Jan-02 Leo Bicknell wrote:
> 
> I have a few machines configured for serial consoles (my first),
> and have found an oddity.
> 
> Basically I did the "-P" boot.config thing, and the 'set
> console=comconsole' in loader.rc.  This works fine.  I then run a
> getty on the 'console' in ttys.  When connected to a Cisco terminal
> server, all works well.  I telnet to the port, get the serial
> console, can log in.  Most importantly for the problem below when
> I log out the terminal server automatically drops the telnet
> connection.  I believe this is due to DTR going down after the
> shell exits, but I'm not positive so it may be some other control
> signal.

If you use -P, you shouldn't need 'set console=comconsole'.  Also, if you
always want a serial console, use -h instead of -P in boot.config.

> As as aside, I'm also thinking it might be useful to have a prompt
> at that point (on serial console anyway) asking if you want to go
> into single user mode, since you don't get to select that earlier
> with a serial console.

Sure you can.  Interrupt the loader and do 'boot -s' just like you would on a
video console.

> Have others noticed this behavior?  Does anyone know a way to
> work around it?  Does some init genuis know why this happens?

I have not had this behavior before, but as Alfred mentioned, I do use nohup on
my terminals.

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to