Jump to content
XPEnology Community

USB 3.0 Gigabit Ethernet Adapter


iormangund

Recommended Posts

Hi,

Has anyone used an USB Ethernet adapter with xpenology 5.1+ with success? If so, what one works? Looking to add another ethernet port to my xpenology NAS but have no space pcie slots.

I know wireless adapters work, but will be using it for a high availability setup with another diskstation so wireless just doesn't cut it.

Link to comment
Share on other sites

Hi,

 

I'm in the same point: After the xhci support we need the driver for AX88179 devices (99.99% of all USB 3.0 Gigabit Ethernet Nics are based on this chip). So, please, add this driver to the XPE!

 

I suggest to create a shared repository with KERNEL drivers not included in the release. It's very easy to copy the .ko file to the install directory and enable it in the boot.

 

Someone likes this?

Link to comment
Share on other sites

Hi,

 

I'm in the same point: After the xhci support we need the driver for AX88179 devices (99.99% of all USB 3.0 Gigabit Ethernet Nics are based on this chip). So, please, add this driver to the XPE!

 

I suggest to create a shared repository with KERNEL drivers not included in the release. It's very easy to copy the .ko file to the install directory and enable it in the boot.

 

Someone likes this?

 

Actually the main adapter I am looking at uses the RTL8153 chip (http://www.amazon.co.uk/dp/B00PC0P2DI), it seems the older model of the same one uses the AX88179 chip. Of course as I don't actually have one yet, am willing to buy whatever one is confirmed as working. After making the mistake of buying a sata port multiplier and finding it doesn't work will not buy something to use with xpenology now unless it has been confirmed as working. You say it is easy to copy kernel drivers to enable it in boot, is there a tutorial somewhere on all that?

Link to comment
Share on other sites

Due to the distinct lack of info about USB 3.0 Gigabit adapters on Xpenology and only one reply to my query I am attempting to compile kernel drivers for both the AX88179 and RTL8153 chipsets, for Xpenology 5.1.

 

As I don't yet have the adapter, is there a kind soul on here who does have one that can test the kernel drivers once I have finished compiling them? (assuming I don't fail miserably)

 

Or, if anyone has a different USB 3.0 Gigabit adapter I will compile the driver for that instead to try. Whatever it takes to get a USB 3.0 Gigabit lan adapter to work.

Link to comment
Share on other sites

Compiled the driver for DSM 5.1 (Used gcc473_glibc217_x86_64_bromolow-GPL and synogpl-5004-x64)

I hope I did it right, can someone please test it? Should work if you just drop the .ko into /lib/modules I think.

 

Couldn't attach it as I got a "board attachment quota has been reached" warning, so here's a link instead.

http://www.megafileupload.com/en/file/6 ... a-rar.html

Link to comment
Share on other sites

  • 6 months later...

Nope. Even tried getting the drivers into a release via the driver request page.

 

I got an AX88179 adapter to test with but couldn't get it to work, gave up in the end. No idea if current xenoboot works as I can't get any version above 5.1-5022.3 to work without trying a clean install.

 

I probably still have the files I tried with somewhere but don't think they would work with current builds. I assume there is still no support for usb3.0 gigabit adapters. (Would love to be proven wrong)

Link to comment
Share on other sites

Got the info from forum threads, no tutorial, was mostly guesswork, trial and error. Can't remember what threads and don't remember the exact steps. As I never got it to work I may have been doing it completely wrong anyway.

Too busy with work to spend the time to figure it all out again.

Sorry, I know that's not much help.

Link to comment
Share on other sites

The ax88179_178a driver is already included in the latest release but devs have forgot some dependency. I can't update it because bootloader overwrite it at boot.

The ax88179_178a driver depend of usbnet that depend of mii. Both modules are included, we only need to load them.

 

I also build the latest (v2.05.0 - 2015/8/13) realtek RT8153 driver called r8152.

Download r8152

Copy the r8152.ko file to /lib/modules/

 

To automatically load drivers, you have to edit line 310 of /etc/rc and /etc.default/rc

Change : NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx"

To : NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx mii usbnet ax88179_178a r8152"

Then reboot and enjoy :smile:

 

You can check with lsmod command that drivers are properly loaded:

DiskStation> lsmod | grep usbnet
usbnet                 18137  1 ax88179_178a
mii                     3803  3 r8152,ax88179_178a,usbnet
usbcore               174870 13 usbhid,usblp,usb_storage,oxu210hp_hcd,r8152,ax88179_178a,usbnet,etxhci_hcd,xhci_hcd,ehci_pci,ehci_hcd,uhci_hcd,ohci_hcd

Link to comment
Share on other sites

  • 2 weeks later...
The ax88179_178a driver is already included in the latest release but devs have forgot some dependency. I can't update it because bootloader overwrite it at boot.

The ax88179_178a driver depend of usbnet that depend of mii. Both modules are included, we only need to load them.

 

I also build the latest (v2.05.0 - 2015/8/13) realtek RT8153 driver called r8152.

Download r8152

Copy the r8152.ko file to /lib/modules/

 

To automatically load drivers, you have to edit line 310 of /etc/rc and /etc.default/rc

Change : NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx"

To : NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx mii usbnet ax88179_178a r8152"

