bb-qq / r8152

Synology DSM driver for Realtek RTL8152/RTL8153/RTL8156 based adapters
GNU General Public License v2.0
1.91k stars 178 forks source link

DSM 7.1.1-42962U2 driver 2.16.3-2 DSM7.x fails to load automatically at startup/does not default to DHCP #261

Closed varunnangia closed 2 weeks ago

varunnangia commented 1 year ago

Description of problem Under DSM 7.1.1-42962 Update 2, driver release version 2.16.3-2 DSM7.x, the package does not appear to startup automatically. When started manually, the package does not remember to default to DHCP. I have tried both front and rear ports.

Description of products

Description of environment NAS connects to Flex XG, M1 Mac Mini with built-in 10Gbe connects to Flex XG. Flex XG is managed by a UDM-SE.

Relevant ifconfig output Small redactions indicated by [redacted]. ztc interface is a tunnel created by the use of ZeroTier.

docker0   Link encap:Ethernet  HWaddr 02:42:F6:0A:8D:77  
          inet addr:172.17.0.1  Bcast:172.17.255.255  Mask:255.255.0.0
          UP 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)

eth0      Link encap:Ethernet  HWaddr 00:11:32:[redacted]  
          inet addr:169.254.208.56  Bcast:169.254.255.255  Mask:255.255.0.0
          UP 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)
          Interrupt:125 

eth1      Link encap:Ethernet  HWaddr 00:11:32:[redacted]  
          inet addr:169.254.102.224  Bcast:169.254.255.255  Mask:255.255.0.0
          UP 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)
          Interrupt:126 base 0x6000  

