› Forums › Network Management › Linux and Networking › USB nic wierdness
- This topic is empty.
-
AuthorPosts
-
November 13, 2009 at 10:44 pm #42039
Thomas_Powers
MemberHello 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
November 16, 2009 at 9:10 am #49106ppalias
MemberCheck 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.
November 16, 2009 at 3:01 pm #49107Thomas_Powers
MemberWell…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
November 16, 2009 at 3:59 pm #49108aseques
MemberProbably 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/netNovember 16, 2009 at 5:43 pm #49109Thomas_Powers
MemberWell…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
November 16, 2009 at 11:14 pm #49110ppalias
Membermodprobe 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
November 17, 2009 at 3:53 pm #49111Thomas_Powers
MemberPlease 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
November 17, 2009 at 11:05 pm #49112ppalias
MemberI 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.
August 26, 2010 at 7:46 am #49113Vizzini
MemberIt 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 -
AuthorPosts
- You must be logged in to reply to this topic.