Hi,
how can i copy static leases and hostname from one router to another ?
same router...
thank
Static leases can be found in /etc/config/dhcp
, under config host
you can copy those from there.
hostname of the router in /etc/config/system
e.g.:
cat /etc/config/system | grep hostname
great , thank you very muck !
on version 23.05 there is a tab "hostsname" in "dhcp and dns" menu
on version 24.10 no more "dhcp and dns"
OK i've seen on 24.10 "hostnames" are in "DNS records" !
That's not the correct place, you want the 'Static leases' tab.
The Hostnames tab
Hostnames are used to bind a domain name to an IP address. This setting is redundant for hostnames already configured with static leases, but it can be useful to rebind an FQDN.
maybe but, i've just copy /etc/config/dhcp
from one router to the other and static leases and hostnames are correctly configure...
Do not do that across different major versions of OpenWrt because the options in the main and interface blocks have changed.
thank for advice Mk24...
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.