eth2      Link encap:Ethernet  HWaddr 8C:AE:4C:[redacted]  
          inet addr:10.0.0.8  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::8eae:4cff:fedd:4cb0/64 Scope:Link
          inet6 addr: [redacted]:600::79d/128 Scope:Global
          inet6 addr: [redacted]:600:8eae:4cff:fedd:4cb0/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:448052788 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48855053 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:667697253904 (621.8 GiB)  TX bytes:6693756101 (6.2 GiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:385624 errors:0 dropped:0 overruns:0 frame:0
          TX packets:385624 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:85200456 (81.2 MiB)  TX bytes:85200456 (81.2 MiB)

ztc25ff5v Link encap:Ethernet  HWaddr EA:BB:D4:E7:76:1D  
          inet addr:10.147.17.204  Bcast:10.147.17.255  Mask:255.255.255.0
          inet6 addr: fe80::e8bb:d4ff:fee7:761d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:32935 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37406 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7083610 (6.7 MiB)  TX bytes:7019577 (6.6 MiB)

Workaround I've created a task at boot-up that runs as root that toggles the package off and on, and sets the interface to DHCP:

synoservice --disable pkgctl-r8152
synoservice --enable pkgctl-r8152
synonet --dhcp eth2

This appears to work and link has been stable for a bit, including ~600GiB transferred. Not sure why this is required though and may be an issue that needs resolution.

mrjohnpoz commented 1 year ago

I have not seen this issue normally. BUT!! I have recently redone my nas and did a clean install of the 7.1.1 update 2.. And I did at one point reboot and I had to manually start the package..

I will will check next time I reboot. Thanks for the possible work around if am also seeing this problem. I don't use dhcp on that interface though. But when I started it it did come up with my static settings and everything worked.

mrjohnpoz commented 1 year ago

Well I finally got around to shutting down the nas to put in my little velco strips to try and help with the new noisier drives - not sure if it helped any. But anyway upon restart the bb-qq drivers started up on their own.

varunnangia commented 1 year ago

I have not seen this issue normally. BUT!! I have recently redone my nas and did a clean install of the 7.1.1 update 2.. And I did at one point reboot and I had to manually start the package..

I will will check next time I reboot. Thanks for the possible work around if am also seeing this problem. I don't use dhcp on that interface though. But when I started it it did come up with my static settings and everything worked.

Sorry, I'm not sure what your specific environment is, but I have continued to experience this issue at every boot-up. The workaround continues to function, so I'm not fussed about it, but because I'm short on ports on my home network at the moment (waiting for a switch to come back in stock), I don't have the option of keeping a second cable plugged in for troubleshooting.

mrjohnpoz commented 1 year ago

My setup is a ds918+ same dsm 7.1.1 u2, but using club 3d usb.. Static IP set, and other end is plugged into pc also using another CAC-1420 usb nic.

Running the latest 2.16.3-2 bb-qq.. I rarely reboot my nas.. Other then when update the dsm software. Recently I did an redo of it with bigger drives. I did notice having to run the driver at one point in the process. But when I just recently shut it down to add some velco strips to try and reduce the noise of the drives. When I rebooted it everything came up fine. I will for sure keep an eye on it next time I reboot.

bb-qq commented 1 year ago

Could you paste /var/packages/r8152/var/log/start-stop-status.log here?

dotWee commented 1 year ago

Just ran into the same issue. I've updated my DS920+ about 7 days ago; today i had to perform a manually triggered reboot.

After rebooting, the package was in "manually stopped" state and missing its configuration for the USB network interface.

@bb-qq - these are my start-stop-status.log logs for the time windows ~1h before reboot & ~1h after reboot:

Sat Nov 12 10:57:13 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152                 220725  0 
usbcore               200524  10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 10:57:19 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152                 220725  0 
usbcore               200524  10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 10:57:55 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152                 220725  0 
usbcore               200524  10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 11:57:10 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
+ echo ----------
----------
+ date
Sat Nov 12 11:57:10 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152                 220725  0 
usbcore               200524  10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
r8152                 220725  0 
usbcore               200524  10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 11:57:17 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152                 220725  0 
usbcore               200524  10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 11:58:19 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152                 220725  0 
usbcore               200524  10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 12:10:04 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152                 220725  0 
usbcore               200524  10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 12:10:04 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
r8152                 220725  0 
usbcore               200524  10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 12:10:35 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo stop
stop
+ case $1 in
+ set_interfaces down
+ action=down
+ target_interface_name=
++ ls /sys/class/net
+ all_interface_names='docker-3cc7c784
docker-5a7406fa
docker-5ee507e5
docker-5f03afaf
docker-717b63b5
docker-8efca582
docker-f086df65
docker0
docker7d4ac17
docker81ccb44
docker8a9eaa3
docker903390a
dockeraefc610
dockerb4507dd
dockerc115171
dockerc2d42ab
dockerd1c20d3
dockerda93a2e
dockere6be66d
dockerfb61707
eth0
eth1
eth2
lo
ovs-system
ovs_bond0
sit0
syno_ovs_bonds'
+ '[' -n ']'
+ '[' '!' -e /sys/class/net/ ']'
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-3cc7c784/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-5a7406fa/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-5ee507e5/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-5f03afaf/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-717b63b5/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-8efca582/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker-f086df65/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker0/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker7d4ac17/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker81ccb44/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker8a9eaa3/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/docker903390a/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockeraefc610/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerb4507dd/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerc115171/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerc2d42ab/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerd1c20d3/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerda93a2e/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockere6be66d/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/dockerfb61707/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/eth0/device/driver ']'
++ ls -ld /sys/class/net/eth0/device/driver
+ driver_location='lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168'
++ echo 'lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168'
++ grep r8152
+ '[' '!' -z '' ']'
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/eth1/device/driver ']'
++ ls -ld /sys/class/net/eth1/device/driver
+ driver_location='lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168'
++ echo 'lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168'
++ grep r8152
+ '[' '!' -z '' ']'
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/eth2/device/driver ']'
++ ls -ld /sys/class/net/eth2/device/driver
+ driver_location='lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152'
++ echo 'lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152'
++ grep r8152
+ '[' '!' -z 'lrwxrwxrwx 1 root root 0 Nov 12 12:10 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ']'
+ config_file=/etc/sysconfig/network-scripts/ifcfg-eth2
+ config_storage_location=/var/packages/r8152/etc/ifcfg-eth2
+ '[' -f /etc/sysconfig/network-scripts/ifcfg-eth2 ']'
+ '[' down = up ']'
+ ifconfig eth2 down
+ set_ovs_interface eth2 down
+ interface_name=eth2
+ action=down
+ config_file_ovs=/etc/sysconfig/network-scripts/ifcfg-ovs_eth2
+ config_storage_location_ovs=/var/packages/r8152/etc/ifcfg-ovs_eth2
+ is_ovs_enable
+ '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']'
++ cat /usr/syno/etc/synoovs/ovs_reg.conf
++ wc -l
+ use=1
+ '[' 0 -eq 1 ']'
+ return 0
+ '[' -f /etc/sysconfig/network-scripts/ifcfg-ovs_eth2 ']'
+ '[' down = down ']'
+ cp /etc/sysconfig/network-scripts/ifcfg-ovs_eth2 /var/packages/r8152/etc/ifcfg-ovs_eth2
+ '[' down = up ']'
+ ifconfig ovs_eth2
+ '[' down = up ']'
+ '[' down = up ']'
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/lo/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/ovs-system/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/ovs_bond0/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/sit0/device/driver ']'
+ continue
+ for interface_name in ${all_interface_names}
+ [[ -n '' ]]
+ '[' '!' -e /sys/class/net/syno_ovs_bonds/device/driver ']'
+ continue
+ /sbin/rmmod /volume1/@appstore/r8152/r8152/r8152.ko
+ '[' -e /volume1/@appstore/r8152/r8152/usbnet.ko ']'
+ '[' -e /volume1/@appstore/r8152/r8152/mii.ko ']'
+ exit 0
+ echo ----------
----------
+ date
Sat Nov 12 13:37:36 CET 2022
+ grep -E '^(version|create_time)' /var/packages/r8152/INFO
version="2.16.3-2"
create_time="20221011-21:59:21"
+ echo status
status
+ case $1 in
+ /sbin/lsmod
+ grep r8152
+ exit 3
varunnangia commented 1 year ago

