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

Save IP address configuration when rebooting #6

Merged
merged 1 commit into from
Jan 31, 2020

Conversation

iwanovich
Copy link

The original developer bb-qq asked for a solution to save IP address configuration:

IP address configuration will be lost after the device is rebooted. If you find a solution for this issue, please share it.

I also don't have a clue why the configuration gets overwritten with an empty one; so I decided to probe for interfaces that seem to use the aqc111 driver and save/restore the configuration according to starting/stopping the aqc111 package service respectively. This should persist the config in between reboots.
Install the package as described in the readme.md and instead of using ifconfig <interface name> up, please use sudo synoservice --start pkgctl-aqc111 to bring up the interface. Use the DSM GUI to configure the interface and reboot your device to test whether your configuration was actually saved. I've tested it with my Synology DS416play NAS combined with the QNAP QNA-UC5G1T USB-Ethernet dongle.

It's also possible to change an already installed driver by editing /var/packages/aqc111/scripts/start-stop-status.

@bb-qq
Copy link
Owner

bb-qq commented Jan 19, 2020

Thank you for sharing the method! I will confirm it and create new packages.

@bb-qq bb-qq merged commit 5a666e1 into bb-qq:master Jan 31, 2020
@bb-qq
Copy link
Owner

bb-qq commented Jan 31, 2020

I confirmed it works correctly. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants