geky

Drivers for USB 3.0 to Ethernet 2.5/5 Gbit

Recommended Posts

USB 3.0 (USB 3.2 Gen1) dongles have appeared in the market supporting ethernet RJ45 adaptors with 2.5/5.0 GBit speed.

 

e.g:

https://www.club-3d.com/en/detail/2467/usb_3.2_gen1_type_a_to_rj45_2.5gbps/

https://www.qnap.com/en/product/qna-uc5g1t

 

It would be great if someone would be able to develop drivers so that we can use these dongles with Xpenology or even synology NASs.

Is anyone knowledgable and interested enough to give it a go?

Share this post


Link to post
Share on other sites

What an excellent idea! I wish synology would add this to base DSM for my real 1815+ !!!

Share this post


Link to post
Share on other sites

excellent! thanks so much for your work. Once these show up at my local QNAP dealer I will buy one and see what it does for my DS1813+ !

 

Share this post


Link to post
Share on other sites

got it working!, for some reason I just had to go to command prompt and run: ifconfig eth2 up, shows up in network interfaces now getting link and dhcp from my router. I will dirrect connect it to a 10g adapter on my PC later to test throughput "dont have a 10g switch yet"

Share this post


Link to post
Share on other sites

I can't seem to get the link to work over 1000Mbps

In the Aqantia driver readme it says:

 

Supported ethtool options
============================
 Viewing adapter settings
 ---------------------
 ethtool <ethX>
 
 Output example:
 Settings for enp1s0:
        Supported ports: [ ]
        Supported link modes:   100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: 10000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Link detected: yes

 ---
 Note: AQrate speeds (2.5/5 Gb/s) will be displayed only with linux kernels > 4.10.
    But you can still use these speeds:
    ethtool -s eth0 autoneg off speed 2500

 

root@TerraServer:~# ethtool eth2
Settings for eth2:
        Supported ports: [ TP MII ]
        Supported link modes:   100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
 

root@TerraServer:~# ethtool -s eth2 autoneg off speed 5000
Cannot set new settings: Invalid argument
  not setting speed
  not setting autoneg


root@TerraServer:~# ethtool --version
ethtool version 3.13
 

This has been successfully tested on a real DS918+ but I'm not sure what the problem is here

 

 

Share this post


Link to post
Share on other sites

i've downloaded the latest driver "AQ_USBDongle_LinuxDriver_1.3.3.0.zip" and the fiji.tar.gz contains a "README.md" but nothing like this

what readme? where did you downlaod it?

 

 

Share this post


Link to post
Share on other sites

that's a different driver for the pcie cards, i know because i compiled both for the new 918+ extra.lzma

the 1.3.3 is the one or the usb, the chip you would have to select ends with a "U" like usb

the 1.3.3 has a release date of 08 July 2019, so its not old

 

Share this post


Link to post
Share on other sites

ah oops, missed the C vs U version. So even though I got a 5Gb connection with the adapter plugged into my PC I've ordered some new Cat7 cables to make sure it's not falling back to 1Gb with the linux drivers on the NAS

Share this post


Link to post
Share on other sites

well new Cat7 cable made no difference, still only links at 1Gb with the QNAP USB NIC on the NAS. I'm at a loss what it could be. This is pretty dissapointing. 

Share this post


Link to post
Share on other sites

update, so it seems my adapter is only running at USB2 speeds and thus the NIC limits link speed to 1Gb.

lsusb
1c04:0015:0101 00  2.10  480MBit/s 500mA 1IF  (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 97I05619)
it is indeed plugged into a USB 3.0 port, why would the USB be falling back to USB2 speed?

 

I need to go look in my bios a lil.. I'm wondering if I have XHCI hand-off enabled

Edited by Black6spdZ

Share this post


Link to post
Share on other sites

i'm not sure the dsm 6.1 for 3615/17 is supporting usb 3.0, there is no xhci-hcd.ko present in dsm (like it is in 918+ image)

but the dsm 6.2 for 3615 has it

Edited by IG-88

Share this post


Link to post
Share on other sites

checked bios and xhci hand-off is enabled already. i'm running 918+ image

administrator@TerraServer:/$ lsusb
|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
  |__1-1         f400:f400:0127 00  2.00  480MBit/s 200mA 1IF  (SanDisk Cruzer Fit 4C530006041227100443)
  |__1-2         1c04:0015:0101 00  2.10  480MBit/s 500mA 1IF  (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 97I05619)
  |__1-4         046b:ff01:0100 09  2.00  480MBit/s 100mA 1IF  (American Megatrends Inc. Virtual Hub) hub
    |__1-4.1     046b:ff10:0100 00  1.10  1.5MBit/s 0mA 2IFs (American Megatrends Inc. Virtual Keyboard and Mouse ffffffd1ffffffa2ffffffd7ffffffb8)
