What's new

What is the format of new dhcp_hostnames nvram variable in 384.13?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Db Major

Occasional Visitor
Hi all,

What is the format of the new dhcp_hostnames nvram variable added in 384.13?

dhcp_staticlist format used to be <Mac>IP>Hostname and now the hostnames don't show up.

I'm guessing the new dhcp_hostnames variable means the new format of the dhcp_staticlist is now <Mac>IP

What is the format of the dhcp_hostnames variable?

I did guess <Mac>Hostname but that didn't seem to work.

Thanks in advance for your help.
 
For an RT-AC86U or AX88U, they’ll be in /jffs/nvram/dhcp_hostnames.

Thanks dave14305, that's exactly what I was looking for!

When one uses the nvram set dhcp_hostnames=<Mac>Hostname functionality, it doesn't actually update the file.

Something that may need checking.

Thanks again!
 
Thanks dave14305, that's exactly what I was looking for!

When one uses the nvram set dhcp_hostnames=<Mac>Hostname functionality, it doesn't actually update the file.

Something that may need checking.

Thanks again!
I think it only migrates the nvram to jffs once on initial boot after upgrading. It won’t keep the two in sync.
 

Latest threads

Sign Up For SNBForums Daily Digest

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