usb ethernet driver/setup

Issues related to hardware problems
redfusion
Posts: 7
Joined: 2009/02/07 19:56:57

usb ethernet driver/setup

Post by redfusion » 2010/06/01 00:29:49

I have centos 5.4 running on a mac mini.

The install did not recognize the apple usb ethernet adapter. I think it uses asix driver from elrepo. How do I go about setting this as eth1 after running rpm?

Thanks.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: usb ethernet driver/setup

Post by AlanBartlett » 2010/06/01 14:03:00

Welcome to the [i]CentOS[/i] fora.

The recommended reading for all new members it the [url=https://www.centos.org/modules/newbb/viewforum.php?forum=47]FAQ & Readme First[/url].

[quote]
I think it uses asix driver from elrepo.
[/quote]
You sound unsure. :-o

So have a look at the output returned by a [b]/sbin/lsusb[/b] command with the device connected and then with it not connected. The difference will be a line that shows the [i]Vendor:Device ID Pairing[/i] (the [i]fingerprint[/i]) for the device. Look up that [i]fingerprint[/i] on the [url=http://elrepo.org]ELRepo Project[/url]'s [url=http://elrepo.org/tiki/DeviceIDs]Device IDs[/url] page. If you find it listed, then the [url=http://elrepo.org/tiki/Packages]kmod package[/url] you require will be specified.

Now consider the output returned by [b]uname -rmi[/b]. What is your architecture? What is your kernel type?

Only when you have gathered together [i]all[/i] that information will you be ready to download the correct package (using a system with an Internet connection) and then transfer it to your [i]Mac Mini[/i] using the classic [url=http://en.wikipedia.org/wiki/Sneakernet]sneakernet[/url]. Installation will be just an [b]rpm -Uvh kmod-*.rpm[/b] command.

Once installed and with the device connected to a USB port, execute [b]system-config-network[/b]. You should be able to find the device in the hardware list and then configure it accordingly.

One question. Why do you specify [i]eth1[/i]?

redfusion
Posts: 7
Joined: 2009/02/07 19:56:57

Re: usb ethernet driver/setup

Post by redfusion » 2010/06/04 22:39:24

Thank you Alan! That is some great info.

ran comm on the two lsusb outputs and got:
Bus 001 Device 002: ID 05ac:1402 Apple, Inc.
Bus 001 Device 001: ID 0000:0000

Unfortunately I did not find a match on the device page. :-(

uname -rmi
2.6.18-164.el5 x86_64 x86_64

eth1 is just my naming convention

Any other suggestions to get this working?

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: usb ethernet driver/setup

Post by AlanBartlett » 2010/06/04 23:17:35

Thanks for the device [i]fingerprint[/i]. Just double checking for myself --

[code]
[ajb@stxsl ~]$ grep -i 05ac /lib/modules/*/modules.alias | grep -i 1402
[ajb@stxsl ~]$
[/code]
That confirms there is no driver suitable within the distributed kernel. And I agree that there is nothing available from the [url=http://elrepo.org]ELRepo Project[/url].

Undeterred, I then checked at my favourite [url=http://lxr.linux.no/+trees]cross-referencing site[/url] only to find that currently there isn't a [i]Linux[/i] driver available for that USB device.

I can only offer two suggestions. Either (1) use a different device or (2) become familiar with the [url=http://www.linuxdriverproject.org/twiki/bin/view]Linux Driver Project[/url] and submit details of the USB adaptor to the [url=http://www.linuxdriverproject.org/foswiki/bin/view/Main/DriversNeeded]drivers needed[/url] section.

Sorry but there's nothing that neither my colleagues ( at the [i]ELRepo Project[/i] ) not I can do to help. :-(

redfusion
Posts: 7
Joined: 2009/02/07 19:56:57

Re: usb ethernet driver/setup

Post by redfusion » 2010/06/05 00:19:55

Ran the grep command above and it returned dead silence

I found a few websites that state the device uses asix driver...

http://cateee.net/lkddb/web-lkddb/USB_NET_AX8817X.html
[url=http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,24/func,view/id,2286/
]http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,24/func,view/id,2286/
[/url]

Fedora and few other distros pick it up the device by default. Any way I can use the driver fedora uses?

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: usb ethernet driver/setup

Post by AlanBartlett » 2010/06/05 15:55:55

[quote]
I found a few websites that state the device uses asix driver...

[i][/i]

Fedora and few other distros pick it up the device by default. Any way I can use the driver fedora uses?
[/quote]
Thank you for that information. I shall peruse those links as soon as time permits.

Let me see what I can find out. Perhaps, with a little help from someone who has access to a [i]Fedora[/i] system ( [b]toracat[/b], [b]Scott[/b], [b]whn[/b], perhaps? ) and is able to [i]double-grep[/i] for the device [i]fingerprint[/i], I might be able to come up with something.

This will take a while. Would three days be acceptable? And I do not [i]guarantee[/i] a positive outcome. ;-)

redfusion
Posts: 7
Joined: 2009/02/07 19:56:57

Re: usb ethernet driver/setup

Post by redfusion » 2010/06/05 16:35:41

[quote]
AlanBartlett wrote:

This will take a while. Would three days be acceptable? And I do not [i]guarantee[/i] a positive outcome. ;-)[/quote]

I can't complain :)

I will try to put F12 on it and get the device info for you.

I've been trying to put linux on this thing for the past week and have tried 6 distros! All of them had either bootloader issues or did not detect usb ethernet.
Since there is no bios it is very picky on how it boots. Debian, Ubuntu, Fedora detected the usb device but would not boot. All use grub2 and beyond my scope to trouble shoot. CentOS boots perfectly but no usb ethernet.

redfusion
Posts: 7
Joined: 2009/02/07 19:56:57

Re: usb ethernet driver/setup

Post by redfusion » 2010/06/05 17:37:10

[quote]
AlanBartlett wrote:


Let me see what I can find out. Perhaps, with a little help from someone who has access to a [i]Fedora[/i] system ( [b]toracat[/b], [b]Scott[/b], [b]whn[/b], perhaps? ) and is able to [i]double-grep[/i] for the device [i]fingerprint[/i], I might be able to come up with something.

[/quote]

Here is FC12 info-

comm output before/after lsusb:
Bus 002 Device 003: ID 53ac:1402 Apple, Inc.

when I unplugged the device:
eth0: unregistered 'asix' usb-0000:00:06.1-2, ASIX AX88772 USB 2.0 Ethernet


Hope that helps!

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: usb ethernet driver/setup

Post by AlanBartlett » 2010/06/05 18:30:32

[quote]
when I unplugged the device:
eth0: unregistered 'asix' usb-0000:00:06.1-2, ASIX AX88772 USB 2.0 Ethernet

Hope that helps!
[/quote]
It certainly does. Please leave it with me . . . I'll aim to have something ready by next Tuesday. :-)

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: usb ethernet driver/setup

Post by AlanBartlett » 2010/06/06 14:07:04

For those persons interested and who are not subscribed to the [url=http://lists.elrepo.org/mailman/listinfo/elrepo]ELRepo users' mailing list[/url] the relevant announcement is available to view in the [url=http://lists.elrepo.org/pipermail/elrepo/2010-June/000285.html]mail archives[/url].

Once it has been read, a loop back to post #2 of this thread will be appropriate. ;-)

As this is a [i]CentOS[/i] forum, I'll just mention that the [url=http://elrepo.org]ELRepo project[/url] has its own [url=http://lists.elrepo.org/pipermail/elrepo/2010-June/000285.html]mailing lists[/url] and [url=http://elrepo.org/bugs/main_page.php]bug tracker[/url] for the packages that it supplies to users of [i]Enterprise Linux[/i] OS's, of which the [i]CentOS Project[/i] is a subset.

Post Reply