From owner-freebsd-questions Sun Jan 26 6:13:27 2003 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 3564E37B401 for ; Sun, 26 Jan 2003 06:13:26 -0800 (PST) Received: from pd3mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 376A143F1E for ; Sun, 26 Jan 2003 06:13:20 -0800 (PST) (envelope-from robin@damm.ca) Received: from pd6mr3so.prod.shaw.ca (pd6mr3so-qfe3.prod.shaw.ca [10.0.141.218]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H9B00A3ZRI7L1@l-daemon> for freebsd-questions@freebsd.org; Sun, 26 Jan 2003 07:13:19 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H9B00K7FRI7GB@l-daemon> for freebsd-questions@freebsd.org; Sun, 26 Jan 2003 07:13:19 -0700 (MST) Received: from lulu.private.lan (h24-82-238-48.wp.shawcable.net [24.82.238.48]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.6 (built Apr 26 2002)) with ESMTP id <0H9B00L0VRI6J9@l-daemon> for freebsd-questions@FreeBSD.ORG; Sun, 26 Jan 2003 07:13:19 -0700 (MST) Received: from lulu.private.lan (localhost [127.0.0.1]) by lulu.private.lan (8.12.6/8.12.6) with ESMTP id h0QEDrBh041290; Sun, 26 Jan 2003 08:13:53 -0600 (CST envelope-from robin@damm.ca) Received: (from robin@localhost) by lulu.private.lan (8.12.6/8.12.6/Submit) id h0QEDrp3041287; Sun, 26 Jan 2003 08:13:53 -0600 (CST envelope-from robin@damm.ca) Date: Sun, 26 Jan 2003 08:13:53 -0600 From: Robin Damm Subject: Re: Setting up serial console! In-reply-to: <000d01c2c537$ac5eead0$0201a8c0@winxp> To: Bryan Ko Cc: freebsd-questions@freebsd.org Message-id: <200301261413.h0QEDrp3041287@lulu.private.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Lines: 41 References: <000d01c2c537$ac5eead0$0201a8c0@winxp> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Bryan Ko" writes: > Hello all, > > I am trying to set up serial console for the first time and I am having some > troubles to make it work. > I bought a null modem cable and connected it to COM1 on two computers. One > is Windows XP, > and one is FreeBSD. I created "boot.config" file with the line: > -Dh > When I rebooted the FreeBSD box, the dmesg was not shown anymore. I think it > wrote to serial > console already. Then I tried to connect to the FreeBSD box in WinXP by > using the HyperTerminal. > But nothing was displayed and I rebooted freebsd box again. Still nothing. > > [Deleted...] > Boot messages should appear simply by connecting to com1 from HyperTerm. To get a login prompt you need to edit /etc/ttys. Change the line: ttyd0 "/usr/libexec/getty std.9600" dialup off secure to: ttyd0 "/usr/libexec/getty std.9600" dialup on secure Connect via HyperTerm or "tip com1" from another bsd box, hit Enter and you should receive a prompt. If you still do not see anything try using only the -h flag in boot.config. More info at . Hope that helps. -- Robin Damm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message