From owner-freebsd-hackers Thu Jan 10 12:48:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 7106D37B404 for ; Thu, 10 Jan 2002 12:48:24 -0800 (PST) Received: (qmail 5746 invoked from network); 10 Jan 2002 20:48:22 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Jan 2002 20:48:22 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020110202617.GA13083@ussenterprise.ufp.org> Date: Thu, 10 Jan 2002 12:47:44 -0800 (PST) From: John Baldwin To: Leo Bicknell Subject: RE: serial console + boot blip Cc: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 <>< 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