Jump to content
XPEnology Community

Drivers for USB 3.0 to Ethernet 2.5/5 Gbit


geky

Recommended Posts

So bb-qq package driver works but after restart eth is down in ifconfig -a. First I disabled one eth on the motherboard and it didnt help.

 

Then I just added a user defined task on boot and it remembers ip settings.

#!/bin/bash
ifconfig eth1 up

 

Speed:2.5gbe2.png.4f45d543e3bed12d6809247a19443e9a.png

 

This is on a frankenstein 1.5tb 2tb 3tb 4tb 8tb 2x10tb nas :)  Also added hdparm write cache enable for 3 wd greens in that script.

 

Hopefully this works, time to test it by copying alot of tbs on my first nas. 

 

Edited by Mincemeat
Link to comment
Share on other sites

  • 3 months later...
On 7/20/2020 at 11:18 PM, jackhudson said:

is there another way to install?

r8152.ko is part of my driver package

https://xpenology.com/forum/topic/28321-driver-extension-jun-103b104b-for-dsm623-for-918-3615xs-3617xs/

 

On 7/20/2020 at 11:18 PM, jackhudson said:

cant find the .spk package file

 

at least for 918+ there is a spk

https://github.com/bb-qq/r8152/releases/tag/2.13.0-1

 

Link to comment
Share on other sites

  • 1 year later...

hi guys. got this one 

lsusb output:

|__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-2         046d:c517:3810 00  1.10  1.5MBit/s 98mA 2IFs (Logitech USB Receiver ffffffc6ffffffa3ffffffd5ffffffbc)
  |__1-10        8087:0026:0002 e0  2.01   12MBit/s 100mA 2IFs ( ffffffd1ffffffb2ffffffdbffffffad)
|__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         8564:1000:0a00 00  3.00 5000MBit/s 504mA 1IF  (JetFlash Mass Storage Device 09021000000000000726862170)
  |__2-4         2eca:c101:0101 00  3.20 5000MBit/s 896mA 1IF  (Aquantia Aquantia 5G USB Ethernet Adapter 000000BP)

this is what i see in dmesg:

