From owner-freebsd-questions@FreeBSD.ORG Fri Feb 18 22:23:46 2005 Return-Path: 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 E1E8916A4CE for ; Fri, 18 Feb 2005 22:23:46 +0000 (GMT) Received: from mail-core.space2u.com (mail-core.space2u.com [62.20.1.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2153F43D41 for ; Fri, 18 Feb 2005 22:23:46 +0000 (GMT) (envelope-from jd@dagerot.com) Received: from localhost (www-core.space2u.com [62.20.1.180]) by mail-core.space2u.com (8.13.3/8.13.2) with ESMTP id j1IMNgo6004896; Fri, 18 Feb 2005 23:23:42 +0100 Date: Fri, 18 Feb 2005 23:23:42 +0100 Message-Id: <200502182223.j1IMNgo6004896@mail-core.space2u.com> MIME-Version: 1.0 From: "Joachim Dagerot" To: Emanuel Strobl Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: Headless system or serial console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 22:23:47 -0000 On 2005-02-18 Emanuel Strobl wrote: Am Donnerstag, 17. Februar 2005 23:57 schrieb Joachim Dagerot: >> The handbook describes a way to install freeBSD to a headless system. >> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-advanced >>.html) >> >> I'm used to drag'n'drop(!) my 45kg 21" spare monitor in and out from the >> closet to do single-user tasks. But now I want to go the serial port way. >> >> >> 1. Is there a way to get a serial console after the installation is done? >> How? (Link?) > >Just add the line "console=comconsole" in /boot/loader.conf and you have your >1st sio as console with 9600boud. >If you need loader interactivity, instead create the file /boot.config with >the two characters "-h" in the first line, then you don't need to set the >console in loader.conf. >If you want to have a different console speed see the sysctl >"machdep.conspeed". You can set that via sysctl.conf. >But if you also want a different port or serial control before login see the >following options in /etc/make.conf: >BOOT_COMCONSOLE_PORT= 0x2F8 # Use sio1 (com2) >BOOT_COMCONSOLE_SPEED= 115200 > >You have to rebuild your kernel and the loader. For the latter go >to /usr/src/sys/boot/i386 and 'make clean' 'make depend' 'make install' > >If you want to login in multiuser mode edit /etc/ttys and make sure you have a >line like that: >ttyd0 "/usr/libexec/getty std.115200" cons25 on secure I had plans for connecting an old palm but I couldn't find the power supply and it was drained out. (It's a pitty how fast the batteries discharges on the palm, I mean, I used my PalmVx last time just a few years ago. But when scavaging the closets I found an old HP 320LX (Anyone remember those: http://www.pdagold.com/hardware/detail.asp?d=7 ?) and connetced it following your advice above. Worked from start! Sooo coool. Soooo Slooow. Soooo practical. Thanks alot. (Goes to all you who ahve answered this question(