problem in changing serial console speed!
cyberleo at cyberleo.net
Sun Nov 27 18:26:45 UTC 2011
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
> 1- change /boot.config: add -S*speed
> *2- change /boot/loader.conf: add following lines
> 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:
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:
Add to loader.conf to set /loader serial speed:
Edit /etc/ttys to set serial login speed:
ttyu0 "/usr/libexec/getty std.115200" vt100 on secure
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.
<CyberLeo at CyberLeo.Net>
Furry Peace! - http://wwww.fur.com/peace/
More information about the freebsd-questions