Need more help, please, folks.
I bought another USB network cable, this time one from Maplins, which says "USB NetLink" on the box, and appears to have a Genesys chip-set. With this one, and with help from http://www.linux-usb.org/usbnet/, the link is now up, at least as far as the Linux box (10.0.1.1) on one end is concerned. I've also, with help from http://www.linux.org/docs/ldp/howto/Net-HOWTO/index.html, got the USB cable to be the default route from 10.0.1.1 to 10.0.1.2, which is the Windows 2000 machine on the other end. Now I'd like to be able to do something with the link. However,
10.0.1.2 thinks the link is down ("network cable unplugged," in Windows parlance,) and
trying to ping either machine, from the other, results in 100% packet loss.
If I reboot 10.0.1.1 into Windows 98, 10.0.1.2 sees the link go up, and I'm able to manipulate files across it happily, using SMB. I reckon this indicates that the hardware is working correctly.
How do I get to do networky things across this link, with Linux at the 10.0.1.1 end, please?
Technical details:
output of ifconfig on 10.0.1.1 is
ppp0 Link encap:Point-to-Point Protocol inet addr:213.122.68.17 P-t-P:213.120.208.144 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:697 errors:15 dropped:0 overruns:0 frame:0 TX packets:809 errors:0 dropped:57 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:531067 (518.6 KiB) TX bytes:113456 (110.7 KiB)
usb0 Link encap:Ethernet HWaddr B6:A8:47:26:3B:A3 inet addr:10.0.1.1 Bcast:10.0.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Output of route on 10.0.1.1 is
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.1.2 * 255.255.255.255 UH 0 0 0 usb0 213.120.208.144 * 255.255.255.255 UH 0 0 0 ppp0 10.0.1.0 * 255.255.255.0 U 0 0 0 usb0 default 213.120.208.144 0.0.0.0 UG 0 0 0 ppp0
The TCP/IP properties for this link, on 10.0.1.2, are
IP address: 10.0.1.2 Subnet mask: 255.255.255.0 Default gateway: 10.0.1.1 Preferred DNS server: 194.73.73.94 Alternate DNS server: 194.73.73.95
On Thu, 17 Jul 2003, Dan Hatton wrote:
Therefore, I tried
ifconfig usb0 192.168.0.1 pointopoint 192.168.0.2
which resulted in the error message
SIOCSIFFLAGS: Broken pipe
This appears to be a known issue. Someone anonymous says "I think the root cause of the problem is flakey hardware from Prolific." http://www.geocrawler.com/mail/msg.php3?msg_id=8713512&list=4563, and the general opinion in the linux-usb-users list seems to be that the best solution is to get a different cable. Anyone have other ideas?