Then reboot and enjoy :smile:

 

You can check with lsmod command that drivers are properly loaded:

DiskStation> lsmod | grep usbnet
usbnet                 18137  1 ax88179_178a
mii                     3803  3 r8152,ax88179_178a,usbnet
usbcore               174870 13 usbhid,usblp,usb_storage,oxu210hp_hcd,r8152,ax88179_178a,usbnet,etxhci_hcd,xhci_hcd,ehci_pci,ehci_hcd,uhci_hcd,ohci_hcd

So what adapters will work with this module?

Edit

Dutch shopping site has a USB to lan: http://www.mijn-artikel.nl/Webwinkel-Pr ... 1000M.html

Ebay1: http://m.ebay.com/itm/261865684536?_mwBanner=1

Amazon: http://www.amazon.com/Cable-Matters®-SuperSpeed-Gigabit-Ethernet/dp/B00C50FSPU

Link to comment
Share on other sites

  • 2 weeks later...

Hi Trantor

 

So to recap, USB 3 to ethernet adaptors do work in Xpenology with the code mods specified?

 

I am looking at running xpenology as a VM in esxi, will the code mods still work in setting up the adaptor for use in DSM using normal esxi usb pass thru or would I have to pass thru the usb 3 controller on my G8 microserver with VT-d to get this to work.

 

cheers

Link to comment
Share on other sites

  • 2 weeks later...

Put my new cpu with Vt-d in and setup usb passthru of the usb 3 controller on the G8 to the Xpenology vm. Edited the files as per this thread and all works fine, usb 3 dongle is picked up in DSM as nic 2 and works perfectly for connection to camera network.

Link to comment
Share on other sites

Hi Trantor

 

So to recap, USB 3 to ethernet adaptors do work in Xpenology with the code mods specified?

 

I am looking at running xpenology as a VM in esxi, will the code mods still work in setting up the adaptor for use in DSM using normal esxi usb pass thru or would I have to pass thru the usb 3 controller on my G8 microserver with VT-d to get this to work.

 

cheers

 

I used this on Xpenology with the method that Trantor suggested; my USB3.0 GB dongle now works on a HP N40l Microserver.

Link to comment
Share on other sites

  • 6 months later...

I since updated my server to version XPEnoboot 5.2-5544.5 and it seems to have knocked off my USB dongle which previously worked fine.

 

Also, I've noticed their is much more lines of code in both 'rc' files that i previously edited to get my dongle working the first time around:

 

/etc/rc

 

and

 

/etc.default/rc

 

The old code looked like this at line 310:

 

NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx"

 

And we previously changed it to this at line 310 which made it work before:

 

NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe tn40xx mii usbnet ax88179_178a r8152"

 

 

But now the 'NET_DRIVERS' line is now located at line 324 now, but looks slightly different, like this:

 

NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe ${I40E_MODULES} tn40xx ${MLX_MODULES}"

 

 

The update also removed the file which we added to the /lib/modules/ directory

 

r8152.ko

 

I've since put that file back and also tried to add the line of code that we previously added before (line 310) but at the end of line 324 like this, but it isn't working and im not even sure if its right.

 

NET_DRIVERS="dca e1000e i2c-algo-bit igb be2net ixgbe ${I40E_MODULES} tn40xx ${MLX_MODULES} mii usbnet ax88179_178a r8152"

Link to comment
Share on other sites

  • 2 months later...

Hi,

same problem here.

I buyed a Rankie USB 3.0 zu RJ45 10/100/1000 Gigabit Ethernet LAN.

Recognized in busybox and DSM GUI but gets no IP.

 

 

eth1      Link encap:Ethernet  HWaddr A0:CE:C8:0F:C1:B8
         inet addr:169.254.217.38  Bcast:169.254.255.255  Mask:255.255.0.0
         inet6 addr: fe80::a2ce:c8ff:fe0f:c1b8/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
         RX packets:4448 errors:0 dropped:0 overruns:0 frame:0
         TX packets:720482 errors:56 dropped:30 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:1530088 (1.4 MiB)  TX bytes:119029131 (113.5 MiB)

 

Any ideas?

Greetings

Link to comment
Share on other sites

Hi,

same problem here.

I buyed a Rankie USB 3.0 zu RJ45 10/100/1000 Gigabit Ethernet LAN.

Recognized in busibox and DSM GUI but gets no IP.

 

 

eth1      Link encap:Ethernet  HWaddr A0:CE:C8:0F:C1:B8
         inet addr:169.254.217.38  Bcast:169.254.255.255  Mask:255.255.0.0
         inet6 addr: fe80::a2ce:c8ff:fe0f:c1b8/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
         RX packets:4448 errors:0 dropped:0 overruns:0 frame:0
         TX packets:720482 errors:56 dropped:30 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:1530088 (1.4 MiB)  TX bytes:119029131 (113.5 MiB)

 

Any ideas?

Greetings

Link to comment
Share on other sites

  • 3 weeks later...

Well after giving up on this a long time ago due to problems every time I tried upgrading my DSM version from 5.1 I finally gave it another try on DSM 5.2-5644 and finally had a successful upgrade.

I followed Trantor's suggestion and it worked flawlessly with ax88179_178a on DSM 5.2-5644 Update 5.

Thank you!

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...