Date: Thu, 10 Jan 2002 12:47:44 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Leo Bicknell <bicknell@ufp.org> Cc: freebsd-hackers@freebsd.org Subject: RE: serial console + boot blip Message-ID: <XFMail.020110124744.jhb@FreeBSD.org> In-Reply-To: <20020110202617.GA13083@ussenterprise.ufp.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020110124744.jhb>