Simplify some of the serial communication configuration instructions.

PR:		68038
Submitted by:	Brad Davis <so14k@so14k.com> (original version)
This commit is contained in:
Tom Rhodes 2005-02-23 21:52:17 +00:00
parent 2a3e610aec
commit d5a68c825b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=23867

View file

@ -1934,40 +1934,41 @@ raisechar=^^</programlisting>
<sect2 id="serialconsole-howto-fast"> <sect2 id="serialconsole-howto-fast">
<title>Serial Console Configuration, Terse Version</title> <title>Serial Console Configuration, Terse Version</title>
<para>This section assumes that you are using the default setup, <para>This section assumes that you are using the default setup
know how to connect serial ports and just want a fast overview and just want a fast overview of setting up the serial
of a serial console. If you encounter difficulty with these console.</para>
steps, please see the more extensive explanation of all the
options and advanced settings in
<xref linkend="serialconsole-howto">.</para>
<procedure> <procedure>
<step> <step>
<para>Connect the serial port. The serial console will be <para>Connect the serial cable to COM1 and the controlling
on <devicename>COM1</devicename>.</para> terminal.</para>
</step> </step>
<step> <step>
<para><command>echo -h &gt; /boot.config</command> to enable <para>To see all boot messages on the serial console, issue
the serial console for the boot loader and kernel.</para> the following command: <command>echo "set console=comconsole" &gt;
/boot/loader.conf</command>. </para>
</step> </step>
<step> <step>
<para>Edit <filename>/etc/ttys</filename> and change <para>Edit <filename>/etc/ttys</filename> and change
<literal>off</literal> to <literal>on</literal> for the <literal>off</literal> to <literal>on</literal> and
<literal>ttyd0</literal> entry. This enables a login <literal>dialup</literal> to <literal>vt100</literal> for the
prompt on the serial console, which mirrors how video <literal>ttyd0</literal> entry. Otherwise a password will not be
consoles are typically setup.</para> required to connect via the serial console, resulting in a
potential security hole.</para>
</step> </step>
<step> <step>
<para><command>shutdown -r now</command> will reboot the <para><para>Reboot the system to see if the changes took effect.</para>
system with the serial console.</para>
</step> </step>
</procedure> </procedure>
<para>If a different configuration is required, a more in depth
configuration explanation exists in
<xref linkend="serialconsole-howto">.</para>
</sect2> </sect2>
<sect2 id="serialconsole-howto"> <sect2 id="serialconsole-howto">