I have allways have issues with backing up and restoring the settings of the routers. I have a WNDR3700 and they seem especially susceptible to this...
Anyways, I thought it would be great to an option to backup and restore ONLY the dhcp leases and make it so it would ALLWAYS keep its compatibility between each new version.
I dont really care if I have to setup the router from scratch but with 50+ entries in my DHCP I dont want to retype that all the time.
Thanks.
PS.: in the mean time, im sure there is a file I could edit via an ssh session, would anyone care to point me in the right direction?
Thanks again.
Gui option to backup and restore only the Static DHCP leases
Moderator: Moderators
-
- Posts: 16
- Joined: Thu Oct 31, 2013 10:35 am
Re: Gui option to backup and restore only the Static DHCP le
There are two files that you need:
ethers contains the MAC addresses and IP addresses
hosts contains the ip addresses and hostnames
I was able to find the files by adding an ip/MAC mapping via the web and then using:
in the /etc and /etc/config directories to figure out which files had been modified as the files most recently modified will be shown at the end of the listing.
I didn't find the file that has the setting to ignore traffic from the host that has a static mapping that tries to connect with a different ip address but that was pretty easy to set from the web ui.
Code: Select all
/etc/ethers
/etc/hosts
hosts contains the ip addresses and hostnames
I was able to find the files by adding an ip/MAC mapping via the web and then using:
Code: Select all
ls -latr
I didn't find the file that has the setting to ignore traffic from the host that has a static mapping that tries to connect with a different ip address but that was pretty easy to set from the web ui.
-
1 x WRT54GL v1.1 Gargoyle 1.5.6
1 x TL-WR740N v4.23 Gargoyle 1.6.2
1 x TL-WR740N v4.26 Gargoyle 1.5.11
1 x TL-WR740N v4.26 Gargoyle 1.8.1
1 x TL-WDR3600 v1.3 Gargoyle 1.5.11
1 x WRT54GL v1.1 Gargoyle 1.5.6
1 x TL-WR740N v4.23 Gargoyle 1.6.2
1 x TL-WR740N v4.26 Gargoyle 1.5.11
1 x TL-WR740N v4.26 Gargoyle 1.8.1
1 x TL-WDR3600 v1.3 Gargoyle 1.5.11