Linux Debian support - USB net adapter isn't recognized as a net adapter?

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > August 2006 > USB net adapter isn't recognized as a net adapter?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author USB net adapter isn't recognized as a net adapter?
Brian Kendig

2006-08-03, 1:14 pm

I have a Gateway Astro all-in-one PC which, astonishingly, has no
network port and no way to add one. I've installed Xubuntu 6.06 and I'm
trying to use a Linksys USB200M wired adapter with it, but I'm doing
something wrong.

When I boot up, 'network-admin' doesn't see the USB adapter, and
'ifconfig' only shows 'lo'.

I run 'sudo modprobe asix' and 'sudo modprobe usbnet'. I get a prompt
back each time, no errors or other messages.

'network-admin' still doesn't see the USB adapter. 'ifconfig' still
shows only 'lo'.

'ifconfig usb0 192.168.2.2 netmask 255.255.255.0 up' only returns 'usb0
not found'. 'ifconfig usb0' also returns 'usb0 not found'.

/etc/network/interfaces only contained an entry for lo, so I added
these lines to it:

mapping hotplug
script grep
map usb0
iface usb0 inet dhcp
allow-hotplug usb0

and then I rebooted, but usb0 was still not found and the USB network
adapter still doesn't work. (It works fine with my TiVo, however, so
this isn't a hardware problem.)

When I connect or disconnect the USB network adapter, a line appears in
/var/log/syslog to indicate that the action was noticed by the
operating system, but there's nothing in there about the device being
recognized as a network adapter.

What am I missing?

Gary Dale

2006-08-03, 7:13 pm

Brian Kendig wrote:
> I have a Gateway Astro all-in-one PC which, astonishingly, has no
> network port and no way to add one. I've installed Xubuntu 6.06 and I'm
> trying to use a Linksys USB200M wired adapter with it, but I'm doing
> something wrong.
>
> When I boot up, 'network-admin' doesn't see the USB adapter, and
> 'ifconfig' only shows 'lo'.
>
> I run 'sudo modprobe asix' and 'sudo modprobe usbnet'. I get a prompt
> back each time, no errors or other messages.
>
> 'network-admin' still doesn't see the USB adapter. 'ifconfig' still
> shows only 'lo'.
>
> 'ifconfig usb0 192.168.2.2 netmask 255.255.255.0 up' only returns 'usb0
> not found'. 'ifconfig usb0' also returns 'usb0 not found'.
>
> /etc/network/interfaces only contained an entry for lo, so I added
> these lines to it:
>
> mapping hotplug
> script grep
> map usb0
> iface usb0 inet dhcp
> allow-hotplug usb0
>
> and then I rebooted, but usb0 was still not found and the USB network
> adapter still doesn't work. (It works fine with my TiVo, however, so
> this isn't a hardware problem.)
>
> When I connect or disconnect the USB network adapter, a line appears in
> /var/log/syslog to indicate that the action was noticed by the
> operating system, but there's nothing in there about the device being
> recognized as a network adapter.
>
> What am I missing?
>


You probably need a driver for the Linksys card. One may not be included
with Debian/Sarge, which is pretty old now. The Linksys USB200M does
support Linux, so you should be able to get this working.
Gary Dale

2006-08-03, 7:13 pm

Brian Kendig wrote:
> I have a Gateway Astro all-in-one PC which, astonishingly, has no
> network port and no way to add one. I've installed Xubuntu 6.06 and I'm
> trying to use a Linksys USB200M wired adapter with it, but I'm doing
> something wrong.
>
> When I boot up, 'network-admin' doesn't see the USB adapter, and
> 'ifconfig' only shows 'lo'.
>
> I run 'sudo modprobe asix' and 'sudo modprobe usbnet'. I get a prompt
> back each time, no errors or other messages.
>
> 'network-admin' still doesn't see the USB adapter. 'ifconfig' still
> shows only 'lo'.
>
> 'ifconfig usb0 192.168.2.2 netmask 255.255.255.0 up' only returns 'usb0
> not found'. 'ifconfig usb0' also returns 'usb0 not found'.
>
> /etc/network/interfaces only contained an entry for lo, so I added
> these lines to it:
>
> mapping hotplug
> script grep
> map usb0
> iface usb0 inet dhcp
> allow-hotplug usb0
>
> and then I rebooted, but usb0 was still not found and the USB network
> adapter still doesn't work. (It works fine with my TiVo, however, so
> this isn't a hardware problem.)
>
> When I connect or disconnect the USB network adapter, a line appears in
> /var/log/syslog to indicate that the action was noticed by the
> operating system, but there's nothing in there about the device being
> recognized as a network adapter.
>
> What am I missing?
>


Ignore my previous message: I missed the line about Ubuntu. You still
may need the driver, or you may just need to bring up the interface.
Have you tried ifup usb0?
Brian Kendig

2006-08-03, 7:13 pm

Gary Dale wrote:
> You still
> may need the driver, or you may just need to bring up the interface.
> Have you tried ifup usb0?


It tells me that usb0 is not found. It's as if Linux doesn't recognize
the Linksys USB200M as a network device, but 'lsusb' does identify it
as a 'Linksys USB200M 100baseTX Adapter'.

And Ubuntu does come with the usbnet and asix modules preinstalled.
Would I need a separate adapter for this part?

Gary Dale

2006-08-04, 7:14 pm

Brian Kendig wrote:
> Gary Dale wrote:
>
> It tells me that usb0 is not found. It's as if Linux doesn't recognize
> the Linksys USB200M as a network device, but 'lsusb' does identify it
> as a 'Linksys USB200M 100baseTX Adapter'.
>
> And Ubuntu does come with the usbnet and asix modules preinstalled.
> Would I need a separate adapter for this part?
>



What's found on the USB bus isn't always recognized by the operating
system. lsusb tells you something about the hardware, including listing
the name the device gives it.

"usb0 not found" tells you that the operating system doesn't know about
any network adapter called usb0.

It looks like you need to connect the two. That is what a driver does.
The usbnet and asix modules may be pre-installed, but are they loaded?
What does lsmod say?
Brian Kendig

2006-08-05, 1:14 am

Gary Dale wrote:
> The usbnet and asix modules may be pre-installed, but are they loaded?
> What does lsmod say?


lsmod does show that both 'usbnet' and 'asix' are loaded...

It's as if Linux doesn't recognize that this USB device is capable of
handling networking, and I don't know how to tell it so.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com