The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

Поиск:  Каталог документации

Next Previous Contents

1. PLIP for the impatient

This section is used to avoid reading the document when you need to install a plip connection in one minute. Skip it.

1.1 Source side

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

1.2 Target side

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

1.3 Final tests

ping 192.168.0.1 # from 192.168.0.2
ping 192.168.0.2 # from 192.168.0.1

Now all TCP/IP is available between the two computer via the parallel port. Have a nice trip !


Next Previous Contents


Спонсоры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2022 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру