What's new

YazDHCP YazDHCP v1.2.4 [2025-Nov-21] - Feature expansion of DHCP assignments (increasing limit on the number of DHCP reservations)

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 ""
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.
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:

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top