Cheers & thankyou @Martinski your version is a huge improvement
edit: actually, on my rt-be92u the output is wrong with your function, perhaps because br0 has no vlan assignment in vlan_rl. I'll do a little investigationing.
Hi, my apologies if I'm in the wrong section. I'm wondering if there is a repository of helper scripts to parse common (or not so common) nvram settings and output them in an easy to parse way for larger scripts, or just for quick command-line reference? A quick search says no but I'm hopeful :)...
One thing to note is that on the be92u (at least) eth1.(vlan) is added to the guest network bridge in SDN. This allows dhcpc6 messages from any added ipv6 network and the machine gets ipv6 addresses from all configured SDN's. messed up ethernet-connected windows11 machine ipv6 routing for me...
ok, here it is. the tldr; script sets up the dnsmasq, routing and firewall bits then waits for user input. If you're happy with the results (after testing) a 'Y' will save the various bits in /jffs, otherwise will try to clean up anything it did and exit. It relies on SDN_ iptables chains so...
I knocked up a hideous tester/helper script which successfully (for me) adds a /64 to a bridge from the cmdline given the bridge name and the index (same as dnsmasq-(index).conf). I don't know if anyone else actually wants/needs such a thing but I'll post it if someone wants it.
Can't say that I blame you :) it's a can of worms I don't think I'll open now that @dave14305 has gone to all the effort of investigating what is going on (sorry dave14305). If I wanted to knock up a script to setup the effect while using 'native' ipv6 without gui involvement, would I be right...
Hi. After installing Merlin 3006.102.5 on my new rt-be92u I was trawling through the menus and found Network>(network)>Advanced Settings>IPV6. As I have a /48 via 'native' I thought I'd give it a test, immediately breaking ipv6 SLAAC. A quick ssh into the router saw that the switch had sliced...