|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
|__usb3          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1a.0) hub
  |__3-1         8087:8008:0005 09  2.00  480MBit/s 0mA 1IF  ( ffffffd1ffffffb2ffffffdbffffffad) hub
|__usb4          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1d.0) hub
  |__4-1         8087:8000:0005 09  2.00  480MBit/s 0mA 1IF  ( ffffffd1ffffffb2ffffffdbffffffa0) hub

 

the bootloader drive is 2.0.. that wouldn't cause everything on that root hub/ports to fall back to usb2?

Share this post


Link to post
Share on other sites

been trying different combinations of bios usb settings and I just cant get any usb3 device to show up in usb3 mode

Share this post


Link to post
Share on other sites
20 hours ago, Black6spdZ said:

. that wouldn't cause everything on that root hub/ports to fall back to usb2?

that what it looks like in your lsusb

usb1 shows only 480Mbit

 

20 hours ago, Black6spdZ said:

|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub

that would be best choice to connect the nic, 5000Mbit and no other device

 but i guess you already tried?

Share this post


Link to post
Share on other sites

there are two usb3 ports on the back, one has the sandisk bootloader drive and the other has the qnap nic.. I've been searching and see others with similar issues with other versions of linux kernels.. some fixed with bios settings, others with newer kernels.. i'm lost.

Share this post


Link to post
Share on other sites
20 hours ago, Black6spdZ said:

there are two usb3 ports on the back, one has the sandisk bootloader drive and the other has the qnap nic..

 

i see 2 options, get a usb onboard connector and connect the sandisk to the internal usb 2.0 connector, that way the usb 3.0 will not be shared

or get a usb 3.0 flash drive so sharing will not decrease usb 3.0 port speed

Edited by IG-88

Share this post


Link to post
Share on other sites

I had thought of that for next attempt.. I'll let ya know later this evening or tomorrow how it works with the usb3 thumb drive

Share this post


Link to post
Share on other sites

damn it to hell.. switched to a usb3 flash drive for my loader key and STILL only get usb2 speeds

administrator@TerraServer:/$ lsusb
|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
  |__1-1         1c04:0015:0101 00  2.10  480MBit/s 500mA 1IF  (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 97I05619)
  |__1-2         f400:f400:0100 00  2.10  480MBit/s 300mA 1IF  (Kingston DataTraveler 3.0 0014785448B1BE10D742118C)
  |__1-4         046b:ff01:0100 09  2.00  480MBit/s 100mA 1IF  (American Megatrends Inc. Virtual Hub) hub
    |__1-4.1     046b:ff10:0100 00  1.10  1.5MBit/s 0mA 2IFs (American Megatrends Inc. Virtual Keyboard and Mouse ffffffd1ffffffa2ffffffd7ffffffb8)
|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
 

Share this post


Link to post
Share on other sites

finally!!! I had to set manual xhci mode and force all usb pins in bios options to go to xhci instead of just auto setting

administrator@TerraServer:/$ lsusb
|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
  |__1-4         046b:ff01:0100 09  2.00  480MBit/s 100mA 1IF  (American Megatrends Inc. Virtual Hub) hub
    |__1-4.1     046b:ff10:0100 00  1.10  1.5MBit/s 0mA 2IFs (American Megatrends Inc. Virtual Keyboard and Mouse ffffffd1ffffffa2ffffffd7ffffffb8)
|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub
  |__2-1         1c04:0015:0101 00  3.20 5000MBit/s 896mA 1IF  (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 97I05619)
  |__2-2         f400:f400:0100 00  3.00 5000MBit/s 504mA 1IF  (Kingston DataTraveler 3.0 0014785448B1BE10D742118C)
|__usb3          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1a.0) hub
  |__3-1         8087:8008:0005 09  2.00  480MBit/s 0mA 1IF  ( ffffffd1ffffffb2ffffffdbffffffad) hub
|__usb4          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (ehci_hcd 0000:00:1d.0) hub
  |__4-1         8087:8000:0005 09  2.00  480MBit/s 0mA 1IF  ( ffffffd1ffffffb2ffffffdbffffffa0) hub
 

so others in my situation with mini-itx nas builds and using their single pcie slot for a SAS controller now have an option for >1Gbe network throughput

 

5gbe-2.jpg

.

 

5gbe.jpg

Edited by Black6spdZ
  • Like 2

Share this post


Link to post
Share on other sites

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.