Jack Yaz
Part of the Furniture
Not at the moment, but it's something that could be considered for the futureFound this thread as I'm looking to edit DHCP options such as boot servers. Is it possible to set these with this script?
Not at the moment, but it's something that could be considered for the futureFound this thread as I'm looking to edit DHCP options such as boot servers. Is it possible to set these with this script?
You might need to think about how you would handle users who setup a MAC/IP binding in the Network Map Client List pop-up after installing YazDHCP. Presumably this will create a new entry in dhcp_staticlist after you've already converted the nvram settings. Pain in the butt, but someone will eventually do it and wonder why they can't find it in the list.networkmap is a big black box so who knows how they determine that. it's possible they scan /etc/dnsmasq.conf for dhcp-host directives and match on MAC. since YazDHCP moves them to a separate file, that would explain it
i didn't even know that was a feature. simple fix - "don't do that"You might need to think about how you would handle users who setup a MAC/IP binding in the Network Map Client List pop-up after installing YazDHCP. Presumably this will create a new entry in dhcp_staticlist after you've already converted the nvram settings. Pain in the butt, but someone will eventually do it and wonder why they can't find it in the list.
View attachment 29863
LOL. Now you know and you won't be able to resist coding a recurring check of the nvram vars during every page load or script invocation.i didn't even know that was a feature. simple fix - "don't do that"
i'm somewhat hopeful someone will get my obscure reference ;-)LOL. Now you know and you won't be able to resist coding a recurring check of the nvram vars during every page load or script invocation.
I'm only going so far as a Henny Youngman reference, but we may have humors of two different continents. Or I'm just too dorky.i'm somewhat hopeful someone will get my obscure reference ;-)
Maybe an inotify on dhcp_staticlist with a pop up that says “Don’t Do That” would be the compromise solution? ;-)i'm somewhat hopeful someone will get my obscure reference ;-)
and maybe I will. vpnmgr and YazFi are currently in my dev schedule, I'm happy with YazDHCP as things stand!
Not so obscure but beyond NSFW.my obscure reference ;-)
Until you "apply", none of it sticks, does it? So maybe good enough without perfection.I could do this. It would need to be recalculated after each row is added before saving too.
Interesting. I have wondered about the feasibility of supernetting with the growth in IoT devices. This script would be useful for that as well since presumably one could set up a custom DNS to help block "calls home."Given networkmap etc. assume a hardcoded /24 (unless that's changed) I have some wiggle room on ignoring that one
I assume doing so would present a problem if the device has both network interfaces connecting to network at the same time. Generally each adapter would need its own unique IP address to avoid address conflicts. Now if only one of the two (or more network adapters) was connected then it would be nice if such a setting could be implemented.Hi, is there any plan to add more than 1 MAC to a single IP? I mean, some device have both wired and wireless MAC (i.e. printers) and I'd be nice to have 1 entry for both MAC addresses and assign it one IP only
I think you should have different MAC IP address for wired and wireless. In my case, a MacBook Pro had different MAC IP Address for the wired adapter and for the wireless adapter. So, using YazDHCP, I assigned a different IP adress for each one. So my MacBook has two different manual IP deppending if it is connected wired or wireless.Hi, is there any plan to add more than 1 MAC to a single IP? I mean, some device have both wired and wireless MAC (i.e. printers) and I'd be nice to have 1 entry for both MAC addresses and assign it one IP only
Do you want to export DHCP assignments and hostnames from nvram to YazDHCP DHCP client files? (y/n)
YazDHCP will backup nvram/jffs DHCP data as part of the export, but you may wish to screenshot https://<ip_address>/Advanced_DHCP_Content.asp
Enter answer (y/n):
Good spot, I'll move the screenshot prompt to the installer prior to replacing the page. A screenshot backup of DHCP is never a bad thing to have, just in caseA very minor comment about the initial install...
The installer at one point asks:
Do you want to export DHCP assignments and hostnames from nvram to YazDHCP DHCP client files? (y/n) YazDHCP will backup nvram/jffs DHCP data as part of the export, but you may wish to screenshot https://<ip_address>/Advanced_DHCP_Content.asp Enter answer (y/n):
However, when I went to the page it had already been replaced with the YazDHCP version, and so no hosts were displayed, i.e. nothing to screenshot.
I said 'y' and all is well.
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
V | Best Practice When Importing CSV To YazDHCP? | Asuswrt-Merlin AddOns | 7 | |
L | scMerlin Is this feature enabled by default in scMerlin? | Asuswrt-Merlin AddOns | 2 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!