WhatHappenedToMyRouter
New Around Here
Hello!
I'm trying to apply separate dnsmasq .conf files to specific wireless interfaces (as seen in YazFi)
I've exhausted gemini, chatgpt, and grok with this. They all are like "OK THIS IS THE 100% working script!" 20x in a row, but everything they ask me to try hasn't worked.
They all continue to ask me to try things that don't work, even after explaining that they don't work, so I supposed it's hallucinating like crazy.
In my /jffs/configs/dnsmasq.conf.add file I have this declaration: conf-dir=/jffs/configs/dnsmasq.d,*.conf
I have a /jffs/configs/dnsmasq.conf.d/global.conf which is applied, and works great. It redirects major search engines to their "safe" IP and blocks other things.
I have another file /jffs/configs/dnsmasq.conf.d/spacewifi.conf which is intended for a Yazfi network. I've found that the interface for this wifi network in /jffs/addons/YazFi.d/config and it's wl1.2
So in my spacewifi.conf, the lines are a collection of blocks:
address=/facebook.com/0.0.0.0
However, I can't get it to just apply to the specific subnet that spacewifi is on (192.168.6.0/24) no matter what combination of interface, dhcp-range, dhcp-option that I try :-(
Has anyone successfully gotten dnsmasq to work with a specific subnet or with a Yazfi interface?
I'm trying to apply separate dnsmasq .conf files to specific wireless interfaces (as seen in YazFi)
I've exhausted gemini, chatgpt, and grok with this. They all are like "OK THIS IS THE 100% working script!" 20x in a row, but everything they ask me to try hasn't worked.
They all continue to ask me to try things that don't work, even after explaining that they don't work, so I supposed it's hallucinating like crazy.
In my /jffs/configs/dnsmasq.conf.add file I have this declaration: conf-dir=/jffs/configs/dnsmasq.d,*.conf
I have a /jffs/configs/dnsmasq.conf.d/global.conf which is applied, and works great. It redirects major search engines to their "safe" IP and blocks other things.
I have another file /jffs/configs/dnsmasq.conf.d/spacewifi.conf which is intended for a Yazfi network. I've found that the interface for this wifi network in /jffs/addons/YazFi.d/config and it's wl1.2
So in my spacewifi.conf, the lines are a collection of blocks:
address=/facebook.com/0.0.0.0
However, I can't get it to just apply to the specific subnet that spacewifi is on (192.168.6.0/24) no matter what combination of interface, dhcp-range, dhcp-option that I try :-(
Has anyone successfully gotten dnsmasq to work with a specific subnet or with a Yazfi interface?
