Jared Heath
New Around Here
Hello,
I have a RT-AC68U that has been on stock ASUS firmware forever. Recently I went through the process of getting a VLAN setup for guest access for various reasons. I have a script I was running that worked just fine on the stock firmware.
Enter a power failure and my desire to have these run automatically and I'm upgrading to Merlin's firmware that can to jffs scripting automatically.
My existing script crashes and burns on the new firmware. Just swapping some of the ports to vlan 1 causes the network to drop and essentially not come back without rebooting.
Here is the output of robocfg show
Switch: enabled
Port 0: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 1: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 2: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 3: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 4: 1000FD enabled stp: none vlan: 1 jumbo: off mac: a4:db:30:e5:1f:cb
Port 5: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 1c:b7:2c:c6:d4:c8
Port 7: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 8: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
VLANs: BCM5301x enabled mac_check mac_hash
1: vlan1: 0 1 2 3 4 5t
2: vlan2: 5t
56: vlan56: 0t 1 3t 5 7
57: vlan57: 1 2 3t 4 7 8u
58: vlan58: 0 1 4t 7
59: vlan59: 3t 5 7t
60: vlan60: 1 2 4 5t 7t 8t
61: vlan61: 2 3t 7
62: vlan62: 0 1t 2t 3 4 7 8u
And the script I have to make the vlan changes:
robocfg vlan 1 ports "1 2 3 4 8t"
robocfg vlan 2 ports "0t 8t"
ifconfig vlan2 up
brctl addbr br1
brctl delif br0 wl0.1
brctl addif br1 wl0.1
brctl addif br1 vlan2
ifconfig br1 10.0.1.3 netmask 255.255.255.0
ifconfig br1 up
nvram set lan_ifnames="vlan1 eth1 eth2"
nvram set lan_ifname="br0"
nvram set lan1_ifnames="vlan2 wl0.1"
nvram set lan1_ifname="br1"
nvram commit
killall eapd
eapd
I pieced this script together probably last year reading multiple posts here and elsewhere, but I cannot find anything helpful at this point that leads to any sort of understanding why the first line blows up the networking. I have yet to find a way to get into the router once the first line is issued.
Is there something missing that's different in the firmware? Did the flash go bad somehow?
I have a RT-AC68U that has been on stock ASUS firmware forever. Recently I went through the process of getting a VLAN setup for guest access for various reasons. I have a script I was running that worked just fine on the stock firmware.
Enter a power failure and my desire to have these run automatically and I'm upgrading to Merlin's firmware that can to jffs scripting automatically.
My existing script crashes and burns on the new firmware. Just swapping some of the ports to vlan 1 causes the network to drop and essentially not come back without rebooting.
Here is the output of robocfg show
Switch: enabled
Port 0: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 1: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 2: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 3: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 4: 1000FD enabled stp: none vlan: 1 jumbo: off mac: a4:db:30:e5:1f:cb
Port 5: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 1c:b7:2c:c6:d4:c8
Port 7: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 8: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
VLANs: BCM5301x enabled mac_check mac_hash
1: vlan1: 0 1 2 3 4 5t
2: vlan2: 5t
56: vlan56: 0t 1 3t 5 7
57: vlan57: 1 2 3t 4 7 8u
58: vlan58: 0 1 4t 7
59: vlan59: 3t 5 7t
60: vlan60: 1 2 4 5t 7t 8t
61: vlan61: 2 3t 7
62: vlan62: 0 1t 2t 3 4 7 8u
And the script I have to make the vlan changes:
robocfg vlan 1 ports "1 2 3 4 8t"
robocfg vlan 2 ports "0t 8t"
ifconfig vlan2 up
brctl addbr br1
brctl delif br0 wl0.1
brctl addif br1 wl0.1
brctl addif br1 vlan2
ifconfig br1 10.0.1.3 netmask 255.255.255.0
ifconfig br1 up
nvram set lan_ifnames="vlan1 eth1 eth2"
nvram set lan_ifname="br0"
nvram set lan1_ifnames="vlan2 wl0.1"
nvram set lan1_ifname="br1"
nvram commit
killall eapd
eapd
I pieced this script together probably last year reading multiple posts here and elsewhere, but I cannot find anything helpful at this point that leads to any sort of understanding why the first line blows up the networking. I have yet to find a way to get into the router once the first line is issued.
Is there something missing that's different in the firmware? Did the flash go bad somehow?