Could you paste /var/packages/r8152/var/log/start-stop-status.log here?

Certainly. Would you like me to disable the workaround or keep it when sharing the file?

Please accept my apologies for the delayed response, @bb-qq — I'm not getting notifications of replies to this thread.

bb-qq commented 1 year ago

Yes, I wanted a log of when the problem was occurring. If you are still experiencing the same problem with the latest release, please provide the log. https://github.com/bb-qq/r8152/releases/tag/2.16.3-3

CangShui commented 1 year ago

I use this : synosystemctl restart pkgctl-r8152 synonet --dhcp eth1

@bb-qq @varunnangia

Tranel commented 1 year ago

Stil have the issue on my DS215+ with the latest driver. After a reboot the driver is stopped.

Chris260377 commented 1 year ago

I have the same issue with DS920+ with driver 2.16.3-3 (geminilake). After reboot (because of firmware update) the USB network port will not start automatically, status is stopped

Description of products: Synology DS920+ with DSM 7.1.1-42962 Update 3 Plugable 2.5G ULT-WIIQ (https://www.amazon.de/gp/product/B09GBFZ9DZ/), connected to front port

Sjekke commented 1 year ago

I have the same issue with DS920+ with driver 2.16.3-3 (geminilake). After reboot (because of firmware update) the USB network port will not start automatically, status is stopped

Description of products:

Synology DS920+ with DSM 7.1.1-42962 Update 3

Plugable 2.5G ULT-WIIQ (https://www.amazon.de/gp/product/B09GBFZ9DZ/), connected to front port

This is not a from the brand Plugable ...

Chris260377 commented 1 year ago

I have the same issue with DS920+ with driver 2.16.3-3 (geminilake). After reboot (because of firmware update) the USB network port will not start automatically, status is stopped Description of products: Synology DS920+ with DSM 7.1.1-42962 Update 3 Plugable 2.5G ULT-WIIQ (https://www.amazon.de/gp/product/B09GBFZ9DZ/), connected to front port

This is not a from the brand Plugable ...

I have the same issue like mentioned in the thread description. The problem is the driver, not the plug

Tranel commented 1 year ago

The funny thing is that after the first restart it failed to load the driver automatically. Then I fixed it and now it works fine.

reykjavi commented 1 year ago

I can confirm that the driver (or service) didn't start after reboot just once, the very first time after installation. The second time it did start automatically.

MilesTEG1 commented 1 year ago

Hello, I've got, I think, the same problem. This morning, I connected my USB3<->Ethernet 2,5G adaptater on a 2,5G switch. I just check if it was truly connected in 2,5G mode, and I don't see the ETH3 interface on my DS920+. The driver's package was stopped. I had to start it mannually. I recall installing the DSM 7.1.1-42962 Update 4 two days ago, and then the NAS had to reboot I think.

Another thing I noticed is that status of DHCP6 isn't saved : I deactivated IPV6, and after starting the driver, there is an IPv6 : image I had to activate fully IPv6, and then deactivated it again to have no more the IPv6 :

image

What's the best way to ensure the driver is loaded every time ?

Add, is there a way to save the settings and keep it after a restart of the driver's service ?

Romeo1984 commented 1 year ago

Well I finally got around to shutting down the nas to put in my little velco strips to try and help with the new noisier drives - not sure if it helped any. But anyway upon restart the bb-qq drivers started up on their own.

I have a DS720+ and my driver package only fails to start when I complete a DSM upgrade. I created a service task to disable/enable the package on boot, so we have to wait until the next DSM Update to see if this works.

bb-qq commented 1 year ago

If it did not work, I might be able to investigate if you could paste the contents of /var/packages/r8152/var/log/start-stop-status.log here.

bb-qq commented 11 months ago

Is anyone else encountering this problem with 2.16.3-4 or later versions? I added a small improvement to this version.

lucascosti commented 7 months ago

I had this happen on my first installation of 2.17.1-1 with my DS418play and a Plugable USBC-E2500.

On the first restart after installation, the driver didn't start, and I had to start it manually via Package Center.

After that, it's been working fine after 2 more restarts and one full shutdown/start.

Here's my log from /var/packages/r8152/var/log/start-stop-status.log ```shell $ cat /var/packages/r8152/var/log/start-stop-status.log + echo ---------- ---------- + date Fri Dec 1 11:14:55 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo start start + case $1 in + '[' -e /var/packages/r8152/scripts/apply-memory-setting ']' + '[' -w /sys/module/usbcore/parameters/autosuspend ']' + echo -1 ++ count_usb_interfaces ++ ls -l /sys/class/net/ ++ wc -l ++ grep /usb + initial_count=0 + '[' -e /volume1/@appstore/r8152/r8152/mii.ko ']' + '[' -e /volume1/@appstore/r8152/r8152/usbnet.ko ']' + /sbin/insmod /volume1/@appstore/r8152/r8152/r8152.ko + '[' -r /usr/lib/udev/rules.d/51-usb-r8152-net.rules ']' ++ seq 1 60 + for i in `seq 1 60` ++ count_usb_interfaces ++ ls -l /sys/class/net/ ++ grep /usb ++ wc -l + '[' 0 -ne 0 ']' + sleep 1 + for i in `seq 1 60` ++ count_usb_interfaces ++ wc -l ++ grep /usb ++ ls -l /sys/class/net/ + '[' 1 -ne 0 ']' + break + set_interfaces up + action=up + target_interface_name= ++ ls /sys/class/net + all_interface_names='docker-32865520 docker0 docker537c062 docker7dfff2a dockerf76e93a eth0 eth1 eth2 lo sit0' + '[' -n ']' + '[' '!' -e /sys/class/net/ ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker-32865520/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker0/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker537c062/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker7dfff2a/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/dockerf76e93a/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth0/device/driver ']' ++ ls -ld /sys/class/net/eth0/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth1/device/driver ']' ++ ls -ld /sys/class/net/eth1/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth2/device/driver ']' ++ ls -ld /sys/class/net/eth2/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' + '[' '!' -z 'lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ']' + config_file=/etc/sysconfig/network-scripts/ifcfg-eth2 + config_storage_location=/var/packages/r8152/etc/ifcfg-eth2 + '[' -f /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + '[' up = up ']' + '[' -f /var/packages/r8152/etc/ifcfg-eth2 ']' + ifconfig eth2 up + set_ovs_interface eth2 up + interface_name=eth2 + action=up + config_file_ovs=/etc/sysconfig/network-scripts/ifcfg-ovs_eth2 + config_storage_location_ovs=/var/packages/r8152/etc/ifcfg-ovs_eth2 + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' up = up ']' + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' -r /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + apply_if_config eth2 + target_interface_name=eth2 + [[ ! -v BOOTPROTO ]] + synonet --dhcp eth2 Host Name: FrostyNAS2 Network interface: eth2 DHCP IP: Mask: Gateway: 192.168.1.1 DNS: 192.168.1.1 MTU Setting: 1500 65535, unknown duplex, active mtu 1500 RX bytes: 0 TX bytes: 0 + '[' up = up ']' + '[' -e /var/packages/r8152/scripts/apply-private-flags ']' + for interface_name in ${all_interface_names} + [[ -n eth2 ]] + [[ lo != \e\t\h\2 ]] + continue + for interface_name in ${all_interface_names} + [[ -n eth2 ]] + [[ sit0 != \e\t\h\2 ]] + continue + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:14:59 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:14:59 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:15:00 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:15:09 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:15:24 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:15:35 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo stop stop + case $1 in + set_interfaces down + action=down + target_interface_name= ++ ls /sys/class/net + all_interface_names='docker-32865520 docker0 docker537c062 docker7dfff2a dockerf76e93a eth0 eth1 eth2 lo sit0' + '[' -n ']' + '[' '!' -e /sys/class/net/ ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker-32865520/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker0/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker537c062/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker7dfff2a/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/dockerf76e93a/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth0/device/driver ']' ++ ls -ld /sys/class/net/eth0/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth1/device/driver ']' ++ ls -ld /sys/class/net/eth1/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth2/device/driver ']' ++ ls -ld /sys/class/net/eth2/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' + '[' '!' -z 'lrwxrwxrwx 1 root root 0 Dec 1 11:14 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ']' + config_file=/etc/sysconfig/network-scripts/ifcfg-eth2 + config_storage_location=/var/packages/r8152/etc/ifcfg-eth2 + '[' -f /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + '[' down = down ']' + cp /etc/sysconfig/network-scripts/ifcfg-eth2 /var/packages/r8152/etc/ifcfg-eth2 + ifconfig eth2 down + set_ovs_interface eth2 down + interface_name=eth2 + action=down + config_file_ovs=/etc/sysconfig/network-scripts/ifcfg-ovs_eth2 + config_storage_location_ovs=/var/packages/r8152/etc/ifcfg-ovs_eth2 + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' down = up ']' + '[' down = up ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/lo/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/sit0/device/driver ']' + continue + /sbin/rmmod /volume1/@appstore/r8152/r8152/r8152.ko + '[' -e /volume1/@appstore/r8152/r8152/usbnet.ko ']' + '[' -e /volume1/@appstore/r8152/r8152/mii.ko ']' + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:27:57 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 + exit 3 + echo ---------- ---------- + date Fri Dec 1 11:30:34 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo start start + case $1 in + '[' -e /var/packages/r8152/scripts/apply-memory-setting ']' + '[' -w /sys/module/usbcore/parameters/autosuspend ']' + echo -1 ++ count_usb_interfaces ++ ls -l /sys/class/net/ ++ wc -l ++ grep /usb + initial_count=0 + '[' -e /volume1/@appstore/r8152/r8152/mii.ko ']' + '[' -e /volume1/@appstore/r8152/r8152/usbnet.ko ']' + /sbin/insmod /volume1/@appstore/r8152/r8152/r8152.ko + '[' -r /usr/lib/udev/rules.d/51-usb-r8152-net.rules ']' ++ seq 1 60 + for i in `seq 1 60` ++ count_usb_interfaces ++ wc -l ++ grep /usb ++ ls -l /sys/class/net/ + '[' 0 -ne 0 ']' + sleep 1 + for i in `seq 1 60` ++ count_usb_interfaces ++ grep /usb ++ wc -l ++ ls -l /sys/class/net/ + '[' 1 -ne 0 ']' + break + set_interfaces up + action=up + target_interface_name= ++ ls /sys/class/net + all_interface_names='docker-32865520 docker0 docker37b184d docker95b3626 dockerb81ce00 eth0 eth1 eth2 lo sit0' + '[' -n ']' + '[' '!' -e /sys/class/net/ ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker-32865520/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker0/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker37b184d/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker95b3626/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/dockerb81ce00/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth0/device/driver ']' ++ ls -ld /sys/class/net/eth0/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth1/device/driver ']' ++ ls -ld /sys/class/net/eth1/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth2/device/driver ']' ++ ls -ld /sys/class/net/eth2/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ grep r8152 + '[' '!' -z 'lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ']' + config_file=/etc/sysconfig/network-scripts/ifcfg-eth2 + config_storage_location=/var/packages/r8152/etc/ifcfg-eth2 + '[' -f /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + '[' up = up ']' + '[' -f /var/packages/r8152/etc/ifcfg-eth2 ']' + cp /var/packages/r8152/etc/ifcfg-eth2 /etc/sysconfig/network-scripts/ifcfg-eth2 + ifconfig eth2 up + set_ovs_interface eth2 up + interface_name=eth2 + action=up + config_file_ovs=/etc/sysconfig/network-scripts/ifcfg-ovs_eth2 + config_storage_location_ovs=/var/packages/r8152/etc/ifcfg-ovs_eth2 + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' up = up ']' + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' -r /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + source /etc/sysconfig/network-scripts/ifcfg-eth2 ++ DEVICE=eth2 ++ BOOTPROTO=dhcp ++ ONBOOT=yes + apply_if_config eth2 + target_interface_name=eth2 + [[ ! -v BOOTPROTO ]] + '[' dhcp = dhcp ']' + synonet --dhcp eth2 Host Name: FrostyNAS2 Network interface: eth2 DHCP IP: 192.168.1.121 Mask: 255.255.255.0 Gateway: 192.168.1.1 DNS: 192.168.1.1 MTU Setting: 1500 65535, unknown duplex, active mtu 1500 RX bytes: 0 TX bytes: 0 + '[' up = up ']' + '[' -e /var/packages/r8152/scripts/apply-private-flags ']' + for interface_name in ${all_interface_names} + [[ -n eth2 ]] + [[ lo != \e\t\h\2 ]] + continue + for interface_name in ${all_interface_names} + [[ -n eth2 ]] + [[ sit0 != \e\t\h\2 ]] + continue + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:30:46 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:31:02 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:31:18 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:31:34 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:31:49 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:32:04 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:32:19 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:32:34 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:32:49 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:33:04 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:33:20 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:33:35 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:33:50 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:34:05 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:34:21 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:34:36 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:34:52 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:35:07 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:35:23 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:35:39 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:35:54 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:36:09 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:36:25 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:36:41 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:36:56 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:37:12 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:37:28 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:37:44 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:37:59 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:38:14 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:38:29 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:38:45 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:39:00 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:39:15 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:39:30 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:39:46 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:40:02 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:40:17 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:40:32 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:40:47 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:41:02 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:41:17 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:41:33 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:41:48 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:42:03 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:42:18 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:42:33 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:42:47 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo stop stop + case $1 in + set_interfaces down + action=down + target_interface_name= ++ ls /sys/class/net + all_interface_names='docker-32865520 docker0 docker37b184d docker95b3626 dockerb81ce00 eth0 eth1 eth2 lo sit0' + '[' -n ']' + '[' '!' -e /sys/class/net/ ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker-32865520/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker0/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker37b184d/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker95b3626/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/dockerb81ce00/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth0/device/driver ']' ++ ls -ld /sys/class/net/eth0/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth1/device/driver ']' ++ ls -ld /sys/class/net/eth1/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth2/device/driver ']' ++ ls -ld /sys/class/net/eth2/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' + '[' '!' -z 'lrwxrwxrwx 1 root root 0 Dec 1 11:30 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ']' + config_file=/etc/sysconfig/network-scripts/ifcfg-eth2 + config_storage_location=/var/packages/r8152/etc/ifcfg-eth2 + '[' -f /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + '[' down = down ']' + cp /etc/sysconfig/network-scripts/ifcfg-eth2 /var/packages/r8152/etc/ifcfg-eth2 + ifconfig eth2 down + set_ovs_interface eth2 down + interface_name=eth2 + action=down + config_file_ovs=/etc/sysconfig/network-scripts/ifcfg-ovs_eth2 + config_storage_location_ovs=/var/packages/r8152/etc/ifcfg-ovs_eth2 + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' down = up ']' + '[' down = up ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/lo/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/sit0/device/driver ']' + continue + /sbin/rmmod /volume1/@appstore/r8152/r8152/r8152.ko + '[' -e /volume1/@appstore/r8152/r8152/usbnet.ko ']' + '[' -e /volume1/@appstore/r8152/r8152/mii.ko ']' + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:45:31 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo start start + case $1 in + '[' -e /var/packages/r8152/scripts/apply-memory-setting ']' + '[' -w /sys/module/usbcore/parameters/autosuspend ']' + echo -1 ++ count_usb_interfaces ++ ls -l /sys/class/net/ ++ grep /usb ++ wc -l + initial_count=0 + '[' -e /volume1/@appstore/r8152/r8152/mii.ko ']' + '[' -e /volume1/@appstore/r8152/r8152/usbnet.ko ']' + /sbin/insmod /volume1/@appstore/r8152/r8152/r8152.ko + '[' -r /usr/lib/udev/rules.d/51-usb-r8152-net.rules ']' ++ seq 1 60 + for i in `seq 1 60` ++ count_usb_interfaces ++ grep /usb ++ wc -l ++ ls -l /sys/class/net/ + '[' 0 -ne 0 ']' + sleep 1 + for i in `seq 1 60` ++ count_usb_interfaces ++ grep /usb ++ wc -l ++ ls -l /sys/class/net/ + '[' 1 -ne 0 ']' + break + set_interfaces up + action=up + target_interface_name= ++ ls /sys/class/net + all_interface_names='eth0 eth1 eth2 lo sit0' + '[' -n ']' + '[' '!' -e /sys/class/net/ ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth0/device/driver ']' ++ ls -ld /sys/class/net/eth0/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth1/device/driver ']' ++ ls -ld /sys/class/net/eth1/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth2/device/driver ']' ++ ls -ld /sys/class/net/eth2/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ grep r8152 + '[' '!' -z 'lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ']' + config_file=/etc/sysconfig/network-scripts/ifcfg-eth2 + config_storage_location=/var/packages/r8152/etc/ifcfg-eth2 + '[' -f /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + '[' up = up ']' + '[' -f /var/packages/r8152/etc/ifcfg-eth2 ']' + cp /var/packages/r8152/etc/ifcfg-eth2 /etc/sysconfig/network-scripts/ifcfg-eth2 + ifconfig eth2 up + set_ovs_interface eth2 up + interface_name=eth2 + action=up + config_file_ovs=/etc/sysconfig/network-scripts/ifcfg-ovs_eth2 + config_storage_location_ovs=/var/packages/r8152/etc/ifcfg-ovs_eth2 + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' up = up ']' + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' -r /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + source /etc/sysconfig/network-scripts/ifcfg-eth2 ++ DEVICE=eth2 ++ BOOTPROTO=dhcp ++ ONBOOT=yes + apply_if_config eth2 + target_interface_name=eth2 + [[ ! -v BOOTPROTO ]] + '[' dhcp = dhcp ']' + synonet --dhcp eth2 Host Name: FrostyNAS2 Network interface: eth2 DHCP IP: 192.168.1.121 Mask: 255.255.255.0 Gateway: 192.168.1.1 DNS: 192.168.1.1 MTU Setting: 1500 65535, unknown duplex, active mtu 1500 RX bytes: 0 TX bytes: 0 + '[' up = up ']' + '[' -e /var/packages/r8152/scripts/apply-private-flags ']' + for interface_name in ${all_interface_names} + [[ -n eth2 ]] + [[ lo != \e\t\h\2 ]] + continue + for interface_name in ${all_interface_names} + [[ -n eth2 ]] + [[ sit0 != \e\t\h\2 ]] + continue + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:49:08 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:49:09 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 11 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:51:59 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo stop stop + case $1 in + set_interfaces down + action=down + target_interface_name= ++ ls /sys/class/net + all_interface_names='docker-32865520 docker0 docker2387f4b docker669a29e docker6fb6a7a eth0 eth1 eth2 lo sit0' + '[' -n ']' + '[' '!' -e /sys/class/net/ ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker-32865520/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker0/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker2387f4b/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker669a29e/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/docker6fb6a7a/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth0/device/driver ']' ++ ls -ld /sys/class/net/eth0/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth1/device/driver ']' ++ ls -ld /sys/class/net/eth1/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth2/device/driver ']' ++ ls -ld /sys/class/net/eth2/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' + '[' '!' -z 'lrwxrwxrwx 1 root root 0 Dec 1 11:45 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ']' + config_file=/etc/sysconfig/network-scripts/ifcfg-eth2 + config_storage_location=/var/packages/r8152/etc/ifcfg-eth2 + '[' -f /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + '[' down = down ']' + cp /etc/sysconfig/network-scripts/ifcfg-eth2 /var/packages/r8152/etc/ifcfg-eth2 + ifconfig eth2 down + set_ovs_interface eth2 down + interface_name=eth2 + action=down + config_file_ovs=/etc/sysconfig/network-scripts/ifcfg-ovs_eth2 + config_storage_location_ovs=/var/packages/r8152/etc/ifcfg-ovs_eth2 + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' down = up ']' + '[' down = up ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/lo/device/driver ']' + continue + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/sit0/device/driver ']' + continue + /sbin/rmmod /volume1/@appstore/r8152/r8152/r8152.ko + '[' -e /volume1/@appstore/r8152/r8152/usbnet.ko ']' + '[' -e /volume1/@appstore/r8152/r8152/mii.ko ']' + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:55:24 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo start start + case $1 in + '[' -e /var/packages/r8152/scripts/apply-memory-setting ']' + '[' -w /sys/module/usbcore/parameters/autosuspend ']' + echo -1 ++ count_usb_interfaces ++ ls -l /sys/class/net/ ++ grep /usb ++ wc -l + initial_count=0 + '[' -e /volume1/@appstore/r8152/r8152/mii.ko ']' + '[' -e /volume1/@appstore/r8152/r8152/usbnet.ko ']' + /sbin/insmod /volume1/@appstore/r8152/r8152/r8152.ko + '[' -r /usr/lib/udev/rules.d/51-usb-r8152-net.rules ']' ++ seq 1 60 + for i in `seq 1 60` ++ count_usb_interfaces ++ wc -l ++ grep /usb ++ ls -l /sys/class/net/ + '[' 0 -ne 0 ']' + sleep 1 + for i in `seq 1 60` ++ count_usb_interfaces ++ grep /usb ++ wc -l ++ ls -l /sys/class/net/ + '[' 1 -ne 0 ']' + break + set_interfaces up + action=up + target_interface_name= ++ ls /sys/class/net + all_interface_names='eth0 eth1 eth2 lo sit0' + '[' -n ']' + '[' '!' -e /sys/class/net/ ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth0/device/driver ']' ++ ls -ld /sys/class/net/eth0/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:55 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:55 /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth1/device/driver ']' ++ ls -ld /sys/class/net/eth1/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:55 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' ++ grep r8152 ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:55 /sys/class/net/eth1/device/driver -> ../../../../bus/pci/drivers/r8168' + '[' '!' -z '' ']' + for interface_name in ${all_interface_names} + [[ -n '' ]] + '[' '!' -e /sys/class/net/eth2/device/driver ']' ++ ls -ld /sys/class/net/eth2/device/driver + driver_location='lrwxrwxrwx 1 root root 0 Dec 1 11:55 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ echo 'lrwxrwxrwx 1 root root 0 Dec 1 11:55 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ++ grep r8152 + '[' '!' -z 'lrwxrwxrwx 1 root root 0 Dec 1 11:55 /sys/class/net/eth2/device/driver -> ../../../../../../bus/usb/drivers/r8152' ']' + config_file=/etc/sysconfig/network-scripts/ifcfg-eth2 + config_storage_location=/var/packages/r8152/etc/ifcfg-eth2 + '[' -f /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + '[' up = up ']' + '[' -f /var/packages/r8152/etc/ifcfg-eth2 ']' + cp /var/packages/r8152/etc/ifcfg-eth2 /etc/sysconfig/network-scripts/ifcfg-eth2 + ifconfig eth2 up + set_ovs_interface eth2 up + interface_name=eth2 + action=up + config_file_ovs=/etc/sysconfig/network-scripts/ifcfg-ovs_eth2 + config_storage_location_ovs=/var/packages/r8152/etc/ifcfg-ovs_eth2 + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' up = up ']' + is_ovs_enable + '[' '!' -f /usr/syno/etc/synoovs/ovs_reg.conf ']' + return 1 + '[' -r /etc/sysconfig/network-scripts/ifcfg-eth2 ']' + source /etc/sysconfig/network-scripts/ifcfg-eth2 ++ DEVICE=eth2 ++ BOOTPROTO=dhcp ++ ONBOOT=yes + apply_if_config eth2 + target_interface_name=eth2 + [[ ! -v BOOTPROTO ]] + '[' dhcp = dhcp ']' + synonet --dhcp eth2 Host Name: FrostyNAS2 Network interface: eth2 DHCP IP: 192.168.1.121 Mask: 255.255.255.0 Gateway: 192.168.1.1 DNS: 192.168.1.1 MTU Setting: 1500 65535, unknown duplex, active mtu 1500 RX bytes: 0 TX bytes: 0 + '[' up = up ']' + '[' -e /var/packages/r8152/scripts/apply-private-flags ']' + for interface_name in ${all_interface_names} + [[ -n eth2 ]] + [[ lo != \e\t\h\2 ]] + continue + for interface_name in ${all_interface_names} + [[ -n eth2 ]] + [[ sit0 != \e\t\h\2 ]] + continue + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:56:29 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 11:56:30 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 12:01:01 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 12:01:01 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 12:01:26 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 12:01:26 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 12:04:40 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + /sbin/lsmod + grep r8152 r8152 224445 0 usbcore 210297 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 + echo ---------- ---------- + date Fri Dec 1 12:04:40 AEST 2023 + grep -E '^(version|create_time)' /var/packages/r8152/INFO version="2.17.1-1" create_time="20230715-10:17:26" + echo status status + case $1 in + grep r8152 + /sbin/lsmod r8152 224445 0 usbcore 210297 10 etxhci_hcd,r8152,usblp,uhci_hcd,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci + exit 0 ```
bb-qq commented 2 weeks ago

It is a necessary step to start manually from the Package Center. I added this point to the documentation.

I would like to close this issue as the initial problem seems to have been resolved.