> I note that the file /tmp/state/network contains the interface, ip address,
> and expiration time of the WAN DHCP lease...  I'm wondering what's
> involved in writing that information into somewhere persistent where it
> can be reused on reboot?

You may want to start by replacing the /var symlink to /tmp by
a real directory.  OpenWRT should be using the /var/state/network
filename, so after performing the above change, the file will be
preserved across reboots.  If not, report it as a bug.
I'm not sure if OpenWRT will later start udhcpd in such a way as to take
advantage of this pre-existing file, but that's a second step.


        Stefan


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to