May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

USB to Ethernet Adapter in Linux


TCP/IP Network Troubleshooting

Recommended Books

Recommended Links

Network Utilities

Redhat Network Configuration Suse 10 network configuration
Network Troubleshooting Tools ifconfig ethtool Ethernet Protocol Autonegotiation Linux multipath Bonding Multiple Network Interfaces
route command Linux Routing DNS nslookup netstat Xinetd Remote Syslog
NFS vsftp pure ftpd rsync NTP RHEL NTP configuration Troubleshooting NTP on Red Hat Linux
  Telnet Protocol VNC on Linux   SSH Samba Sendmail on RHEL Postfix
Broadcom NetXtreme Ethernet card random disconnects Possible SYN flooding on port 25. Sending cookies TCP Performance Tuning  Linux Troubleshooting Tips Admin Horror Stories Humor Etc

Top Visited
Past week
Past month


Old News ;-)

USB-Ethernet device for Linux - Free Electrons blog

USB-Ethernet device for Linux

Posted on March 16, 2009 by Michael Opdenacker

Useful device when you work with an embedded development board

For our Embedded Linux training sessions, I was looking for a USB to Ethernet device. Since Linux supported devices are often difficult to find, I'm glad to share my investigations here.

When you use an embedded development board, you must connect it to your computer with an Ethernet cable, for example to transfer a new kernel image to U-boot through tftp, or to make your board boot on a directory on your workstation, exported with NFS.

You could connect both the board and computer to your local network, which would still allow your computer to connect to the Internet while you work with the board. However, you may create conflicts on your local network if you don't use DHCP to assign an IP address to your board (if your DHCP server even accepts this new device on the network). In a training environment, you are also likely to run out of Ethernet outlets in the training room if you have to connect 8 such boards. Hence, a direct connection between the board and your workstation's Ethernet port is often the most convenient solution.

If you can't use WIFI to keep your computer connected to the outside world, a good solution is to add an extra Ethernet port to your computer by using an USB-to-Ethernet device.

My colleague Thomas and I started looking for such devices that would be supported by Linux. Here are a few that we found:

Apple USB to EthernetSo, I recommend the Apple device. I event posted a comment on the Apple Store, titled "Perfect for Linux"! I hope the Apple droids won't censor it. If you decide to buy it, just make sure that it bears the MB442Z/A or MC704ZM/A reference in your shopping cart. If the reference changes, it could mean that they switched to another chipset, without changing the model name. This happens often with other vendors, unfortunately.

I can't tell whether this could happen with Apple. This was the first Apple device I ever bought…

Quick question USB Ethernet Adapter with Linux linux

centos5 - How do I configure a USB ethernet adapter under CentOS 5.3 - Server Fault

Sep 20 '11

I've got a server running CentOS 5.3 (Final; kernel version 2.6.18) which I need to add a 2nd NIC to, initially temporarily, but eventually permanently. I'm not familiar with installing drivers under Linux and have only used system-config-network-tui and editing config files (we have no version of X installed) to configure the built-in ethernet adapter.

I found a few notes stating that the Apple USB Ethernet adapter works well under Linux. We're an Apple shop, so we have plenty and that'll do for the short term while we track down a better PCI-X ethernet adapter for this server.

So, I downloaded & installed (make and make install) the appropriate version of the recommended AX88178 driver (Linux 2.6.38; for "Android 1.x/2.x/3.0, Linux kernel 2.6.14 and later"). After plugging in the Apple USB Ethernet adapter, it does show in the results of lsusb, but does not show in the options when I run system-config-network-tui.

The .ko file that was compiled & installed was "asix.ko" and if I run lsmod | grep asix, I get the following:

asix                   82176  0 
mii                    38849  1 asix

So, does that the kernel module is correctly installed & loaded? Do I need to alias "eth2" ("eth0" is the built-in ethernet and "eth1" is listed in system-config-network-tui as "skge", but is definitely not what I just plugged in) to "asix" in /etc/modules.conf as noted here? What other steps might I be missing?

Of note: I do now see a "dev23116" network interface when I run ifconfig -a that wasn't there before I installed the drivers. Is that the USB ethernet adapter? If so, do I alias that or use that as the interface's device in system-config-network-tui?

share|improve this question asked Sep 20 '11 at 22:20


add comment

1 Answer

