Source string Read only

(itstool) path: step/screen
73/730
Context English State
Using <application>zmodem</application> with <command>tip</command>?
To receive files, start the sending program on the remote end. Then, type <command>~C rz</command> to begin receiving them locally.
To send files, start the receiving program on the remote end. Then, type <command>~C sz <replaceable>files</replaceable></command> to send them to the remote system.
Setting Up the Serial Console
<personname> <firstname>Kazutaka</firstname> <surname>YOKOTA</surname> </personname> <contrib>Contributed by </contrib>
<personname> <firstname>Bill</firstname> <surname>Paul</surname> </personname> <contrib>Based on a document by </contrib>
<primary>serial console</primary>
FreeBSD has the ability to boot a system with a dumb terminal on a serial port as a console. This configuration is useful for system administrators who wish to install FreeBSD on machines that have no keyboard or monitor attached, and developers who want to debug the kernel or device drivers.
As described in <xref linkend="boot"/>, FreeBSD employs a three stage bootstrap. The first two stages are in the boot block code which is stored at the beginning of the FreeBSD slice on the boot disk. The boot block then loads and runs the boot loader as the third stage code.
In order to set up booting from a serial console, the boot block code, the boot loader code, and the kernel need to be configured.
Quick Serial Console Configuration
This section provides a fast overview of setting up the serial console. This procedure can be used when the dumb terminal is connected to <filename>COM1</filename>.
Configuring a Serial Console on <filename>COM1</filename>
Connect the serial cable to <filename>COM1</filename> and the controlling terminal.
To configure boot messages to display on the serial console, issue the following command as the superuser:
<prompt>#</prompt> echo 'console="comconsole"' &gt;&gt; /boot/loader.conf
Edit <filename>/etc/ttys</filename> and change <literal>off</literal> to <literal>on</literal> and <literal>dialup</literal> to <literal>vt100</literal> for the <filename>ttyu0</filename> entry. Otherwise, a password will not be required to connect via the serial console, resulting in a potential security hole.
Reboot the system to see if the changes took effect.
If a different configuration is required, see the next section for a more in-depth configuration explanation.
In-Depth Serial Console Configuration
This section provides a more detailed explanation of the steps needed to setup a serial console in FreeBSD.
Configuring a Serial Console
Prepare a serial cable.
Use either a null-modem cable or a standard serial cable and a null-modem adapter. See <xref linkend="term-cables-null"/> for a discussion on serial cables.
Unplug the keyboard.
Many systems probe for the keyboard during the Power-On Self-Test (<acronym>POST</acronym>) and will generate an error if the keyboard is not detected. Some machines will refuse to boot until the keyboard is plugged in.
If the computer complains about the error, but boots anyway, no further configuration is needed.
If the computer refuses to boot without a keyboard attached, configure the <acronym>BIOS</acronym> so that it ignores this error. Consult the motherboard's manual for details on how to do this.
Try setting the keyboard to <quote>Not installed</quote> in the <acronym>BIOS</acronym>. This setting tells the <acronym>BIOS</acronym> not to probe for a keyboard at power-on so it should not complain if the keyboard is absent. If that option is not present in the <acronym>BIOS</acronym>, look for an <quote>Halt on Error</quote> option instead. Setting this to <quote>All but Keyboard</quote> or to <quote>No Errors</quote> will have the same effect.
If the system has a <trademark class="registered">PS/2</trademark> mouse, unplug it as well. <trademark class="registered">PS/2</trademark> mice share some hardware with the keyboard and leaving the mouse plugged in can fool the keyboard probe into thinking the keyboard is still there.
While most systems will boot without a keyboard, quite a few will not boot without a graphics adapter. Some systems can be configured to boot with no graphics adapter by changing the <quote>graphics adapter</quote> setting in the <acronym>BIOS</acronym> configuration to <quote>Not installed</quote>. Other systems do not support this option and will refuse to boot if there is no display hardware in the system. With these machines, leave some kind of graphics card plugged in, even if it is just a junky mono board. A monitor does not need to be attached.

Loading…

User avatar None

New source string

FreeBSD Doc / books_handbookEnglish

New source string 4 months ago
Browse all component changes

Things to check

Multiple failing checks

The translations in several languages have failing checks

Reset

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: step/screen
Flags
no-wrap, read-only
Source string location
book.translate.xml:49061
String age
4 months ago
Source string age
4 months ago
Translation file
books/handbook.pot, string 8005