[Prev][Next][Index][Thread]
PLIP problems
Hi, everyone.
I'm trying to set up PLIP between two Linux computers, and I've ran into
a few problems.
I activate the interface with ifconfig. I create a route from each
computer to the other (using fabricated IPs corresponding to the
ones used with ifconfig, of course). Everything looks fine, except
that when trying to access the other computer, no connection is made.
This isn't a cable problem since it works fine in DOS's Laplink.
/proc/net/dev:
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
lo: 12 0 0 0 0 12 0 0 0 0 0
plip1: 0 0 0 0 0 0 0 0 0 0 0
plip2: 0 0 0 0 0 20 0 0 0 0 0
(plip1 doesn't have anything to do with it. plip2 is my parallel cable)
/sbin/ifconfig:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0
TX packets:12 errors:0 dropped:0 overruns:0
plip2 Link encap:10Mbps Ethernet HWaddr FC:FC:C0:72:DD:02
inet addr:192.114.221.2 P-t-P:192.114.221.1 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:20 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x278
/sbin/route:
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
192.114.221.1 * 255.255.255.255 UH 1500 0 2 plip2
loopback * 255.0.0.0 U 3584 0 1 lo
And last but not least, /proc/net/arp after trying to communicate:
IP address HW type Flags HW address Mask
Device
192.114.221.1 0x1 0x0 00:00:00:00:00:00 *
plip2
I'm not sure whether PLIP uses arp at all, but the interesting thing
is that there IS an entry, with the HW address 0 (not the real one,
of course).
Thanks for any tips,
Shay
--
Shay Rojansky, roji@cs.huji.ac.il Finger for PGP public key