JGrana
Very Senior Member
Going back to the original poster's question, I have a suggestion.
If you create a file called /jffs/configs/dnsmasq.conf.add with this line:
dhcp-hostsfile=/jffs/etc/dnsmasq/static_leases
Then you can put all your manual DHCP leases into this file /jffs/etc/dnsmasq/static_leases which will survive firmware resets and is easily maintained using nano or vi.
The format of the static_leases file is:
xx:xx:xx:xx:xx:xx,hostname,a.b.c.d,time_to_live
for example:
00:0C:29:41:AA:BB,barney,192.168.0.50,10080m
I'm curious - does this work with the RT-AC68U in terms of the format of the file?
The reason I ask is that, running nvram get dhcp_staticlist, all I get is the MAC address and the IP address. No hostname or TTL.
I would like to bind the hostname to the IP/MAC setting on the 68U.