67 lines
1.5 KiB
HTML
67 lines
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE> PLIP Install HOWTO: PLIP for the impatient </TITLE>
|
|
<LINK HREF="PLIP-Install-HOWTO-2.html" REL=next>
|
|
|
|
<LINK HREF="PLIP-Install-HOWTO.html#toc1" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="PLIP-Install-HOWTO-2.html">Next</A>
|
|
Previous
|
|
<A HREF="PLIP-Install-HOWTO.html#toc1">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="PLIP_IMPATIENT"></A> <A NAME="s1">1. PLIP for the impatient </A></H2>
|
|
|
|
<P>
|
|
<P>This section is used to avoid reading the document when you need to
|
|
install a plip connection in one minute. Skip it.
|
|
<P>
|
|
<H2><A NAME="ss1.1">1.1 Source side</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<P>
|
|
<PRE>
|
|
cat /proc/parport/0/hardware
|
|
insmod parport
|
|
insmod parport_pc io=0x378 irq=7 # Got those values in BIOS setup.
|
|
insmod plip
|
|
tail /var/log/messages
|
|
ifconfig plip0 192.168.0.2 pointopoint 192.168.0.1 \
|
|
netmask 255.255.255.255 up
|
|
ifconfig plip0
|
|
ping -c1 192.168.0.2
|
|
route -n
|
|
</PRE>
|
|
<P>
|
|
<H2><A NAME="ss1.2">1.2 Target side</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<PRE>
|
|
ifconfig plip1 192.168.0.1 pointopoint 192.168.0.2 \
|
|
netmask 255.255.255.255 up
|
|
route add -host 192.168.0.2 dev plip1 # if the route is not present
|
|
</PRE>
|
|
<P>
|
|
<H2><A NAME="ss1.3">1.3 Final tests</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<P>
|
|
<PRE>
|
|
ping 192.168.0.1 # from 192.168.0.2
|
|
ping 192.168.0.2 # from 192.168.0.1
|
|
</PRE>
|
|
<P>Now all TCP/IP is available between the two computer via the parallel
|
|
port. Have a nice trip !
|
|
<P>
|
|
<HR>
|
|
<A HREF="PLIP-Install-HOWTO-2.html">Next</A>
|
|
Previous
|
|
<A HREF="PLIP-Install-HOWTO.html#toc1">Contents</A>
|
|
</BODY>
|
|
</HTML>
|