Simplify some of the serial communication configuration instructions.
PR: 68038 Submitted by: Brad Davis <so14k@so14k.com> (original version)
This commit is contained in:
parent
2a3e610aec
commit
d5a68c825b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=23867
1 changed files with 17 additions and 16 deletions
|
@ -1934,40 +1934,41 @@ raisechar=^^</programlisting>
|
|||
<sect2 id="serialconsole-howto-fast">
|
||||
<title>Serial Console Configuration, Terse Version</title>
|
||||
|
||||
<para>This section assumes that you are using the default setup,
|
||||
know how to connect serial ports and just want a fast overview
|
||||
of a serial console. If you encounter difficulty with these
|
||||
steps, please see the more extensive explanation of all the
|
||||
options and advanced settings in
|
||||
<xref linkend="serialconsole-howto">.</para>
|
||||
<para>This section assumes that you are using the default setup
|
||||
and just want a fast overview of setting up the serial
|
||||
console.</para>
|
||||
|
||||
<procedure>
|
||||
|
||||
<step>
|
||||
<para>Connect the serial port. The serial console will be
|
||||
on <devicename>COM1</devicename>.</para>
|
||||
<para>Connect the serial cable to COM1 and the controlling
|
||||
terminal.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para><command>echo -h > /boot.config</command> to enable
|
||||
the serial console for the boot loader and kernel.</para>
|
||||
<para>To see all boot messages on the serial console, issue
|
||||
the following command: <command>echo "set console=comconsole" >
|
||||
/boot/loader.conf</command>. </para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Edit <filename>/etc/ttys</filename> and change
|
||||
<literal>off</literal> to <literal>on</literal> for the
|
||||
<literal>ttyd0</literal> entry. This enables a login
|
||||
prompt on the serial console, which mirrors how video
|
||||
consoles are typically setup.</para>
|
||||
<literal>off</literal> to <literal>on</literal> and
|
||||
<literal>dialup</literal> to <literal>vt100</literal> for the
|
||||
<literal>ttyd0</literal> entry. Otherwise a password will not be
|
||||
required to connect via the serial console, resulting in a
|
||||
potential security hole.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para><command>shutdown -r now</command> will reboot the
|
||||
system with the serial console.</para>
|
||||
<para><para>Reboot the system to see if the changes took effect.</para>
|
||||
</step>
|
||||
|
||||
</procedure>
|
||||
|
||||
<para>If a different configuration is required, a more in depth
|
||||
configuration explanation exists in
|
||||
<xref linkend="serialconsole-howto">.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="serialconsole-howto">
|
||||
|
|
Loading…
Reference in a new issue