diff options
author | Michael Lucas <mwlucas@FreeBSD.org> | 2002-01-28 12:02:37 +0000 |
---|---|---|
committer | Michael Lucas <mwlucas@FreeBSD.org> | 2002-01-28 12:02:37 +0000 |
commit | b4bb7ecfe29b118564ec6487a0120fc5d127318d (patch) | |
tree | 86f8065b09c6ab445b94e9c6d2053e741ba2c68b /en_US.ISO8859-1/books/faq | |
parent | dbe4533ce3afa4e5e13113bdb02d5ce23ef7bbf4 (diff) | |
download | doc-b4bb7ecfe29b118564ec6487a0120fc5d127318d.tar.gz doc-b4bb7ecfe29b118564ec6487a0120fc5d127318d.zip |
Now that the Handbook has a PLIP chapter, gut two FAQs on PLIP and
replace them with pointers to PLIP chapter.
Notes
Notes:
svn path=/head/; revision=11929
Diffstat (limited to 'en_US.ISO8859-1/books/faq')
-rw-r--r-- | en_US.ISO8859-1/books/faq/book.sgml | 184 |
1 files changed, 6 insertions, 178 deletions
diff --git a/en_US.ISO8859-1/books/faq/book.sgml b/en_US.ISO8859-1/books/faq/book.sgml index 023229a2f2..a863e95b8c 100644 --- a/en_US.ISO8859-1/books/faq/book.sgml +++ b/en_US.ISO8859-1/books/faq/book.sgml @@ -1650,122 +1650,10 @@ sectors/track: 63</screen> </question> <answer> - <para>Connect the two computers using a Laplink parallel cable - to use this feature:</para> - - <table> - <title>Wiring a parallel cable for networking</title> - - <tgroup cols="5"> - <thead> - <row> - <entry>A-name</entry> - - <entry>A-End</entry> - - <entry>B-End</entry> - - <entry>Descr.</entry> - - <entry>Post/Bit</entry> - </row> - </thead> - - <tbody> - <row> - <entry><literallayout>DATA0 --ERROR</literallayout></entry> - - <entry><literallayout>2 -15</literallayout></entry> - - <entry><literallayout>15 -2</literallayout></entry> - - <entry>Data</entry> - - <entry><literallayout>0/0x01 -1/0x08</literallayout></entry> - </row> - - <row> - <entry><literallayout>DATA1 -+SLCT</literallayout></entry> - - <entry><literallayout>3 -13</literallayout></entry> - - <entry><literallayout>13 -3</literallayout></entry> - - <entry>Data</entry> - - <entry><literallayout>0/0x02 -1/0x10</literallayout></entry> - </row> - - <row> - <entry><literallayout>DATA2 -+PE</literallayout></entry> - - <entry><literallayout>4 -12</literallayout></entry> - - <entry><literallayout>12 -4</literallayout></entry> - - <entry>Data</entry> - - <entry><literallayout>0/0x04 -1/0x20</literallayout></entry> - </row> - - <row> - <entry><literallayout>DATA3 --ACK</literallayout></entry> - - <entry><literallayout>5 -10</literallayout></entry> - - <entry><literallayout>10 -5</literallayout></entry> - - <entry>Strobe</entry> - - <entry><literallayout>0/0x08 -1/0x40</literallayout></entry> - </row> - - <row> - <entry><literallayout>DATA4 -BUSY</literallayout></entry> - - <entry><literallayout>6 -11</literallayout></entry> - - <entry><literallayout>11 -6</literallayout></entry> - - <entry>Data</entry> - - <entry><literallayout>0/0x10 -1/0x80</literallayout></entry> - </row> - - <row> - <entry>GND</entry> - - <entry>18-25</entry> - - <entry>18-25</entry> - - <entry>GND</entry> - - <entry>-</entry> - </row> - </tbody> - </tgroup> - </table> + <para>Yes. Use a standard Laplink cable. If necessary, you + can check out the <ulink url="../handbook/plip.html">PLIP + section of the Handbook</ulink> for details on parallel + port networking.</para> <para>If you are running FreeBSD 3.X or earlier, also look at the <ulink @@ -8628,68 +8516,8 @@ Key F15 A A Menu Workplace Nop</programlisting> </question> <answer> - <para>Get a laplink cable. Make sure both computer have a kernel - with lpt driver support.</para> - - <screen>&prompt.root; <userinput>dmesg | grep lp</userinput> -lpt0 at 0x378-0x37f irq 7 on isa -lpt0: Interrupt-driven -lp0: TCP/IP capable interface</screen> - - <para>Plug in the laplink cable into the parallel interface.</para> - - <para>Configure the network interface parameters for lp0 on both - sites as root. For example, if you want connect the host max - with moritz</para> - - <programlisting> max <-----> moritz -IP Address 10.0.0.1 10.0.0.2</programlisting> - - <para>on max start</para> - - <screen>&prompt.root; <userinput>ifconfig lp0 10.0.0.1 10.0.0.2</userinput></screen> - - <para>on moritz start</para> - - <screen>&prompt.root; <userinput>ifconfig lp0 10.0.0.2 10.0.0.1</userinput></screen> - - - <para>Thats all! Please read also the man pages - &man.lp.4; and &man.lpt.4; .</para> - - <para>You should also add the hosts to - <filename>/etc/hosts</filename>.</para> - - <programlisting>127.0.0.1 localhost.my.domain localhost -10.0.0.1 max.my.domain max -10.0.0.2 moritz.my.domain</programlisting> - - - <para>To check if it works do:</para> - - <para>on max:</para> - - - <screen>&prompt.root; <userinput>ifconfig lp</userinput>0 -lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500 - inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000 -&prompt.root; <userinput>netstat -r</userinput> -Routing tables - -Internet: -Destination Gateway Flags Refs Use Netif Expire -moritz max UH 4 127592 lp0 -&prompt.root; <userinput>ping -c 4 moritz</userinput> -PING moritz (10.0.0.2): 56 data bytes -64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.774 ms -64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=2.530 ms -64 bytes from 10.0.0.2: icmp_seq=2 ttl=255 time=2.556 ms -64 bytes from 10.0.0.2: icmp_seq=3 ttl=255 time=2.714 ms - ---- moritz ping statistics --- -4 packets transmitted, 4 packets received, 0% packet loss -round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</screen> - + <para>Please see the <ulink url="../handbook/plip.html">PLIP + section</ulink> of the Handbook.</para> </answer> </qandaentry> |