From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 18:26:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D8651065673 for ; Sun, 27 Nov 2011 18:26:45 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id 19FBE8FC1D for ; Sun, 27 Nov 2011 18:26:44 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [66.253.36.39]) by paka.cyberleo.net (Postfix) with ESMTPSA id 597C628407; Sun, 27 Nov 2011 13:09:01 -0500 (EST) Message-ID: <4ED27CBC.3050604@cyberleo.net> Date: Sun, 27 Nov 2011 12:09:00 -0600 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111106 Thunderbird/7.0.1 MIME-Version: 1.0 To: h bagade References: In-Reply-To: X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: problem in changing serial console speed! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2011 18:26:45 -0000 On 11/27/2011 12:07 AM, h bagade wrote: > Hi all, > > I want to change serial console speed on freebsd 8.2. I've found out > different way of doing so but none was successful! I've tried the following > ways: > > 1- change /boot.config: add -S*speed > > *2- change /boot/loader.conf: add following lines > boot_multicons="YES" > boot_serial="YES" > comconsole_speed="115200" > console="comconsole,vidconsole" > > 3- change /etc/ttys as follows: > ttyu0 "/usr/libexec/getty std.115200" vt100 on secure > > none of the above methods worked and only changing /etc/makefile had an > effect on serial console speed which is not appropriate. > Is there anything else should be take in to consideration in any of the > ways? What am I missing? You have to do all of them. With my Intel SS4200 NAS boxen (which are headless), I do the following: ----8<---- Set the serial port to 115200 in the bios and disable console redirection after boot. Add to /boot.config to set boot block serial speed: -h -S115200 Add to loader.conf to set /loader serial speed: console="comconsole" conconsole_speed="115200" Edit /etc/ttys to set serial login speed: ttyu0 "/usr/libexec/getty std.115200" vt100 on secure ----8<---- This is sufficient to completely replace the emulated VGA with native serial output across all phases of the boot sequence, from the boot block through /loader, kernel and startup messages, all the way to login. Some changes may be necessary if you intend to use a serial port other than 0, or if you wish to have both serial and VGA consoles available. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/