28 Jun 2012 02:35
USB ethernet device stops working...
Michael Robinson <plug_1 <at> robinson-west.com>
2012-06-28 00:35:51 GMT
2012-06-28 00:35:51 GMT
eth2 Link encap:Ethernet HWaddr 00:E0:4C:53:44:59
inet addr:192.168.4.2 Bcast:192.168.4.15 Mask:255.255.255.240
inet6 addr: fe80::2e0:4cff:fe53:4459/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:807400 errors:215794 dropped:1116 overruns:236
frame:3625
TX packets:859301 errors:3432 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:155489213 (148.2 MiB) TX bytes:155534045 (148.3 MiB)
Note that there are errors and a lot of them. This is a USB dm9601
variety ethernet device. One curiosity of mine is why the txqueuelen is
set to 1000 when this is only a fast ethernet device? Restarting the
device makes it work for a while, but that is not a solution to whatever
the problem is. I have three of these USB ethernet cards where only one
is doing this. I'm baffled by this. Failures happen consistently, I
bet the card only works for a half an hour or so. Well, it is 5:30 and
I got the device working again by restarting the network. Question is,
what is the underlying problem and why does a restart fix it?
[admin <at> goose64 ~]$ ip route list|sort
10.0.0.0/24 via 192.168.5.6 dev eth0
127.0.0.0/8 dev lo scope link
192.168.0.0/24 via 192.168.5.6 dev eth0
192.168.3.0/27 via 192.168.5.1 dev eth0
192.168.3.0/27 via 192.168.5.4 dev eth0
192.168.4.0/28 dev eth2 proto kernel scope link src 192.168.4.2
192.168.4.16/28 dev eth3 proto kernel scope link src 192.168.4.18
192.168.4.32/28 via 192.168.4.17 dev eth3
192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.3
207.55.87.32/28 dev eth1 proto kernel scope link src 207.55.87.35
default via 207.55.87.33 dev eth1
[admin <at> goose64 ~]$
Hmm, I just changed the routing table so that the route to
192.168.3.0/27 is via 192.168.5.6 instead of offering two
hosts for the same network with no metric specified. Hopefully,
that will help.
What follows is a snippet from lsusb showing the USB ethernet cards.
Bus 001 Device 022: ID 0fe6:9700 Kontron (Industrial Computer Source /
ICS Advent) DM9601 Fast Ethernet Adapter
Bus 001 Device 071: ID 0fe6:9700 Kontron (Industrial Computer Source /
ICS Advent) DM9601 Fast Ethernet Adapter
Bus 001 Device 024: ID 0fe6:9700 Kontron (Industrial Computer Source /
ICS Advent) DM9601 Fast Ethernet Adapter
--
--
--
GSLUG-general mailing list
http://www.gslug.org/wiki/index.php/Mailing_Lists
RSS Feed