[    4.722654] aqc111 2-4:1.0 eth1: register 'aqc111' at usb-0000:00:14.0-4, Aquantia AQtion USB to 5GbE Controller, 00:0a:cd:38:eb:15
[    4.738082] 2021-10-14 14:58:28 UTC
[    4.738082] synobios: load, major number 201
[    4.738102] Brand: Synology
[    4.738102] Model: DS-918+
[    4.738103] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[    4.738103] synobios cpu_arch proc entry initialized
[    4.738103] synobios crypto_hw proc entry initialized
[    4.738104] synobios syno_platform proc entry initialized
[    4.738105] synobios open /dev/ttyS1 success
[    5.291213] xhci_hcd 0000:00:14.0: device is plugged out, empty URBs
[    5.312692] usb 2-4: USB disconnect, device number 3
[    5.312701] aqc111 2-4:1.0 eth1: unregister 'aqc111' usb-0000:00:14.0-4, Aquantia AQtion USB to 5GbE Controller
[    6.506037] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0006: -110
[    6.506041] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[    6.506043] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[    6.506044] aqc111 2-4:1.0 eth1: Failed to read(0x1) reg index 0x0001: -19
[    6.506044] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[    6.506050] aqc111 2-4:1.0 eth1: Failed to write(0x64) reg index 0x0000: -19
[    6.506050] aqc111 2-4:1.0 eth1: Failed to write(0x61) reg index 0x0000: -19
[    6.506077] aqc111 2-4:1.0 eth1: Failed to write(0x61) reg index 0x0000: -19
[    6.506077] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0006: -19
[    6.506077] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[    6.506078] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[    6.506078] aqc111 2-4:1.0 eth1: Failed to read(0x1) reg index 0x0001: -19
[    6.506078] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[    6.506079] aqc111 2-4:1.0 eth1: Failed to write(0x64) reg index 0x0000: -19
[    6.506079] aqc111 2-4:1.0 eth1: Failed to write(0x61) reg index 0x0000: -19
[    6.506080] aqc111 2-4:1.0 eth1: Error submitting the control message: status=-19
[    6.506351] aqc111 2-4:1.0 eth1: Error submitting the control message: status=-19
[    6.506605] aqc111 2-4:1.0 eth1: Error submitting the control message: status=-19
[    6.506893] aqc111 2-4:1.0 eth1: Error submitting the control message: status=-19
[    6.507132] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    6.507165] aqc111 2-4:1.0 eth1: Failed to read(0x1) reg index 0x0002: -19
[    6.507165] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0002: -19
[    6.507166] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0002: -19
[    6.507166] aqc111 2-4:1.0 eth1: Failed to write(0x61) reg index 0x0000: -19
[    6.519118] aqc111 2-4:1.0 eth1 (unregistered): Failed to write(0x1) reg index 0x0002: -19
[    6.519119] aqc111 2-4:1.0 eth1 (unregistered): Failed to write(0x1) reg index 0x0002: -19
[    6.519119] aqc111 2-4:1.0 eth1 (unregistered): Failed to write(0x61) reg index 0x0000: -19
[    6.645776] usb 2-4: new SuperSpeed USB device number 4 using xhci_hcd
[    6.652492] aqc111 2-4:1.0 eth1: register 'aqc111' at usb-0000:00:14.0-4, Aquantia AQtion USB to 5GbE Controller, 00:0a:cd:38:eb:15
[    6.798694] usb 2-4: USB disconnect, device number 4
[    6.798705] aqc111 2-4:1.0 eth1: unregister 'aqc111' usb-0000:00:14.0-4, Aquantia AQtion USB to 5GbE Controller
[    6.924577] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[    7.898409] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0006: -110
[    7.898410] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[    7.898410] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[    7.898411] aqc111 2-4:1.0 eth1: Failed to read(0x1) reg index 0x0001: -19
[    7.898411] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[    7.898411] aqc111 2-4:1.0 eth1: Failed to write(0x64) reg index 0x0000: -19
[    7.898412] aqc111 2-4:1.0 eth1: Failed to write(0x61) reg index 0x0000: -19
[    7.925803] BTRFS: device label 2021.10.14-14:48:47 v25426 devid 1 transid 31 /dev/md2
[    7.925933] BTRFS info (device md2): enabling auto syno reclaim space
[    7.925934] BTRFS info (device md2): use ssd allocation scheme
[    7.925934] BTRFS info (device md2): using free space tree
[    7.925934] BTRFS info (device md2): has skinny extents
[    8.138528] audit: type=1400 audit(1634223522.222:2): apparmor="DENIED" operation="capable" profile="/usr/sbin/dhclient" pid=9653 comm="dhclient" capability=16  capname="sys_module"
[    8.344923] init: dhcp-client (eth0) main process (9438) killed by TERM signal
[    8.351028] aqc111 2-4:1.0 eth1 (unregistered): Failed to write(0x1) reg index 0x0002: -19
[    8.351029] aqc111 2-4:1.0 eth1 (unregistered): Failed to write(0x1) reg index 0x0002: -19
[    8.351029] aqc111 2-4:1.0 eth1 (unregistered): Failed to write(0x61) reg index 0x0000: -19
[    8.351074] init: dhcp-client (eth1) main process (9653) terminated with status 1
[    8.351099] init: dhcp-client (eth1) main process ended, respawning
[    8.407389] usb 2-4: new SuperSpeed USB device number 5 using xhci_hcd
[    8.413594] aqc111 2-4:1.0 eth1: register 'aqc111' at usb-0000:00:14.0-4, Aquantia AQtion USB to 5GbE Controller, 00:0a:cd:38:eb:15
[    8.455922] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.455923] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[    8.456992] ehci-pci: EHCI PCI platform driver
[    8.462144] uhci_hcd: USB Universal Host Controller Interface driver
[    8.465001] usbcore: registered new interface driver usblp
[    8.468656] usbcore: registered new interface driver usbhid
[    8.468656] usbhid: USB HID core driver
[    8.906081] iSCSI:target_core_rodsp_server.c:1027:rodsp_server_init RODSP server started, login_key(0011327b29df).
[    8.907252] iSCSI:extent_pool.c:766:ep_init syno_extent_pool successfully initialized
[    8.909352] iSCSI:target_core_device.c:617:se_dev_align_max_sectors Rounding down aligned max_sectors from 4294967295 to 4294967288
[    8.909374] iSCSI:target_core_lunbackup.c:361:init_io_buffer_head 512 buffers allocated, total 2097152 bytes successfully
[    8.912680] iSCSI:target_core_file.c:146:fd_attach_hba RODSP plugin for fileio is enabled.
[    8.912681] iSCSI:target_core_file.c:153:fd_attach_hba ODX Token Manager is enabled.
[    8.912683] iSCSI:target_core_multi_file.c:91:fd_attach_hba RODSP plugin for multifile is enabled.
[    8.912684] iSCSI:target_core_ep.c:786:ep_attach_hba RODSP plugin for epio is enabled.
[    8.912684] iSCSI:target_core_ep.c:793:ep_attach_hba ODX Token Manager is enabled.
[    8.949997] capability: warning: `nginx' uses 32-bit capabilities (legacy support in use)
[    8.979963] FAT-fs (sdq1): FAT: nls_disk load default table

[    8.981865] FAT-fs (sdq1): FAT: nls_io load default table

[    9.067290] init: iscsi_pluginserverd main process (12192) killed by TERM signal
[    9.067497] init: iscsi_pluginengined main process (12184) killed by TERM signal
[    9.111032] loop: module loaded
[    9.140767] init: scsi_plugin_server main process (12187) killed by TERM signal
[    9.583237] FAT-fs (sdq2): FAT: nls_disk load default table

[    9.583646] FAT-fs (sdq2): FAT: nls_io load default table

[   10.280215] ata3.00: supports DRM functions and may not be fully accessible
[   10.280275] ata3.00: disabling queued TRIM support
[   10.280501] ata3.00: supports DRM functions and may not be fully accessible
[   10.280593] ata3.00: disabling queued TRIM support
[   10.280693] ata3.00: configured for UDMA/133
[   10.280694] ata3: EH complete
[   10.280710] ata3.00: Enabling discard_zeroes_data
[   31.258772] xhci_hcd 0000:00:14.0: device is plugged out, empty URBs
[   31.268053] usb 2-4: USB disconnect, device number 5
[   31.268062] aqc111 2-4:1.0 eth1: unregister 'aqc111' usb-0000:00:14.0-4, Aquantia AQtion USB to 5GbE Controller
[   32.213398] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0006: -110
[   32.213399] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[   32.213399] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[   32.213400] aqc111 2-4:1.0 eth1: Failed to read(0x1) reg index 0x0001: -19
[   32.213400] aqc111 2-4:1.0 eth1: Failed to write(0x1) reg index 0x0001: -19
[   32.213401] aqc111 2-4:1.0 eth1: Failed to write(0x64) reg index 0x0000: -19
[   32.213402] aqc111 2-4:1.0 eth1: Failed to write(0x61) reg index 0x0000: -19
[   32.307481] aqc111 2-4:1.0 eth1 (unregistered): Failed to write(0x1) reg index 0x0002: -19
[   32.307482] aqc111 2-4:1.0 eth1 (unregistered): Failed to write(0x1) reg index 0x0002: -19
[   32.307482] aqc111 2-4:1.0 eth1 (unregistered): Failed to write(0x61) reg index 0x0000: -19
[   32.443452] usb 2-4: new SuperSpeed USB device number 6 using xhci_hcd
[   32.450487] aqc111 2-4:1.0 eth1: register 'aqc111' at usb-0000:00:14.0-4, Aquantia AQtion USB to 5GbE Controller, 00:0a:cd:38:eb:15

 

this is ifconfig eth1 output:

eth1      Link encap:Ethernet  HWaddr 00:0A:CD:38:EB:15
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

when i try to up the interface with ifconfig eth1 up, got this:

SIOCSIFFLAGS: No such device

 

any advice will be appreciated

 

Link to comment
Share on other sites

  • 5 months later...

I can tell you the bb-qq package got my realtek nic working, its built in but on the usb bus of my nas box. I tried all the r8152 drivers using rp, and none got it working for me, installed that spk from bb-qq and issued his one line in ssh and the nic port instantly worked.

 

https://github.com/bb-qq/r8152

 

he has different releases and directions on the githib

  • Like 1
Link to comment
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.

×
×
  • Create New...