From owner-freebsd-questions@FreeBSD.ORG Mon Jan 30 03:08:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF28A16A420 for ; Mon, 30 Jan 2006 03:08:07 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EC0243D48 for ; Mon, 30 Jan 2006 03:08:06 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from ip02.eastlink.ca ([24.222.10.10]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0ITV00AXUY1V5171@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Sun, 29 Jan 2006 23:08:19 -0400 (AST) Received: from blk-224-199-230.eastlink.ca (HELO [192.168.0.101]) ([24.224.199.230]) by ip02.eastlink.ca with ESMTP; Sun, 29 Jan 2006 23:08:05 -0400 Date: Sun, 29 Jan 2006 23:08:04 -0400 From: Duane Whitty In-reply-to: To: "Scott I. Remick" Message-id: <43DD8314.5020106@greenmeadow.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= References: User-Agent: Thunderbird 1.5 (Windows/20051201) Cc: freebsd-questions@freebsd.org Subject: Re: serial console for dummies? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2006 03:08:08 -0000 Scott I. Remick wrote: > Hello... I'm trying to set up a serial console for watching console error > messages while in X, but am having a real hard time getting my head around > the concepts of what I need to do (and don't need to). > > I've seen http://www.freebsd.org/doc/handbook/serialconsole-setup.html but > I'm not clear about how much of that applies to what I want to do, since > it talks about setting it up for a headless system (no keyboard or > monitor) and actually instructs you to remove the keyboard. I've also > searched the mailing list archives but I've read a lot of conflicting > info, much of which for different uses of the serial console than what I > want to use it for, and I've now read back so far that I can't even be > certain that the suggestions apply to FreeBSD 6.0. Ugh > > So is there someone who can give me a hand-held walk-through of just what > I need to do to make this work? I'm running FreeBSD 6.0-RELEASE and live > in X (Gnome) all the time. My intention here is to be able to see console > messages (Errors) so when something dies (like X locking, which happens > sometimes) I have a chance to see what the heck happened. I have an old > 486 laptop I intend to use as the "dumb terminal", as well as the > necessary null modem cable. I just need to know what to configure on my > FreeBSD box so that console errors are mirrored to the serial port. Thanks! > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > Hi, Take a look at /etc/ttys. It is pretty self-explanatory but you'll probably have to play around with what kind of terminal you want, i.e. vt100, vt220, cons25, etc. My guess is you want tty0 getty (terminal type) on secure Plug in your laptop to the serial port, restart init (man init) and see what happens Best Regards, Duane Whitty ---------------------- duane@greenmeadow.ca