drivers/net/usb/asix - Re: WS-UL220G USB 2.0 Gigabit Ethernet Adapter in Dell Inspiron 700m laptop

Zenaan Harkness zen at freedbms.net
Fri Jul 10 18:01:23 UTC 2009


I have a number of WS-UL220G USB 2.0 Ethernet adapters, new. I have
tested with two of them, see below.

Testing in Dell Inspiron 700m laptop, a few years old, with two USB 2.0
ports - tested in both ports.

Kernel module is "asix" it appears.

I'm running Ubuntu 8.04. I've tested (tonight) this device on the
following kernels:
   vmlinuz-2.6.24-19-generic
   vmlinuz-2.6.24-23-generic
   vmlinuz-2.6.24-24-generic

The manufacturer advertises Linux support.

Related URLS, chipset/ controller device manufacturer page:
http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=84;71;100&PLine=71

I thought I made one of these devices work about a month or two ago,
when they first arrived, with simple/ standard config/ setup, as with
any other network device. Now I have failed to make either the original
device I tested with, or another one fresh out of its packet, to work.


Here's my session, after a fresh reboot:

# connect cat5 to internal device:

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eth2 inet static
   address 172.22.22.62
   netmask 255.255.255.0
   metric 29

iface eth0 inet static
   address 172.22.22.61
   netmask 255.255.255.0
   gateway 172.22.22.2
   metric 0

$ ifconfig
lo  Link encap:Local Loopback  
    inet addr:127.0.0.1  Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING  MTU:16436  Metric:1
    RX packets:1498 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1498 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0 
    RX bytes:77578 (75.7 KB)  TX bytes:77578 (75.7 KB)

$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

# modprobe asix

# lsmod|grep asix
asix                   18304  0
usbnet                 20232  1 asix
mii                     6400  3 asix,usbnet,b44
usbcore               146412  7
asix,usbnet,hsfusbcd2,hsfosspec,ehci_hcd,uhci_hcd

# ifup eth0

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0f:1f:b2:c3:44  
          inet addr:172.22.22.61  Bcast:172.22.22.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:1fff:feb2:c344/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:252 (252.0 B)  TX bytes:2631 (2.5 KB)
          Interrupt:10 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1473 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1473 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:73688 (71.9 KB)  TX bytes:73688 (71.9 KB)

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.22.22.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         172.22.22.2     0.0.0.0         UG    0      0        0 eth0


# syslog entries for above activities:
Jul 11 03:04:18 ip61zen kernel: [  342.207112] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jul 11 03:04:18 ip61zen avahi-daemon[5068]: Joining mDNS multicast group on interface eth0.IPv4 with address 172.22.22.61.
Jul 11 03:04:18 ip61zen avahi-daemon[5068]: New relevant interface eth0.IPv4 for mDNS.
Jul 11 03:04:18 ip61zen avahi-daemon[5068]: Registering new address record for 172.22.22.61 on eth0.IPv4.
Jul 11 03:04:18 ip61zen avahi-daemon[5068]: Withdrawing address record for 172.22.22.61 on eth0.
Jul 11 03:04:18 ip61zen avahi-daemon[5068]: Leaving mDNS multicast group on interface eth0.IPv4 with address 172.22.22.61.
Jul 11 03:04:18 ip61zen avahi-daemon[5068]: Interface eth0.IPv4 no longer relevant for mDNS.
Jul 11 03:04:18 ip61zen avahi-daemon[5068]: Joining mDNS multicast group on interface eth0.IPv4 with address 172.22.22.61.
Jul 11 03:04:18 ip61zen avahi-daemon[5068]: New relevant interface eth0.IPv4 for mDNS.
Jul 11 03:04:18 ip61zen avahi-daemon[5068]: Registering new address record for 172.22.22.61 on eth0.IPv4.
Jul 11 03:04:18 ip61zen postfix/master[5826]: reload configuration /etc/postfix
Jul 11 03:04:22 ip61zen kernel: [  343.368131] b44: eth0: Link is up at 10 Mbps, half duplex.
Jul 11 03:04:22 ip61zen kernel: [  343.368142] b44: eth0: Flow control is off for TX and off for RX.
Jul 11 03:04:22 ip61zen kernel: [  343.373190] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jul 11 03:04:24 ip61zen avahi-daemon[5068]: Registering new address record for fe80::20f:1fff:feb2:c344 on eth0.*.
Jul 11 03:04:28 ip61zen ntpdate[8520]: no server suitable for synchronization found
Jul 11 03:04:33 ip61zen kernel: [  344.815162] eth0: no IPv6 routers present


