I am running RT-AC68U 380.69_2, and I use a script to assign wl0.1, wl0.2, wl0.3 to different VLAN's. My /jffs/scripts/services-start includes:
This works great, but if the wireless is power cycled, it re-assigns the wl0.x's to br0 again. This occurred "randomly" last night, but also by pushing the button on the case (not by radio off and radio on via SSH).
My questions are:
1. How do I determine what causes the "random" re-assigning of the wl0.x's to br0?
2. How do I prevent it from occurring, or repair it when it does occur? (simply running the listed brctl delif and addif commands is not enough, I need to reboot router to correct)
3. Is there a script that can be run on wireless interface startup?
3. Can the case mounted wi-fi on/off button be disabled?
Code:
brctl delif br0 wl0.1
brctl delif br0 wl0.2
brctl delif br0 wl0.3
brctl addif br1 wl0.1
brctl addif br4 wl0.2
brctl addif br5 wl0.3
This works great, but if the wireless is power cycled, it re-assigns the wl0.x's to br0 again. This occurred "randomly" last night, but also by pushing the button on the case (not by radio off and radio on via SSH).
My questions are:
1. How do I determine what causes the "random" re-assigning of the wl0.x's to br0?
2. How do I prevent it from occurring, or repair it when it does occur? (simply running the listed brctl delif and addif commands is not enough, I need to reboot router to correct)
3. Is there a script that can be run on wireless interface startup?
3. Can the case mounted wi-fi on/off button be disabled?