Re: [CentOS] [SOLVED] c6.4: D-Link USB network device (2001:1a02) not work.

2013-10-29 Thread Dario Lesca
Il giorno mar, 29/10/2013 alle 08.48 -0400, SilverTip257 ha scritto:
 On Tue, Oct 29, 2013 at 7:00 AM, Dario Lesca d.le...@solinos.it wrote:
 
  Hi, I have plug in this USB network device:
 
 
 Are you running CentOS 5 or CentOS 6?

Like subject say, CentOS 6.4 

The kernel is last: 2.6.32-358.23.2.el6.x86_64

 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

Thank SilverTip257 for reply, but I have solved rebuild and install the
asix driver follow this tread:

http://grinkin.ru/dlink-DUB-E100.html.

I have take the CD's Linux driver (DUB_E100_Linux_v420.zip),
unzip it and apply this patch:

 --- asix.c.orig   2011-09-19 14:48:58.0 +0200
 +++ asix.c2013-10-29 14:15:18.662854310 +0100
 @@ -3412,6 +3412,10 @@
   USB_DEVICE (0x2001, 0x1a00),
   .driver_info =  (unsigned long) dlink_dub_e100_info,
  }, {
 + // DLink DUB-E100
 + USB_DEVICE (0x2001, 0x1a02),
 + .driver_info =  (unsigned long) ax88772b_info,
 +}, {
   // DLink DUB-E100B
   USB_DEVICE (0x2001, 0x3c05),
   .driver_info =  (unsigned long) dlink_dub_e100b_info,

Now all work fine.

Thanks

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora19+Gnome3.8)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] c6.4: D-Link USB network device (2001:1a02) not work.

2013-10-29 Thread m . roth
Dario Lesca wrote:
 Il giorno mar, 29/10/2013 alle 08.48 -0400, SilverTip257 ha scritto:
 On Tue, Oct 29, 2013 at 7:00 AM, Dario Lesca d.le...@solinos.it wrote:

  Hi, I have plug in this USB network device:
 
snip

 Thank SilverTip257 for reply, but I have solved rebuild and install the
 asix driver follow this tread:

 http://grinkin.ru/dlink-DUB-E100.html.

 I have take the CD's Linux driver (DUB_E100_Linux_v420.zip),
 unzip it and apply this patch:

 --- asix.c.orig  2011-09-19 14:48:58.0 +0200
 +++ asix.c   2013-10-29 14:15:18.662854310 +0100
 @@ -3412,6 +3412,10 @@
  USB_DEVICE (0x2001, 0x1a00),
  .driver_info =  (unsigned long) dlink_dub_e100_info,
  }, {
 +// DLink DUB-E100
 +USB_DEVICE (0x2001, 0x1a02),
 +.driver_info =  (unsigned long) ax88772b_info,
 +}, {
  // DLink DUB-E100B
  USB_DEVICE (0x2001, 0x3c05),
  .driver_info =  (unsigned long) dlink_dub_e100b_info,

 Now all work fine.

One thing you *must* remember: you'll have to rebuild it every time you do
a kernel upgrade.

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] c6.4: D-Link USB network device (2001:1a02) not work.

2013-10-29 Thread Dario Lesca
Il giorno mar, 29/10/2013 alle 09.45 -0400, m.r...@5-cent.us ha scritto:

 One thing you *must* remember: you'll have to rebuild it every time you do
 a kernel upgrade.

Yes, I know, I will pay attention (with some scripts, I rebuild and
install it and restart network via rc.local).

If you (or someone into list) tell me that fill a bug is useful to make
sure that this patch will be included in a future kernel ... I do it. 

Thanks
-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora19+Gnome3.8)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] c6.4: D-Link USB network device (2001:1a02) not work.

2013-10-29 Thread SilverTip257
On Tue, Oct 29, 2013 at 9:38 AM, Dario Lesca d.le...@solinos.it wrote:

 Il giorno mar, 29/10/2013 alle 08.48 -0400, SilverTip257 ha scritto:
  On Tue, Oct 29, 2013 at 7:00 AM, Dario Lesca d.le...@solinos.it wrote:
 
   Hi, I have plug in this USB network device:
  
 
  Are you running CentOS 5 or CentOS 6?

 Like subject say, CentOS 6.4


The subject was heavily abbreviated c6.4 and the OS was not contained in
the body.
I saw the abbreviation after the fact.



 The kernel is last: 2.6.32-358.23.2.el6.x86_64

  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

 Thank SilverTip257 for reply, but I have solved rebuild and install the
 asix driver follow this tread:

 http://grinkin.ru/dlink-DUB-E100.html.

 I have take the CD's Linux driver (DUB_E100_Linux_v420.zip),
 unzip it and apply this patch:

  --- asix.c.orig   2011-09-19 14:48:58.0 +0200
  +++ asix.c2013-10-29 14:15:18.662854310 +0100
  @@ -3412,6 +3412,10 @@
USB_DEVICE (0x2001, 0x1a00),
.driver_info =  (unsigned long) dlink_dub_e100_info,
   }, {
  + // DLink DUB-E100
  + USB_DEVICE (0x2001, 0x1a02),
  + .driver_info =  (unsigned long) ax88772b_info,
  +}, {
// DLink DUB-E100B
USB_DEVICE (0x2001, 0x3c05),
.driver_info =  (unsigned long) dlink_dub_e100b_info,

 Now all work fine.


Cool.



 Thanks

 --
 Dario Lesca - sip:da...@solinos.it
 (Inviato dal mio Linux Fedora19+Gnome3.8)

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos