[REQUEST] DHCP Settings Import/Export tool/plugin/option

Suggest improvements and new features for Gargoyle.

Moderator: Moderators

Post Reply
Mloki
Posts: 38
Joined: Sun Feb 15, 2015 5:33 pm

[REQUEST] DHCP Settings Import/Export tool/plugin/option

Post 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.
Last edited by Mloki on Fri Apr 08, 2016 10:06 am, edited 2 times in total.
Netgear WNDR3800 running Gargoyle 1.6.2
Buffalo WZR-HP-G300NH (B0 B0) running Gargoyle 1.9.0

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: [REQUEST] DHCP Settings Import/Export tool

Post 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.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Mloki
Posts: 38
Joined: Sun Feb 15, 2015 5:33 pm

Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option

Post 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.
Netgear WNDR3800 running Gargoyle 1.6.2
Buffalo WZR-HP-G300NH (B0 B0) running Gargoyle 1.9.0

Mloki
Posts: 38
Joined: Sun Feb 15, 2015 5:33 pm

Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option

Post 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 ? :?
Netgear WNDR3800 running Gargoyle 1.6.2
Buffalo WZR-HP-G300NH (B0 B0) running Gargoyle 1.9.0

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option

Post 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.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Mloki
Posts: 38
Joined: Sun Feb 15, 2015 5:33 pm

Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option

Post by Mloki »

Meh, so it is not a good idea at all ...
can I at least copy my DHCP Table without trouble ?
Netgear WNDR3800 running Gargoyle 1.6.2
Buffalo WZR-HP-G300NH (B0 B0) running Gargoyle 1.9.0

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option

Post by Lantis »

Yes that table hasn't changed formats in a long time.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Mloki
Posts: 38
Joined: Sun Feb 15, 2015 5:33 pm

Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option

Post by Mloki »

Okay, which files do I need to restore the table ?
Netgear WNDR3800 running Gargoyle 1.6.2
Buffalo WZR-HP-G300NH (B0 B0) running Gargoyle 1.9.0

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option

Post by Lantis »

Lantis wrote:If you want your static ip list:
/etc/ethers
/etc/hosts
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Mloki
Posts: 38
Joined: Sun Feb 15, 2015 5:33 pm

Re: [REQUEST] DHCP Settings Import/Export tool/plugin/option

Post by Mloki »

Thank you again, Lantis !
Netgear WNDR3800 running Gargoyle 1.6.2
Buffalo WZR-HP-G300NH (B0 B0) running Gargoyle 1.9.0

Post Reply