From b4bb7ecfe29b118564ec6487a0120fc5d127318d Mon Sep 17 00:00:00 2001 From: Michael Lucas Date: Mon, 28 Jan 2002 12:02:37 +0000 Subject: [PATCH] Now that the Handbook has a PLIP chapter, gut two FAQs on PLIP and replace them with pointers to PLIP chapter. --- en_US.ISO8859-1/books/faq/book.sgml | 184 +--------------------------- 1 file 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 - Connect the two computers using a Laplink parallel cable - to use this feature: - - - Wiring a parallel cable for networking - - - - - A-name - - A-End - - B-End - - Descr. - - Post/Bit - - - - - - DATA0 --ERROR - - 2 -15 - - 15 -2 - - Data - - 0/0x01 -1/0x08 - - - - DATA1 -+SLCT - - 3 -13 - - 13 -3 - - Data - - 0/0x02 -1/0x10 - - - - DATA2 -+PE - - 4 -12 - - 12 -4 - - Data - - 0/0x04 -1/0x20 - - - - DATA3 --ACK - - 5 -10 - - 10 -5 - - Strobe - - 0/0x08 -1/0x40 - - - - DATA4 -BUSY - - 6 -11 - - 11 -6 - - Data - - 0/0x10 -1/0x80 - - - - GND - - 18-25 - - 18-25 - - GND - - - - - - -
+ Yes. Use a standard Laplink cable. If necessary, you + can check out the PLIP + section of the Handbook for details on parallel + port networking. If you are running FreeBSD 3.X or earlier, also look at the - Get a laplink cable. Make sure both computer have a kernel - with lpt driver support. - - &prompt.root; dmesg | grep lp -lpt0 at 0x378-0x37f irq 7 on isa -lpt0: Interrupt-driven -lp0: TCP/IP capable interface - - Plug in the laplink cable into the parallel interface. - - Configure the network interface parameters for lp0 on both - sites as root. For example, if you want connect the host max - with moritz - - max <-----> moritz -IP Address 10.0.0.1 10.0.0.2 - - on max start - - &prompt.root; ifconfig lp0 10.0.0.1 10.0.0.2 - - on moritz start - - &prompt.root; ifconfig lp0 10.0.0.2 10.0.0.1 - - - Thats all! Please read also the man pages - &man.lp.4; and &man.lpt.4; . - - You should also add the hosts to - /etc/hosts. - - 127.0.0.1 localhost.my.domain localhost -10.0.0.1 max.my.domain max -10.0.0.2 moritz.my.domain - - - To check if it works do: - - on max: - - - &prompt.root; ifconfig lp0 -lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500 - inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000 -&prompt.root; netstat -r -Routing tables - -Internet: -Destination Gateway Flags Refs Use Netif Expire -moritz max UH 4 127592 lp0 -&prompt.root; ping -c 4 moritz -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 - + Please see the PLIP + section of the Handbook.