JP Vossen on 13 Aug 2013 14:53:05 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Wheezy USB 2 Ethernet?


Thanks for the replies... Plugable Technologies USB2-E1000 (http://www.amazon.com/Plugable-Gigabit-Ethernet-Chromebook-Specific/dp/B003VSTDFG) Just Worked on Debian 7, though I had to edit '/etc/udev/rules.d/70-persistent-net.rules' to swap eth0 (bad, but still "seen") and eth1 (new USB).

Some details:

/etc/udev/rules.d/70-persistent-net.rules (2 lines):
# USB device 0x:0x (asix)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="8c:ae:4c:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

mii-tool (but will *not* get full speed since USB 2.0 is only about 400-something Mbps, not 1000; 400 still > 100):
eth0: negotiated 1000baseT-FD flow-control, link ok

dmesg:
[    1.820052] usb 1-2: new high-speed USB device number 2 using ehci_hcd
[    1.965222] usb 1-2: New USB device found, idVendor=0b95, idProduct=1780
[ 1.965232] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.965238] usb 1-2: Product: AX88178
[    1.965243] usb 1-2: Manufacturer: ASIX Elec. Corp.
[    1.965248] usb 1-2: SerialNumber: 000000
...
[    5.149094] udevd[362]: renamed network interface eth0 to eth1
[ 5.321707] asix 1-2:1.0: eth0: register 'asix' at usb-0000:00:1d.7-2, ASIX AX88178 USB 2.0 Ethernet, 8c:ae:4c:ff:2c:30
[    5.321820] usbcore: registered new interface driver asix
...
[   13.786463] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 13.789220] asix 1-2:1.0: eth0: link up, 1000Mbps, full-duplex, lpa 0xC1E1



On 07/26/2013 04:19 PM, JP Vossen wrote:
My Backup server lost another NIC in the lightning recently.  Last time
it was a multi-port NIC so the "fix" was easy.  This newer server had
only 1 NIC and has no room for an internal card, so I can either try to
replace the motherboard or just use a USB (2.0) Ethernet.  Given the
frequency that this happens, an easily swappable USB dongle is probably
a good idea anyway.

And yes, I used to have the Ethernet plugged into the UPS' filter port.
  But: a) that didn't help the first time and b) this time I had
bypassed the filter because it was limiting me to 100M instead of 1000M.

This looks like it will either Just Work or work with a bit of tweaking
for Debian Wheezy running kernel 3.2.46-1:

http://www.amazon.com/Plugable-Gigabit-Ethernet-Chromebook-Specific/dp/B003VSTDFG

   *
http://plugable.com/2010/10/18/howto-asix-88178-usb-ethernet-adapter-on-ubuntu-10-10-linux

     * (AX88178) http://www.asix.com.tw/search.php
       *
http://www.asix.com.tw/FrootAttach/driver/AX88772C_772B_772A_760_772_178_LINUX_Driver_v4.9.0_Source.tar.bz2


Any thoughts or other recommendations?

Thanks,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug