Dario Lesca
2013-Oct-29 11:00 UTC
[CentOS] c6.4: D-Link USB network device (2001:1a02) not work.
Hi, I have plug in this USB network device:> Bus 001 Device 002: ID 2001:1a02 D-Link Corp.> T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=2001 ProdID=1a02 Rev= 0.01 > S: Manufacturer=D-Link > S: Product=DUB-E100 > S: SerialNumber=E5ECEB > C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=200mA > I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=(none) > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=128ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0msThis is the log information:> Oct 24 10:10:56 s-virt kernel: usb 1-5: new high speed USB device number 2 using ehci_hcd > Oct 24 10:10:57 s-virt kernel: usb 1-5: New USB device found, idVendor=2001, idProduct=1a02 > Oct 24 10:10:57 s-virt kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > Oct 24 10:10:57 s-virt kernel: usb 1-5: Product: DUB-E100 > Oct 24 10:10:57 s-virt kernel: usb 1-5: Manufacturer: D-Link > Oct 24 10:10:57 s-virt kernel: usb 1-5: SerialNumber: E5ECEB > Oct 24 10:10:57 s-virt kernel: usb 1-5: configuration #1 chosen from 1 choiceBut, if I run 'ip a' I do not see other new network device (ethX). It's possible resolve this issue and use this USB network device? Many thanks -- Dario Lesca - sip:dario at solinos.it (Inviato dal mio Linux Fedora19+Gnome3.8)
SilverTip257
2013-Oct-29 12:48 UTC
[CentOS] c6.4: D-Link USB network device (2001:1a02) not work.
On Tue, Oct 29, 2013 at 7:00 AM, Dario Lesca <d.lesca at solinos.it> wrote:> Hi, I have plug in this USB network device: >Are you running CentOS 5 or CentOS 6?> > > Bus 001 Device 002: ID 2001:1a02 D-Link Corp. > > > T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 > > D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=00 MxPS=64 #Cfgs= 1 > > P: Vendor=2001 ProdID=1a02 Rev= 0.01 > > S: Manufacturer=D-Link > > S: Product=DUB-E100 > > S: SerialNumber=E5ECEB > > C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=200mA > > I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=(none) > > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=128ms > > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > > E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > > This is the log information: > > > Oct 24 10:10:56 s-virt kernel: usb 1-5: new high speed USB device number > 2 using ehci_hcd > > Oct 24 10:10:57 s-virt kernel: usb 1-5: New USB device found, > idVendor=2001, idProduct=1a02 > > Oct 24 10:10:57 s-virt kernel: usb 1-5: New USB device strings: Mfr=1, > Product=2, SerialNumber=3 > > Oct 24 10:10:57 s-virt kernel: usb 1-5: Product: DUB-E100 > > Oct 24 10:10:57 s-virt kernel: usb 1-5: Manufacturer: D-Link > > Oct 24 10:10:57 s-virt kernel: usb 1-5: SerialNumber: E5ECEB > > Oct 24 10:10:57 s-virt kernel: usb 1-5: configuration #1 chosen from 1 > choice > > But, if I run 'ip a' I do not see other new network device (ethX). > > It's possible resolve this issue and use this USB network device? >You need to figure out what chipset your usb ethernet device uses. Maybe it uses ax8817x driver like [0] says? Or D-Link decided to change the chipset without changing the model number. ;) Run lsusb and locate your device. Use the "Bus" and "Device" numbers in the following command so you get more info on just that device. lsusb -v -s "Bus:Device" | egrep 'id(Vendor|Product)' If you're lucky there will be some useful information in those two fields, otherwise run the second command without piping it to egrep and read through all the verbose info for clues. It doesn't appear the ax8817x driver is shipped with stock CentOS 6 kernels (and since 5 kernels are much older, don't expect it's 2.6.18.x kernel to include the driver which came out around 2.6.21 or .23). # find /lib/modules/2.6.32-358.23.2.el6.x86_64/ -iname 'ax88*' -print And the word is that there's a bug or two [1] for the ax8817x drivers (this Plugable device uses a similar chipset and it appears the same driver as well) that aren't fixed until 3.2 series kernels. You may just have to compile the module manually from source [2] which won't be horrible (since these instructions are for Ubuntu you'll have to adapt them for RHEL/CentOS as necessary). ** Don't hold me to any of this info until you know for sure which chipset _you_ have! [0] http://www.linux-usb.org/devices.html#net [1] http://plugable.com/products/USB3-E1000/drivers [2] http://plugable.com/2010/10/18/howto-asix-88178-usb-ethernet-adapter-on-ubuntu-10-10-linux> > Many thanks > > -- > Dario Lesca - sip:dario at solinos.it > (Inviato dal mio Linux Fedora19+Gnome3.8) > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- ---~~.~~--- Mike // SilverTip257 //