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

To enable the hot plug feature, After successful installation of the driver, execute the following command #233

Closed s128300901 closed 2 weeks ago

s128300901 commented 1 year ago

:~$ sudo bash /var/packages/aqc111/scripts/install-udev-rules bash: /var/packages/aqc111/scripts/install-udev-rules: No such file or directory

s128300901 commented 1 year ago

920+

bb-qq commented 1 year ago

I had written the wrong command. The correct one is this. sudo bash /var/packages/r8152/scripts/install-udev-rules

s128300901 commented 1 year ago

sergey@synology:~$ sudo bash /var/packages/r1852/scripts/install-udev-rules Password: bash: /var/packages/r1852/scripts/install-udev-rules: No such file or directory

bb-qq commented 1 year ago

Could you try the new release? https://github.com/bb-qq/r8152/releases/tag/2.15.0-9

And my previous comment was wrong. (Already fixed) wrong: sudo bash /var/packages/r1852/scripts/install-udev-rules correct: sudo bash /var/packages/r8152/scripts/install-udev-rules

s128300901 commented 1 year ago

sergey@synology:~$ sudo bash /var/packages/r8152/scripts/install-udev-rules Password: Updating Hardware Database Index... UDEV rules have been installed to /usr/lib/udev/rules.d lrwxrwxrwx 1 root root 50 Jul 31 08:09 /usr/lib/udev/rules.d/51-usb-r8152-net.rules -> /var/packages/r8152/scripts/51-usb-r8152-net.rules

bb-qq commented 1 year ago

The script was successfully finished. If the Hot Plug does not seem to work, please stick the output of dmesg.

s128300901 commented 1 year ago

Без имени the adapter is disconnected from the nas, but it shows as if in the system

s128300901 commented 1 year ago

Без имени1

s128300901 commented 1 year ago

[2.15.0-10 DSM7.x] 7.1.1-42951 does not work

Sjekke commented 1 year ago

I installed the latest version of the driver and it works perfect BUT I always have to stop and restart my Synology DHCP server to get it working again. Is there some kind of command that we can put in the script to stop and start the DHCP server after the driver has activated the USB adapter?

bb-qq commented 11 months ago

Since the Hot Plug seems to be working in the versions released since then, I would like to close this issue if there are no new reports of problems.

As for DHCP, it has been improved in later releases as well. So please try it and if you find any problems, please create a new issue and write the details.

bb-qq commented 2 weeks ago

I Since there have been no additional comments for a long time, this issue is closed. Feel free to re-open it if you have any questions.