aboutsummaryrefslogtreecommitdiff
path: root/FAQ
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1998-10-30 23:15:03 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1998-10-30 23:15:03 +0000
commitf48722c8d0b5eb8f0e867f39fd7bc33ec0260195 (patch)
treeb37fb3309c2ad6df396df665182f3974496cf445 /FAQ
parent7f2861bbd51a564371eeb58fa51de88f410aa9a6 (diff)
downloaddoc-f48722c8d0b5eb8f0e867f39fd7bc33ec0260195.tar.gz
doc-f48722c8d0b5eb8f0e867f39fd7bc33ec0260195.zip
Added a section how to connect 2 FreeBSD boxes over a parallel line (PLIP)
Notes
Notes: svn path=/head/; revision=3706
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ/install.sgml81
1 files changed, 80 insertions, 1 deletions
diff --git a/FAQ/install.sgml b/FAQ/install.sgml
index efa62ec1d7..0c3e043c0f 100644
--- a/FAQ/install.sgml
+++ b/FAQ/install.sgml
@@ -1,4 +1,4 @@
-<!-- $Id: install.sgml,v 1.11 1998-09-08 09:47:20 wosch Exp $ -->
+<!-- $Id: install.sgml,v 1.12 1998-10-30 23:15:03 wosch Exp $ -->
<!-- The FreeBSD Documentation Project -->
<sect>
@@ -222,6 +222,85 @@
too big.
<sect1>
+ <heading>Connect 2 FreeBSD boxes over a parallel line (PLIP)
+ </heading>
+
+ <p>Get a laplink cable. Make sure both computer have a kernel
+ with lpt driver support.
+
+ <verb>
+ $ dmesg | grep lp
+ lpt0 at 0x378-0x37f irq 7 on isa
+ lpt0: Interrupt-driven port
+ lp0: TCP/IP capable interface
+ </verb>
+
+ <p>Plug in the laplink cable into the parallel interface.
+
+ <p>Configure the network interface parameters for lp0 on both
+ sites as root. For example, if you want connect the host max
+ with moritz
+
+ <verb>
+ max <-----> moritz
+IP Address 10.0.0.1 10.0.0.2
+ </verb>
+
+ on max start
+ <verb>
+ # ifconfig lp0 10.0.0.1 10.0.0.2
+ </verb>
+
+on moritz start
+
+ <verb>
+ # ifconfig lp0 10.0.0.2 10.0.0.1
+ </verb>
+
+ <P>Thats all! Please read also the manpages lp(4) and
+ lpt(4).
+
+ <P>You should also add the hosts to /etc/hosts
+
+ <verb>
+ 127.0.0.1 localhost.my.domain localhost
+ 10.0.0.1 max.my.domain max
+ 10.0.0.2 moritz.my.domain moritz
+ </verb>
+
+ <P>To check if it works do:
+
+ on max:
+
+<verb>
+$ ifconfig lp0
+lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
+ inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000
+</verb>
+
+<verb>
+$ netstat -r
+Routing tables
+
+Internet:
+Destination Gateway Flags Refs Use Netif Expire
+moritz max UH 4 127592 lp0
+</verb>
+
+<verb>
+$ 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
+</verb>
+
+ <sect1>
<heading>
Can I install on my laptop over PLIP (Parallel Line IP)?
</heading>