old-www/HOWTO/Remote-Serial-Console-HOWTO/test-verify.html

298 lines
4.2 KiB
HTML

<HTML
><HEAD
><TITLE
>Verify console operation</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Remote Serial Console HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Reboot and test"
HREF="test.html"><LINK
REL="PREVIOUS"
TITLE="Reboot and test"
HREF="test.html"><LINK
REL="NEXT"
TITLE="Re-create saved console settings"
HREF="recreate-ioctl-save.html"></HEAD
><BODY
CLASS="SECTION"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Remote Serial Console HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="test.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 8. Reboot and test</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="recreate-ioctl-save.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECTION"
><H1
CLASS="SECTION"
><A
NAME="TEST-VERIFY"
></A
>8.1. Verify console operation</H1
><P
>If possible, plug an <SPAN
CLASS="ACRONYM"
>RS-232</SPAN
> breakout box
into the serial port. During reboot the Data Terminal Ready line
should become active and then the Transmit Data lights should flash
as console messages appear.</P
><P
>Attach a modem, or a null modem cable and a terminal.
Configure them to match the serial parameters used by the serial
console port. If using a modem, dial in to it from a terminal
emulator.</P
><DIV
CLASS="INFORMALFIGURE"
><A
NAME="TEST-VERIFY-OPERATION-CONNECT"
></A
><P
></P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><B
CLASS="COMMAND"
>+++</B
>
<B
CLASS="COMMAND"
>AT Z</B
>
<B
CLASS="COMMAND"
>AT DT 1234-5678</B
>
<TT
CLASS="COMPUTEROUTPUT"
>CONNECT 9600</TT
></PRE
></FONT
></TD
></TR
></TABLE
><P
></P
></DIV
><P
>Configure the terminal or terminal emulator to match the
serial parameters used by the serial console. If using a modern
Hayes <SPAN
CLASS="ACRONYM"
>AT</SPAN
>-style modem then the speed need not
match. If using a directly-attached terminal then the speed must
match.</P
><P
>Reboot the computer.</P
><DIV
CLASS="INFORMALFIGURE"
><A
NAME="AEN2041"
></A
><P
></P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>bash#</TT
> <B
CLASS="COMMAND"
>shutdown -r now</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
></P
></DIV
><P
>During reboot the terminal should see the usual boot loader
text, and then the default kernel booting, then the
<SPAN
CLASS="APPLICATION"
>init</SPAN
> output, and finally the contents of
<TT
CLASS="FILENAME"
>/etc/issue</TT
> and
<SPAN
CLASS="APPLICATION"
>getty</SPAN
> asking you to login.</P
><DIV
CLASS="INFORMALFIGURE"
><A
NAME="AEN2049"
></A
><P
></P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>LILO:
Linux version &#8230;
Kernel command line: auto BOOT_IMAGE=linux ro root=306 BOOT_FILE=/boot/vmlinuz-2.4.3-12 console=tty0 console=ttyS0,9600n8
&#8230;
INIT version &#8230;
&#8230;
/etc/issue says "All your base are belong to us".
remote.example.edu.au ttyS0 login:</PRE
></FONT
></TD
></TR
></TABLE
><P
></P
></DIV
><P
>If you do not see the <TT
CLASS="PROMPT"
>login:</TT
> message then
press <B
CLASS="KEYCAP"
>Return</B
> or <B
CLASS="KEYCAP"
>Enter</B
>.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="test.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="recreate-ioctl-save.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Reboot and test</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="test.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Re-create saved console settings</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>