Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should 2 usb 2.5G adapters work on one Diskstation? #464

Closed
alexz707 opened this issue Dec 9, 2024 · 4 comments
Closed

Should 2 usb 2.5G adapters work on one Diskstation? #464

alexz707 opened this issue Dec 9, 2024 · 4 comments
Labels
question Further information is requested

Comments

@alexz707
Copy link

alexz707 commented Dec 9, 2024

HI!
just tried some cheap ali express usb 2.5G Adapters on the diskstation.
with one plugged in I get a 3 lan adapter in DSM but when I plug in a second one it doesn't show up?
Any ideas what I can do? Stopping/starting the driver or restarting the diskstation doesn't help (DS620slim)

If I remove the first and plug in the second it shows up as soon as I restart the driver...

@Cruistar
Copy link

Cruistar commented Dec 10, 2024

Yes.
I just solved that out and I believe I used the same Ali express adapters as you mentioned.
After reading others comments elsewhere, I realised you have to change the maxlanport.
By default, my 920+ limits the amount of lan to 2. Fortunately you can change it.

There are two documents you need to change:

  1. vi /etc.defaults/synoinfo.conf
  2. vi /etc/synoinfo.conf

Process:

  1. Log in as ssh, and then get root access, same as what you did when installing the driver.
  2. Type in vi /etc.defaults/synoinfo.conf
  3. Scroll down and find this line: maxlanport=「2」
  4. press i in you keyboard to enter edit mode.
  5. Change number 2 to 4 ( this will change the max lan number to 4)
  6. Press Esc
  7. Type :wq (Save and exit)
  8. Repeat step 2->7 for vi /etc/synoinfo.conf
  9. Restart your NAS

Hopefully after that you are able to see 4 lan in your NAS.
If so, you can enable SMB multi-channel for those two 2.5G ports and get 5G.
Fingers crossed.

@knowhatamine
Copy link

knowhatamine commented Dec 13, 2024

Haha that is awesome. Was just looking for this answer after being delivered 3 of these NICs (8156 via 3.0). Thank you :)

Pretty sure I got the same adapters as you guys. ;)

@knowhatamine
Copy link

Nope, I've already had 8 adapters allowed.

This however did the trick:

bash /var/packages/r8152/scripts/install-udev-rules

Updating Hardware Database Index...
UDEV rules have been installed to /usr/lib/udev/rules.d
lrwxrwxrwx 1 root root 50 Dec 14 00:24 /usr/lib/udev/rules.d/51-usb-r8152-net.rules -> /var/packages/r8152/scripts/51-usb-r8152-net.rules

Can't say Link Aggregation is working very well though. I barely surpass 1 adapter's speed. Maybe 40% peak gain without using Synology's SMB implementation. I really regret buying this piece of shit. Synology is almost worse than Microshit who completely removed LACP drivers from Windows.

But hey, today my X520-DA2 (2x10G SFP+) adapter arrived which I got for 35 bucks on AliExpress.

Will report back if it's working or not.

All hail the great Ali!

@bb-qq bb-qq added the question Further information is requested label Dec 31, 2024
@bb-qq
Copy link
Owner

bb-qq commented Dec 31, 2024

The problem seems to be resolved, so this Issue is closed. If you have any other questions, feel free to re-open.

@bb-qq bb-qq closed this as completed Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants