Page 1 of 1
[REQUEST] DHCP Settings Import/Export tool/plugin/option
Posted: Fri Apr 08, 2016 8:36 am
by Mloki
I wish we could import/export all DHCP (LAN and WAN and maybe Port Settings included) independently of the used Gargoyle Version. That would ease the upgrade to a new Version, where u can't keep the settings, it would help really a lot.
Re: [REQUEST] DHCP Settings Import/Export tool
Posted: Fri Apr 08, 2016 8:39 am
by Lantis
You can do so manually or you can just export a backup as per the built in process and pull the relevant files out for manual restoration.
A better process is being tossed around but it's an idea at the moment.
Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option
Posted: Fri Apr 08, 2016 8:55 am
by Mloki
Being able to do this manually is not really comfortable, but I did not know that yet, thx for the tip. Still a tool would ease it a lot. It could just be a dropdown field option in the system upgrade to only export/import those basic settings that are always the same in all Gargoyle versions, in all routers. I think in the manual process I could, especially as unexperienced user, do mistakes easily and then eventually brick the router.
Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option
Posted: Thu Apr 14, 2016 6:33 am
by Mloki
Lantis, which files are the ones I need to replace to copy
DHCP/LAN/WAN/Firewallports Settings ?
Is there a documentation for this ?

Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option
Posted: Thu Apr 14, 2016 6:59 am
by Lantis
Can you be more specific about what you are after?
If you want your static ip list:
/etc/ethers
/etc/hosts
if you want your network settings (lan / wan)
/etc/config/network
firewall is at
/etc/config/firewall
NOTE: i would not recommend restoring the network or firewall config. they can vary between openwrt versions.
Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option
Posted: Thu Apr 14, 2016 7:34 am
by Mloki
Meh, so it is not a good idea at all ...
can I at least copy my DHCP Table without trouble ?
Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option
Posted: Thu Apr 14, 2016 7:47 am
by Lantis
Yes that table hasn't changed formats in a long time.
Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option
Posted: Thu Apr 14, 2016 11:27 am
by Mloki
Okay, which files do I need to restore the table ?
Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option
Posted: Thu Apr 14, 2016 4:44 pm
by Lantis
Lantis wrote:If you want your static ip list:
/etc/ethers
/etc/hosts
Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option
Posted: Fri Apr 15, 2016 6:16 am
by Mloki
Thank you again, Lantis !