From owner-svn-doc-head@FreeBSD.ORG Wed Jan 30 19:20:58 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6AFABCC7; Wed, 30 Jan 2013 19:20:58 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 436EAFA6; Wed, 30 Jan 2013 19:20:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0UJKwCd057855; Wed, 30 Jan 2013 19:20:58 GMT (envelope-from wblock@svn.freebsd.org) Received: (from wblock@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0UJKv7j057852; Wed, 30 Jan 2013 19:20:57 GMT (envelope-from wblock@svn.freebsd.org) Message-Id: <201301301920.r0UJKv7j057852@svn.freebsd.org> From: Warren Block Date: Wed, 30 Jan 2013 19:20:57 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40833 - in head/en_US.ISO8859-1/books/handbook: advanced-networking config kernelconfig X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 19:20:58 -0000 Author: wblock Date: Wed Jan 30 19:20:57 2013 New Revision: 40833 URL: http://svnweb.freebsd.org/changeset/doc/40833 Log: Remove mention of plip0, the parallel-port network device. As Diane Bruce succintly explains it: "PLIP is obsolescent, blah blah blah." Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml head/en_US.ISO8859-1/books/handbook/config/chapter.xml head/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Wed Jan 30 19:12:36 2013 (r40832) +++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Wed Jan 30 19:20:57 2013 (r40833) @@ -45,10 +45,6 @@ - How to connect two computers via PLIP. - - - How to set up IPv6 on a FreeBSD machine. @@ -5420,231 +5416,6 @@ redirect_port tcp 192.168.0.3:80 80 - - Parallel Line IP (PLIP) - - PLIP - - Parallel Line IP - PLIP - - - PLIP lets us run TCP/IP between parallel ports. It is - useful on machines without network cards, or to install on - laptops. In this section, we will discuss: - - - - Creating a parallel (laplink) cable. - - - - Connecting two computers with PLIP. - - - - - Creating a Parallel Cable - - You can purchase a parallel cable at most computer supply - 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. - - - 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 - - - - - -
-
- - - Setting Up PLIP - - First, you have to get a laplink cable. Then, confirm - that both computers have a kernel with &man.lpt.4; driver - support: - - &prompt.root; grep lp /var/run/dmesg.boot -lpt0: <Printer> on ppbus0 -lpt0: Interrupt-driven port - - The parallel port must be an interrupt driven port, you - should have lines similar to the following in your in the - /boot/device.hints file: - - hint.ppc.0.at="isa" -hint.ppc.0.irq="7" - - Then check if the kernel configuration file has a - device plip line or if the - plip.ko kernel module is loaded. In both - cases the parallel networking interface should appear when you - use the &man.ifconfig.8; command to display it: - - &prompt.root; ifconfig plip0 -plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 - - Plug the laplink cable into the parallel interface on - both computers. - - Configure the network interface parameters on both sites - as root. For example, if you want to - connect the host host1 with another machine - host2: - - host1 <-----> host2 -IP Address 10.0.0.1 10.0.0.2 - - Configure the interface on host1 by - doing: - - &prompt.root; ifconfig plip0 10.0.0.1 10.0.0.2 - - Configure the interface on host2 by - doing: - - &prompt.root; ifconfig plip0 10.0.0.2 10.0.0.1 - - You now should have a working connection. Please read the - manual pages &man.lp.4; and &man.lpt.4; for more - details. - - You should also add both hosts to - /etc/hosts: - - 127.0.0.1 localhost.my.domain localhost -10.0.0.1 host1.my.domain host1 -10.0.0.2 host2.my.domain host2 - - To confirm the connection works, go to each host and ping - the other. For example, on host1: - - &prompt.root; ifconfig plip0 -plip0: 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 -host2 host1 UH 0 0 plip0 -&prompt.root; ping -c 4 host2 -PING host2 (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 - ---- host2 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 - - -
- Modified: head/en_US.ISO8859-1/books/handbook/config/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/config/chapter.xml Wed Jan 30 19:12:36 2013 (r40832) +++ head/en_US.ISO8859-1/books/handbook/config/chapter.xml Wed Jan 30 19:20:57 2013 (r40833) @@ -1060,7 +1060,6 @@ dc1: flags=8802<UP,BROADCAST,RUNNING, inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 media: Ethernet 10baseT/UTP status: no carrier -plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3<RXCSUM,TXCSUM> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 @@ -1083,12 +1082,6 @@ lo0: flags=8049<UP,LOOPBACK,RUNNING,M - plip0: The parallel port - interface (if a parallel port is present on the - machine) - - - lo0: The loopback device Modified: head/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.xml Wed Jan 30 19:12:36 2013 (r40832) +++ head/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.xml Wed Jan 30 19:20:57 2013 (r40833) @@ -1164,11 +1164,6 @@ device ppc printer support. - device plip # TCP/IP over parallel - - This is the driver for the parallel network - interface. - device ppi # Parallel port interface device The general-purpose I/O (geek port) +