Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: USB Ethernet Not Working

  1. #1
    Join Date
    Feb 2008
    Location
    Baltimore, MD
    Beans
    59
    Distro
    Ubuntu 12.10 Quantal Quetzal

    USB Ethernet Not Working

    Hey guys, I read an old post where someone had the same problem as me but the links in it were broken, so I thought I'd ask again to get some up-to-date help.

    My situation is that I am using an old laptop running Ubuntu Server 12.04 and I want to use a USB ethernet card and the integrated ethernet. I am going to be using this server as a firewall/IDS. Right now I just have the laptop sitting as another computer on my current network, so only the integrated NIC is actually configured and it is currently configured to use DHCP (i will change this once I am all setup and ready to go). So my problem is that I can't get my usb ethernet adapter to be recognized as an ethernet interface. I am using the Dlink DUB-E100 which I have heard good reviews about especially related to its compatibility with Ubuntu server. Here is what I get in lsusb:
    Code:
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 2001:1a02 D-Link Corp.
    And that last device is my ethernet. Here is my /etc/network/interfaces:
    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet dhcp
    # This is an autoconfigured IPv6 interface
    iface eth0 inet6 auto
    #secondary interface
    auto eth1
    iface eth1 inet dhcp
    iface eth1 inet6 auto
    I also do not currently have a network attached to the interface, I can change that if I need to. My interface just does not show up in ifconfig. And maybe this is right? I don't know.

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: USB Ethernet Not Working

    It will not show up in ifconfig if no driver has claimed it. Let's try a highly experimental process and see if we can get it going. Remove the device.

    In a terminal, do:
    Code:
    sudo gedit /etc/udev/rules.d/network_drivers.rules
    Add one long line:
    Code:
    ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="2001", ATTR{idProduct}=="1a02", RUN+="/sbin/modprobe -qba asix"
    Caps, brackets, punctuation, etc. are crucial. Proofread twice, save and close gedit.
    Code:
    sudo gedit /etc/modprobe.d/network_drivers.conf
    Add one long single line:
    Code:
    install asix /sbin/modprobe --ignore-install asix $CMDLINE_OPTS; /bin/echo "2001 1a02" > /sys/bus/usb/drivers/asix/new_id
    Proofread twice, save and close gedit. Insert the device. If it doesn't start immediately, you might have to do:
    Code:
    sudo modprobe asix
    We look forward to your report.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #3
    Join Date
    Feb 2008
    Location
    Baltimore, MD
    Beans
    59
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: USB Ethernet Not Working

    Thanks for the reply, still not getting anything to show up in ifconfig. even switched over to using that interface for the network and it still wasn't giving me anything. I feel like I'm missing something really simple here...

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: USB Ethernet Not Working

    Any clues here?
    Code:
    sudo modprobe asix
    dmesg | grep asix
    Please double-check:
    Code:
    cat /etc/udev/rules.d/network_drivers.rules
    cat /etc/modprobe.d/network_drivers.conf
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  5. #5
    Join Date
    Feb 2008
    Location
    Baltimore, MD
    Beans
    59
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: USB Ethernet Not Working

    ouput of
    Code:
    [47582.344101] usbcore: registered new interface driver asix
    Code:
    cat /etc/udev/rules.d/network_drivers.rules
    ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="2001", ATTR{idProduct}=="1a02", RUN+="/sbin/modprobe -qba asix"
    Code:
    cat /etc/modprobe.d/network_drivers.conf
    install asix /sbin/modprobe --ignore-install asix $CMDLINE_OPTS; /bin/echo "2001 1a02" > /sys/bus/usb/drivers/asix/new_id

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: USB Ethernet Not Working

    I told you it was experimental! Not all experiments work. You might try this procedure and we'd have to experimentally (!!) hack the C code. http://plugable.com/2010/10/18/howto...u-10-10-linux/

    You could install 12.10 and be done:
    $ modinfo asix
    filename: /lib/modules/3.5.0-17-generic/kernel/drivers/net/usb/asix.ko
    license: GPL
    description: ASIX AX8817X based USB 2.0 Ethernet Devices
    version: 22-Dec-2011
    author: David Hollis
    srcversion: 0889AC645D9EA92D3DE4C5B
    <snip>
    alias: usb:v2001p1A02d*dc*dsc*dp*ic*isc*ip*
    <snip>
    depends: usbnet
    intree: Y
    vermagic: 3.5.0-17-generic SMP mod_unload modversions 686
    I will be happy to help in any event.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  7. #7
    Join Date
    Feb 2008
    Location
    Baltimore, MD
    Beans
    59
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: USB Ethernet Not Working

    Yea, I get that. I just feel like this should just work out of the box. I have heard other people use this interface with ubuntu server and it worked out of the box. I guess thats the beauty of open source software!

  8. #8
    Join Date
    Feb 2008
    Location
    Baltimore, MD
    Beans
    59
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: USB Ethernet Not Working

    Is it possible to upgrade to 12.10 without having to reimage the entire computer and redo all of my settings? If you think that 12.10 would be the best solution to this problem.

  9. #9
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: USB Ethernet Not Working

    Quote Originally Posted by breimer273 View Post
    Yea, I get that. I just feel like this should just work out of the box. I have heard other people use this interface with ubuntu server and it worked out of the box. I guess thats the beauty of open source software!
    Your device is covered by asix in 12.10 and not in 12.04. Have you an objection to upgrading?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  10. #10
    Join Date
    Feb 2008
    Location
    Baltimore, MD
    Beans
    59
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: USB Ethernet Not Working

    nope, other than I really don't want to have to reconfigure all my stuff if I don't have to. It's really not that much. So if the only way to upgrade is to download the iso and do a fresh install well then I guess thats what I'll do.

    BTW: Thanks for all the help and the patience.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •