如果你只需要一分钟内安装好 plip 连接,可以阅读本节来避免阅读完整文档。跳过它吧。
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
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
ping 192.168.0.1 # from 192.168.0.2 ping 192.168.0.2 # from 192.168.0.1
现在两台计算机之间可以通过并行端口使用所有 TCP/IP 功能了。祝您使用愉快!