Comments (21)
Thank you for sharing the solution. I will try this.
I will keep on investigating a straight solution that behaves like built-in interfaces.
from r8152.
I supose theses user scheduled task, defined by build-in interfaces, persist the config somewhere on disk. If the package install script can do the same, to auto define the "user scheduled task" at the install stage, it's possible to fix the issue.
from r8152.
Thanks to @iwanovich, the driver supported setting persistence. Please download the latest version and let me know whether it works.
from r8152.
@bb-qq Can confirm with the latest driver and on the 1815+ there is no persistence between restarts
from r8152.
Had a further look into it. The config file at /etc/sysconfig/network-scripts/ is wiped empty after a restart even if I save a config to it. Looking at the code in start-stop-status at lines 25 (and perhaps 12) you conditionals are not correct if my memories of bash are correct? Shouldn't they be '=='. This is right before this would save the config location. Apologies if I am wrong, bash is not even my third language and it quite an oddity :)
from r8152.
from r8152.
Hello there - First of all, nice job, the driver works really well with my DS620slim and my CableCreation USB 3.0 to 2.5 Gigabit LAN Ethernet Cable Adapter. I just wanted to let you know that just like others, the NIC disappears after reboot and a re-installation of the package fixes the issue (using the latest version).
Cheers,
David
from r8152.
Persistence seems to work correctly in my environment(DS918+). What DSM version are you using?
from r8152.
from r8152.
Hi, was a ds1815+, DSM 6.2.2-24922 update 6. I have given up with the usb adapter, too much buffering problems of 4k streams, not sure the cpu could cope consistently enough with the usb overhead. :( bought a 1819+ with an official 10gb card
…
On Tue, 7 Apr 2020, 10:17 bb-qq, @.***> wrote: Persistence seems to work correctly in my environment(DS918+). What DSM version are you using? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKB74HED77HXYS2DD3GECF3RLLVTDANCNFSM4IYSGYLQ .
Dear Chloe, I took a look but am unable to reproduce the problem. The patch that was created by me was for the AQC111 driver and I don't have the hardware to reproduce your scenario. I understand you resolved your problem by changing hardware.
from r8152.
Hi,
I use DSM 6.2.2-24922 Update 4, which seems to be the latest version for the DS620slim.
After a reboot, I need to stop the driver package, then run it again, to get the NIC to re-appear.
Not the end of the world as I hardly ever reboot my NAS, but just letting you know there is an issue with the slim.
Cheers,
David
from r8152.
Hi @ChloeMarieTaylor76 , could you confirm whether reproduce the issue with the new 1819+?
(Just FYI: enabling jumbo-frame may help performance)
from r8152.
After a reboot, I need to stop the driver package, then run it again, to get the NIC to re-appear
Hi @davidgirard, does setting persistence to work correctly after stop/run operation?
It may be a timing issue between device detection and running the script. If you attach the output of dmesg, I will look into it.
from r8152.
Hi @bb-qq,
Thanks for offering to look into it!
Loading sequence during boot:
[ 47.360270] r8152: module verification failed: signature and/or required key missing - tainting kernel
[ 47.402919] usbcore: registered new interface driver r8152
[ 47.534198] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[ 47.665067] r8152 2-1:1.0 eth2: v2.12.0 (2019/04/29)
[ 47.671029] r8152 2-1:1.0 eth2: This product is covered by one or more of the following patents:
US6,570,884, US6,115,776, and US6,327,625.
Then nothing (the next set of dmesg is unrelated).
If I stop then start it again, note the different sequence:
[ 178.447495] usbcore: deregistering interface driver r8152
[ 203.346986] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[ 203.458804] r8152 2-1:1.0 eth2: v2.12.0 (2019/04/29)
[ 203.464369] r8152 2-1:1.0 eth2: This product is covered by one or more of the following patents:
US6,570,884, US6,115,776, and US6,327,625.
[ 203.481906] usbcore: registered new interface driver r8152
[ 203.531498] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[ 207.618509] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
[ 207.625673] r8152 2-1:1.0 eth2: carrier on
Cheers,
David
from r8152.
Could you please try to add a sleep
command to the driver's script directly by editing /var/packages/r8152/scripts/start-stop-status
like this:
/sbin/insmod $SYNOPKG_PKGDEST/r8152/r8152.ko
sleep 5
set_interfaces up
from r8152.
@bb-qq That did the trick!
[ 44.939292] r8152: module verification failed: signature and/or required key missing - tainting kernel
[ 44.968659] usbcore: registered new interface driver r8152
[ 45.099294] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[ 45.218141] r8152 2-1:1.0 eth2: v2.12.0 (2019/04/29)
[ 45.223837] r8152 2-1:1.0 eth2: This product is covered by one or more of the following patents:
US6,570,884, US6,115,776, and US6,327,625.
[ 50.042944] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[ 50.215815] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
[ 50.222966] r8152 2-1:1.0 eth2: carrier on
Easy fix for your next release.
Thank you,
David
from r8152.
Thank you for the report. This fix was applied to this version: https://github.com/bb-qq/r8152/releases/tag/2.12.0-3
from r8152.
Just installed 2.12.0-3, all good.
Thanks!
from r8152.
Closing. Please feel free to re-open the issue if you still encounter this problem.
from r8152.
I'm having the same issue on my DS216j. Driver Version is 2.14.0-2. The device is detected, but the link is not automatically started. I need to manually start the link on eth1. After that, i always need to set the mode to dhcp.
Any ideas how to solve it?
from r8152.
I'm having the same issue on my DS216j. Driver Version is 2.14.0-2. The device is detected, but the link is not automatically started. I need to manually start the link on eth1. After that, i always need to set the mode to dhcp.
Any ideas how to solve it?
Could you try to increase the delay in the above comment? If it does not help, please create another issue with logs.
from r8152.
Related Issues (20)
- [works] 1618+ DSM 7.2.1-69057 and ASUS USB-C2500 works flawlessly.
- DS 918+ QNAP QNA-UC5G1T not working on DSM 7.1 HOT 1
- DS115J 2.5gbit/s possibility HOT 3
- DS-420+ & Ugreen Adapter 2.5: No automatic start on boot ? HOT 2
- Can’t installe r8152 on DS418 DSM7.2.1 HOT 16
- Driver 2.17.1-2 for DSM 7.2 and above? HOT 1
- DS214play & DS218play not quite working random disconnect & limited speed HOT 3
- 802.3ad LACP bond missing after reboot HOT 2
- SA6400 new chip Epyc7002 should choose which driver? DSM is 7.2. HOT 3
- Geminilake Support for DSM 6.2 HOT 2
- asking for "purley" Support SA6400 HOT 1
- Network port was visible in DSM after install, now no longer visible, DS218+ and ULT-WIIQ Adapter
- synology ds220J with USB nic RTL8156 won't work HOT 3
- Ugreen 2.5g .USB_C and DSM 7.1 XPenology HOT 1
- Package suddenly not worked (endless broken) HOT 7
- 2.5G Ethernet very slow on DS214play (evansport) HOT 5
- DS923+ Problem after update (DSM 7.2.1) HOT 1
- Suggestion for Updating the biaze KZ13 Product Link to Offer a More Competitive Price
- DS420+ does not recognize 2.5GB USB Ethernet Adapter HOT 1
- r8152-rtd1296 for 6.2 ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r8152.