# ping 172.22.22.2
PING 172.22.22.2 (172.22.22.2) 56(84) bytes of data.
64 bytes from 172.22.22.2: icmp_seq=1 ttl=64 time=0.480 ms
64 bytes from 172.22.22.2: icmp_seq=2 ttl=64 time=0.460 ms
64 bytes from 172.22.22.2: icmp_seq=3 ttl=64 time=0.454 ms

--- 172.22.22.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.454/0.464/0.480/0.027 ms


All is clearly well with internal eth device. Now for external "asix" device:

# ifdown eth0

# syslog:
Jul 11 03:08:38 ip61zen postfix/master[5826]: reload configuration /etc/postfix
Jul 11 03:08:38 ip61zen avahi-daemon[5068]: Interface eth0.IPv4 no longer relevant for mDNS.
Jul 11 03:08:38 ip61zen avahi-daemon[5068]: Leaving mDNS multicast group on interface eth0.IPv4 with address 172.22.22.61.
Jul 11 03:08:38 ip61zen avahi-daemon[5068]: Withdrawing address record for fe80::20f:1fff:feb2:c344 on eth0.
Jul 11 03:08:38 ip61zen avahi-daemon[5068]: Withdrawing address record for 172.22.22.61 on eth0.

# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1473 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1473 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:73688 (71.9 KB)  TX bytes:73688 (71.9 KB)

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

# disconnect cat5 from internal dev

# connect asix/ usb 2 gige dev:

# ifconfig
eth2      Link encap:Ethernet  HWaddr 00:0e:c6:87:9b:3c  
          UP BROADCAST 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:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1473 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1473 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:73688 (71.9 KB)  TX bytes:73688 (71.9 KB)

# syslog:
Jul 11 03:10:35 ip61zen kernel: [  395.460971] usb 4-1: new high speed USB device using ehci_hcd and address 2
Jul 11 03:10:35 ip61zen kernel: [  395.606195] usb 4-1: configuration #1 chosen from 1 choice
Jul 11 03:10:35 ip61zen NetworkManager: <debug> [1247245835.564443] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_b95_1780_009988').
Jul 11 03:10:35 ip61zen NetworkManager: <debug> [1247245835.692066] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_b95_1780_009988_if0').
Jul 11 03:10:36 ip61zen kernel: [  396.732266] eth2: register 'asix' at usb-0000:00:1d.7-1, ASIX AX88178 USB 2.0 Ethernet, 00:0e:c6:87:9b:3c
Jul 11 03:10:36 ip61zen NetworkManager: <debug> [1247245836.389099] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_0e_c6_87_9b_3c').
Jul 11 03:10:36 ip61zen kernel: [  148.796558] eth2: link down
Jul 11 03:10:36 ip61zen kernel: [  148.801263] ADDRCONF(NETDEV_UP): eth2: link is not ready


# ifup eth2

# ifconfig
eth2      Link encap:Ethernet  HWaddr 00:0e:c6:87:9b:3c  
          inet addr:172.22.22.62  Bcast:172.22.22.255  Mask:255.255.255.0
          UP BROADCAST 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:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1475 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1475 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:73864 (72.1 KB)  TX bytes:73864 (72.1 KB)

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.22.22.0     0.0.0.0         255.255.255.0   U     29     0        0 eth2
169.254.0.0     0.0.0.0         255.255.0.0     U     29     0        0 eth2

