Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: holck on May 29, 2010, 08:45:40 PM

Title: Usb-ethernet adapter will not work with the newer kernels
Post by: holck on May 29, 2010, 08:45:40 PM
As my small server has no room for a second ethernet network interface, I use an USB-ethernet adapter from D-Link, DUB-E100. But I can not make it work with the newer kernels. I can use it with no problems with 2.6.9-78.0.22.EL, but with anything newer than that I get the message "Device eth1 does not seem to be present, delaying initialization". The usbnet kernel module is loaded OK, but the device does not work.

I have found out that the D-Link adapter apparently exists in two different versions, and one guess could be that the newer kernels assume I have one version, and the older kernels assume I have another?

What can I do to use the adapter with thenew kernels?
Should I report this some other place?
Title: Making the D-Link DUB-E100 Usb-ethernet adapter work
Post by: holck on May 30, 2010, 09:45:11 AM
It seems the reason I could only make the D-lLink DUB-E100 USB-ehernnet adapter work with an old kernel ... was that I some time ago compiled a module for that kernel and then forgot all about it, sorry ... If someone else needs to make it work, here is my recipe:

Download and install the kernel source files:
$ sudo yum install kernel-devel

Download the source code for the module from here:
http://www.asix.com.tw/download.php?sub=downloadsearch&PSNoID=100
where you select AX88178 as "Product Name", choose "Driver", and press "Go"

Unpack the source code and cd into the created directory. Now you have to make sure to compile the module for the kernel version for which you have the source files. If that version is not the same as the one the server is presently running, you should change this line in the Makefile
  CURRENT = $(shell uname -r)
to
  CURRENT = 2.6.9-89.0.25.EL
or whatever version you want to compile the module for.

Then
$ make
$ make install

and reboot with the new kernel.
Title: Re: Making the D-Link DUB-E100 Usb-ethernet adapter work
Post by: byte on May 31, 2010, 06:35:01 PM
It seems the reason I could only make the D-lLink DUB-E100 USB-ehernnet adapter work with an old kernel ... was that I some time ago compiled a module for that kernel and then forgot all about it, sorry ... If someone else needs to make it work, here is my recipe:

Download and install the kernel source files:
$ sudo yum install kernel-devel

Correct, you will need to do this every time a kernel upgrade is present.  Also its not recommended practice to iinstall development packages on a production server. Finally USB network adapter(s) are not supported with SME Servers.

Surely it would be easier to grab a cheap compatible pci network card :)

I'll move this to the contribs section. Thanks.
Title: Re: Usb-ethernet adapter will not work with the newer kernels
Post by: Stefano on May 31, 2010, 11:31:49 PM
Surely it would be easier to grab a cheap compatible pci network card :)

as OP said:
Quote
As my small server has no room for a second ethernet network interface

I would suggest to buy a dual nic pci adapter
Title: Re: Usb-ethernet adapter will not work with the newer kernels
Post by: Jean-Philippe Pialasse on May 31, 2010, 11:34:51 PM
as OP said:
I would suggest to buy a dual nic pci adapter
+ 1  ^^

Thanks Byte for the laugh

and by the way dual ethernet are not cheap ;)

JP
Title: Re: Usb-ethernet adapter will not work with the newer kernels
Post by: Stefano on May 31, 2010, 11:39:15 PM
and by the way dual ethernet are not cheap ;)

well, I think they are cheap enough (http://shop.ebay.it/i.html?LH_AvailTo=101&_nkw=dual+nic&_arm=1&_armm=63&_ruu=http://shop.ebay.it/i.html%3F_nkw%3Ddual%2Bnic%26_arr%3D1&_rdc=1)
Title: Re: Usb-ethernet adapter will not work with the newer kernels
Post by: Jean-Philippe Pialasse on June 01, 2010, 12:21:54 AM
indeed ! regular PCI dual NIC are cheap .Last tim i check it was for PCI-E (that are cheaper than last time i check)


JP
Title: Re: Making the D-Link DUB-E100 Usb-ethernet adapter work
Post by: CharlieBrady on June 01, 2010, 11:49:57 PM
Finally USB network adapter(s) are not supported with SME Servers.

In fact, never have been.