up vote1down voteaccepted So, the 'devXXXXX' interface was generated whenever I plugged in the Apple USB Ethernet adapter (and went away when unplugged), but it changed, so I don't expect it to have the same device name after a reboot. (Not to mention I couldn't get an IP to stick to it when configuring using system-config-network-tui.)

When plugging the Apple USB Ethernet adapter in, I got the following in /var/log/messages:

Sep 21 13:40:15 hostname kernel: usb 1-6: new high speed USB device using ehci_hcd and address 6
Sep 21 13:40:15 hostname kernel: usb 1-6: configuration #1 chosen from 1 choice
Sep 21 13:40:15 hostname kernel: ASIX USB Ethernet Adapter:v4.1.0 17:04:38 Sep 20 2011
Sep 21 13:40:15 hostname kernel:
Sep 21 13:40:15 hostname kernel: eth%d: status ep1in, 8 bytes period 11
Sep 21 13:40:15 hostname kernel: eth1: register 'asix' at usb-0000:00:1d.7-6, ASIX AX88772A USB 2.0 Ethernet, ffff8100769819a8M

I did find a line reading alias eth1 skge in /etc/modprobe.conf (for that odd eth1 interface that is not anything and never shows up as connected) and commented it out (esp. since /var/logs/messages show the log registering asix as eth1). After doing so, giving eth1 a static IP using system-config-network-tui, and disconnected & reconnecting the Apple USB Ethernet adapter, it now always shows up as eth1 and with the correct ethernet address. I can also ping hosts on that subnet, so this is working.

The main issue appears to have been the conflict between the hard-coded alias and the asix module trying to register as the same name.

One additional note: It seems to change the default route to the Apple USB Ethernet adapter whenever it's plugged in, so you have to be sure to check that & adjust, if necessary.

The GNU-Linux usbnet Driver

In addition to the "software emulated" adapter model used in smart peripherals, there are also single-purpose adapters using real hardware. In particular, the ASIX 8817x chips are used in a wide variety of high speed (480 Mbit/s) capable 10/100 Ethernet adapters. There are also 10/100/1000 versions.

Device Minidriver Notes
ASIX 88172,
D-Link DUB-E100,
Hawking UF200,
Linksys USB200M,
Netgear FA120,
ST Lab USB Ethernet,
TrendNet TU2-ET100,
asix All these are based on the same core hardware. This originally used separate driver, but then it merged with "usbnet". Later kernels split out this minidriver into its own module.

There are also Linux-USB device drivers for ethernet adapters that don't use this framework.

Ethernet to usb adapter that is known to work in linux


I have a Cisco Linksys USB to Ethernet adapter. It is model USB300M. It works fine with Red Hat Enterprise Linux. Here is a link to it at Amazon... USB 3.0 to Gigabit Ethernet NIC Network Adapter - USB31000S - Ethernet Adapters - Apple USB Ethernet Adapter Usb Network Adapters Ele BobjGear USB to RJ45 Compact Fast Ethernet Adapter made for Android Tablets; also works with Ultrabooks, Windows,Claimted to be linux compatible USB 3.0 to Gigabit Ethernet NIC Network Adapter Importer520 USB 2.0 Ethernet 10-100 Network LAN RJ45 Adapter Computers & Accessories

Mfg. Part: USB31000S|CDW Part: 2831337|UNSPSC: 43201404 USB 2.0 to Gigabit Ethernet NIC Network Adapter - USB21000S2 - Ethernet Adapters -

Claim that it is linux compatible

  • Add Gigabit Ethernet to any USB 2.0 compatible PC or Laptop computer
  • USB to Gigabit Ethernet
  • USB 2.0 Gigabit Adapter – USB 2.0 Ethernet Adapter – USB Network Adapter
  • Recommended Links

    Google matched content

    Softpanorama Recommended

    Top articles


    Top articles


    AX88178 - USB 2.0 to Gigabit Ethernet with GMII Interface ASIX

    [Video] Plugable Usb 2.0 Ethernet Adapter works with Linux

    Published on Jun 25, 2013

    Sorry for the Choppy Wiggly Video but in the end wee all know where we can get a greta working Adapter that works in Linux.

    Here is a Link to the Amazon Page:

    Follow Me On Facebook:

    [Video] Plugable USB 3.0 to 10-100-1000 Gigabit Ethernet LAN Network Adapter