USB nic wierdness

Home Page Forums Network Management Linux and Networking USB nic wierdness

This topic contains 7 replies, has 0 voices, and was last updated by  Thomas_Powers 9 years ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #42039

    Hello all….

    When we first tested ZS, we were using some real old HP hardware with usb Cisco/Linsys ethernet adapters. They came up as generic…but they worked great.

    Now we have moved to a smaller, newer asus unit, and here’s what happens.

    We boot from a flash card…and the USB nic never shows up…yet the onboard NIC shows fine. On the USB nic itself…no link lights. If I unplug the nic from the back of the machine, and plug it back in…the link lights come on…but ZS does not see it in the GUI.

    Since I’m not sure the flavor of linux…how does one get this to refresh so the USB NIC is seen and can this be done in one of the startup scripts so we don’t need to do it afterward?

    Thanks

    TP

    #49106

    ppalias
    Member

    Check if there is something to be configured on the BIOS.
    After the ZS is booted check in a shell if the network interface has been recognized.

    lsusb

    then check if the corresponding module is loaded.

    lsmod

    then check if the interface is working

    ifconfig -a

    If you cannot find something

    dmesg | grep ETH

    might prove helpful for locating your device name.

    #49107

    Well…we run the lsusb and we see the device at 0b95:7720 (we know this because if we remove it…and rerun lsusb…it is missing)

    I look that up and it actually turns out to be

    vendor: 0b95 (“ASIX Electronics Corp.”), product: 7720 (“AX88772”)

    LSMOD however shows nothing about the usb ehternet device nor asix.

    I do a search on the ZS box and I find in /cdrom/modules/2.6.25.20/kernel/drivers/net/usb/asix.ko but I’m not sure how to load it..and more importantly…how to get it to auto load each time.

    ifconfig comes back with the info about the onboard nic, the dummy1 conncetion, and the built in VPN connection…but no USB (because there is no mod loaded for it I would assume.)

    The GREP command comes back with info only about eth00…specifically r8169 : ETH00: link up.

    So…what does one need to do to get the module to load for this usb nic?

    All help is greatly appreciated.

    TP

    #49108

    aseques
    Member

    Probably the kernel is too old, or the drivers are missing, look for wich module is using in any ordinary linux distribution. i.e. voyage.hk (doing an lsmod should help too)
    Once you’ve got the module name, look for it in zeroshell it should be in /lib/usb or /lib/net

    #49109

    Well…we found the asix.ko in cdrom/modules/2.6.25.20/kernel/drivers/net/usb/asix.ko

    if I manually do an insmod cdrom/modules/2.6.25.20/kernel/drivers/net/usb/asix.ko

    and then an ifconfig -a…a new connection called eth0 shows up…and the mac address matches the device.

    but if I hit freresh in the web gui…I see no network interface of eth0.

    So…my question is this…

    1. Why would it not show up in the web gui?
    2. what do I need to do to make sure this asix.ko actually loads each time?

    I’m so close…I can taste it!!

    THanks for everyone’s help to this point!!

    TP

    #49110

    ppalias
    Member
    modprobe asix

    I was not able to find where to add it exactly to make sure it is loaded upon boot. Maybe you could try in

    /etc/rc.d/init.d/pciprobe
    #49111

    Please forgive my sheer ignorance in these matters.

    I guess before I try to get it to load every time, I need to know how to get it to show up in the gui. The ifconfig shows the adapter, yet the web console will not show it. I notice the naming of the primary connection in the console is ETH00, and this new one shows up as eth0…possibly a conflict?

    If anyone knows where to name this connection and how to refresh it in the gui, I would be greatly appreciative.

    Thanks

    TP

    #49112

    ppalias
    Member

    I guess that the interface MUST exist before the gui is started, so you should make sure the module is loaded along with the other interfaces’ modules.

    #49113

    Vizzini
    Member

    It wasn’t clear that this was resolved, but I’ve written a howto for this here:
    http://www.zeroshell.net/eng/forum/viewtopic.php?p=8117#8117

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.