Various fixes in Parallel Line IP section:

- remove contractions
- punctuation fixes
- use of manual page entities and hostid tags
This commit is contained in:
Marc Fonvieille 2002-11-30 22:49:07 +00:00
parent 12c0be934c
commit e1ac948ad2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15101

View file

@ -6002,7 +6002,7 @@ server-program-arguments</programlisting>
</listitem>
<listitem>
<para>connecting two computers with PLIP.</para>
<para>Connecting two computers with PLIP.</para>
</listitem>
</itemizedlist>
@ -6010,8 +6010,8 @@ server-program-arguments</programlisting>
<title>Creating a Parallel Cable</title>
<para>You can purchase a parallel cable at most computer supply
stores. If you can't do that, or you just want to know how
it's done, here's how you make one out of a normal parallel
stores. If you cannot do that, or you just want to know how
it is done, the following table shows how to make one out of a normal parallel
printer cable.</para>
<table>
@ -6134,7 +6134,7 @@ BUSY</literallayout></entry>
<para>Get a laplink cable.</para>
<para>Confirm that both computers have a kernel with lpt driver
<para>Confirm that both computers have a kernel with &man.lpt.4; driver
support.</para>
<screen>&prompt.root; <userinput>dmesg | grep lp</userinput>
@ -6145,14 +6145,14 @@ lp0: TCP/IP capable interface</screen>
<para>Plug in the laplink cable into the parallel interface on
both computers.</para>
<para>Configure the network interface parameters for lp0 on both
<para>Configure the network interface parameters for <devicename>lp0</devicename> on both
sites as <username>root</username>. For example, if you want connect
the host host1 with host2</para>
the host <hostid>host1</hostid> with <hostid>host2</hostid>:</para>
<programlisting> host1 &lt;-----&gt; host2
IP Address 10.0.0.1 10.0.0.2</programlisting>
<para>Configure the interface on host1 by doing:</para>
<para>Configure the interface on <hostid>host1</hostid> by doing:</para>
<screen>&prompt.root; <userinput>ifconfig lp0 10.0.0.1 10.0.0.2</userinput></screen>
@ -6165,16 +6165,16 @@ IP Address 10.0.0.1 10.0.0.2</programlisting>
manual pages &man.lp.4; and &man.lpt.4; for more details.</para>
<para>You should also add both hosts to
<filename>/etc/hosts</filename>.</para>
<filename>/etc/hosts</filename>:</para>
<programlisting>127.0.0.1 localhost.my.domain localhost
10.0.0.1 host1.my.domain host1
10.0.0.2 host2.my.domain</programlisting>
<para>To confirm the connection works, go to each host and ping
the other. For example, on host1:</para>
the other. For example, on <hostid>host1</hostid>:</para>
<screen>&prompt.root; <userinput>ifconfig lp</userinput>0
<screen>&prompt.root; <userinput>ifconfig lp0</userinput>
lp0: flags=8851&lt;UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
inet 10.0.0.1 --&gt; 10.0.0.2 netmask 0xff000000
&prompt.root; <userinput>netstat -r</userinput>