# syslog:
Jul 11 03:11:44 ip61zen avahi-daemon[5068]: Joining mDNS multicast group on interface eth2.IPv4 with address 172.22.22.62.
Jul 11 03:11:44 ip61zen avahi-daemon[5068]: New relevant interface eth2.IPv4 for mDNS.
Jul 11 03:11:44 ip61zen avahi-daemon[5068]: Registering new address record for 172.22.22.62 on eth2.IPv4.
Jul 11 03:11:44 ip61zen avahi-daemon[5068]: Withdrawing address record for 172.22.22.62 on eth2.
Jul 11 03:11:44 ip61zen avahi-daemon[5068]: Leaving mDNS multicast group on interface eth2.IPv4 with address 172.22.22.62.
Jul 11 03:11:44 ip61zen avahi-daemon[5068]: Interface eth2.IPv4 no longer relevant for mDNS.
Jul 11 03:11:44 ip61zen avahi-daemon[5068]: Joining mDNS multicast group on interface eth2.IPv4 with address 172.22.22.62.
Jul 11 03:11:44 ip61zen avahi-daemon[5068]: New relevant interface eth2.IPv4 for mDNS.
Jul 11 03:11:44 ip61zen avahi-daemon[5068]: Registering new address record for 172.22.22.62 on eth2.IPv4.
Jul 11 03:11:44 ip61zen postfix/master[5826]: reload configuration /etc/postfix
Jul 11 03:12:04 ip61zen ntpdate[9283]: can't find host ntp.ubuntu.com
Jul 11 03:12:04 ip61zen ntpdate[9283]: no servers can be used, exiting


# connect cat5 to asix device:

# syslog:
Jul 11 03:13:10 ip61zen kernel: [  562.760197] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
Jul 11 03:13:10 ip61zen kernel: [  562.763641] eth2: link up, 10Mbps, half-duplex, lpa 0x0021
Jul 11 03:13:12 ip61zen avahi-daemon[5068]: Registering new address record for fe80::20e:c6ff:fe87:9b3c on eth2.*.
Jul 11 03:13:21 ip61zen kernel: [  574.288501] eth2: no IPv6 routers present

# ping 172.22.22.2
PING 172.22.22.2 (172.22.22.2) 56(84) bytes of data.
 From 172.22.22.62 icmp_seq=2 Destination Host Unreachable
 From 172.22.22.62 icmp_seq=3 Destination Host Unreachable
 From 172.22.22.62 icmp_seq=4 Destination Host Unreachable

--- 172.22.22.2 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3

# route add default gw 172.22.22.2

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.22.22.0     0.0.0.0         255.255.255.0   U     29     0        0 eth2
169.254.0.0     0.0.0.0         255.255.0.0     U     29     0        0 eth2
0.0.0.0         172.22.22.2     0.0.0.0         UG    0      0        0 eth2

# ping 172.22.22.2
PING 172.22.22.2 (172.22.22.2) 56(84) bytes of data.
 From 172.22.22.62 icmp_seq=1 Destination Host Unreachable
 From 172.22.22.62 icmp_seq=2 Destination Host Unreachable
 From 172.22.22.62 icmp_seq=3 Destination Host Unreachable

--- 172.22.22.2 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3004ms
, pipe 4


BTW, the cat5 cable is connected in all cases to a hub (10MBit 4/5 port
DLink), it is a straight-through, not a cross-over cable. I've tried two
different cat5 patch leads with the above procedure. I've tried also the
hubs "uplink" (crossover) port.

I've tried two brand new asix devices:
   USB2.0 GIGABIT LAN DELPHI G
   Gigabit USB 2.0 Ethernet Adapter
   WS-UL220G

Any testing avenues appreciated.

TIA
Zenaan

-- 
Homepage: www.SoulSound.net -- Free Australia: www.UPMART.org
Please respect the confidentiality of this email as sensibly warranted.




More information about the ubuntu-users mailing list