Me too (the tedious part), although I used a different approach and made a custom_clientlist generator, see here, with a few other interface options there too.I found reading or editing of these nvram entries tedious. So I used the following script to check the entries for accuracy, consistency and typographical errors.
Code:echo "" nvram get custom_clientlist | tr '<' '\n' | tr '>' '\t' | sort -u nvram get dhcp_staticlist | tr '<' '\n' | tr '>' '\t' | sort -k 3,3 -u echo ""
It’s primarily for those who prefer a more GUI approach to manage those lists.
The thing about your dhcp_staticlist line though, is that if you use YazDHCP they will have moved, so your second line will not actually show any results.
I found this out a while back by poking around in the files dnsmasq.conf.add and dnsmasq-x.conf.add, in /jffs/configs, post YazDHCP install; they show (resp):
Code:
addn-hosts=/jffs/addons/YazDHCP.d/.hostnames #YazDHCP_hostnames#
dhcp-hostsfile=/jffs/addons/YazDHCP.d/.staticlist #YazDHCP_staticlist#
Code:
addn-hosts=/jffs/addons/YazDHCP.d/.hostnames_br52 #YazDHCP_hostnames_br52#
dhcp-hostsfile=/jffs/addons/YazDHCP.d/.staticlist_br52 #YazDHCP_staticlist_br52#
Code:
addn-hosts=/jffs/addons/YazDHCP.d/.hostnames_br53 #YazDHCP_hostnames_br53#
dhcp-hostsfile=/jffs/addons/YazDHCP.d/.staticlist_br53 #YazDHCP_staticlist_br53#
So as above, I believe, when using YazDHCP, the DHCP_clients are now listed in /jffs/addons/YazDHCP.d/DHCP_clients.
That dir also keeps (I think) a saved copy of your original clients, in .nvram_dhcp_staticlist.
Last edited: