|
|
Parent Directory
| Serial Console - FreeBSD
Brett Lee
================================
A must have, so how do we do it?
1. Assuming x86/x64, you may need to enable it in the BIOS
If you do, you should ensure that the speed you set matches the
desired TTY speed.
2. Enable the console TTY and set the speed.
Modify the file /etc/ttys for the correct port. The TTY speed
should match the BIOS speed (if appropriate). Here's an example:
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0 "/usr/libexec/getty std.115200" vt100 on secure
ttyu1 "/usr/libexec/getty std.115200" vt100 on secure
ttyu2 "/usr/libexec/getty std.9600" dialup off secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
3. Run `init q` to enable the config / restart the gettys.
4. add the following to /boot/loader.conf
comconsole_speed="115200"
console="comconsole,vidconsole"
5. Connect with a NULL modem serial connection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In an effort to provide a service of value to the open source community, I've put together this website that containing many of my notes and references.
This website is not authoritative and it is certainly not without errors; it is a work in progress.
In addition to my contributions you will also find the work of others. Where the work is not mine, I have tried to indicate that, and to reference the source of the work: by citing the original author, retaining the authors' name and license wherever present, or by placing the work in a suitably named URL containg /external/ in the path. If you find any work here that should not be publically available, please send me a note and it will be removed.
As for my contributions, you are free to use any of *MY* notes or code from this website unless specifically instructed otherwise.
Brett Lee, Ph.D., President & CEO
Everything Penguin, Inc.
|
|
|