Nigel Mahon
New Around Here
Hello dear fellow SNB enthusiasts! I have a puzzle for you which is keeping me busy for quite some time.
I have an Asus RT-AC87U with the latest Merlin firmware. I'm using this on a (KPN) fibre connection with PPPoE configured. To provide my home with routed IPtv I have managed to configure this with JFFS scripts and configs. The router keeps up with the > 500/500mbits the fibre connection deliveres. Nice
So, in short, my problem:
- If I active the scripts on the JFFS partition, routed IPtv works like a charm.
- Port 1 on the 4 port internal switch does not work anymore.
- 5Ghz wifi does not work anymore, nor does the webinterface for basis wifi settings. Pro-settings do work, radio for both 2,4 and 5ghz is on. 2,4Ghz wifi works. The webinterface only shows the bottom part of the page and does not respond to input very well. Cannot scroll to the top, quite strange.
Good to know:
Vlan 6 = internet, and I have enabled it simply in the webinterface.
Vlan 4 = Tv and this is added in the Wan-start script, which runs nicely.
Vlan 7 = Voip, which I don't use.
To start, here is my wan-start script:
And that kinda works well I'd say, since it does this to my robocfg:
I have tried various port-settings, since port 1 AND 5Ghz wifi doesn't work when this is active I think it has something to do with each other. But not sure.
The output of brctl show us this:
Did I just found a great bug, or made a big mistake? Thanks for thinking this one through with me!
Further config info about the scripts can be found here (Dutch site, but the scripts are English), if needed I'm more then happy to eleborate. Crazy amounts of logs can be found here.
I have an Asus RT-AC87U with the latest Merlin firmware. I'm using this on a (KPN) fibre connection with PPPoE configured. To provide my home with routed IPtv I have managed to configure this with JFFS scripts and configs. The router keeps up with the > 500/500mbits the fibre connection deliveres. Nice
So, in short, my problem:
- If I active the scripts on the JFFS partition, routed IPtv works like a charm.
- Port 1 on the 4 port internal switch does not work anymore.
- 5Ghz wifi does not work anymore, nor does the webinterface for basis wifi settings. Pro-settings do work, radio for both 2,4 and 5ghz is on. 2,4Ghz wifi works. The webinterface only shows the bottom part of the page and does not respond to input very well. Cannot scroll to the top, quite strange.
Good to know:
Vlan 6 = internet, and I have enabled it simply in the webinterface.
Vlan 4 = Tv and this is added in the Wan-start script, which runs nicely.
Vlan 7 = Voip, which I don't use.
To start, here is my wan-start script:
Code:
#!/bin/sh
# Leave VOIP traffic tagged for original router
# /usr/sbin/robocfg vlan 7 ports "0t 4t 7t"
# Setup VLAN4 on the CPU as well so we can talk to it
/usr/sbin/robocfg vlan 4 ports "0t 7t"
/usr/sbin/robocfg vlan 1 ports "4 3 2 1 7t"
# Add VLAN4 as a physical interface
/sbin/vconfig add eth0 4
# Request an IP-address and setup static routes
/usr/bin/killall udhcpc
sleep 1
udhcpc -i vlan4 --clientid-none -O msstaticroutes -O staticroutes -V IPTV_RG -s /jffs/scripts/vlan4.script -p /var/run/vlan4.pid -b -O33 -O249
# Restart IGMP proxy
sleep 20
/usr/bin/killall igmpproxy
sleep 1
/usr/sbin/igmpproxy /jffs/configs/igmpproxy.conf
And that kinda works well I'd say, since it does this to my robocfg:
Code:
admin@RT-AC87U-0600:/tmp/home/root# robocfg show
Switch: enabled
Port 0: 1000FD enabled stp: none vlan: 2 jumbo: off mac: 94:04:9c:db:ca:d9
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: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 80:fa:5b:26:63:71
Port 4: 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: 1 2 3 4 7t
2: vlan2: 0 7
4: vlan4: 0t 7t
6: vlan6: 0t 7t
1045: vlan1045: 2 3t 7
1046: vlan1046: 3t 5 7t 8u
1047: vlan1047: 0 3t 8t
1099: vlan1099: 3 4t
1100: vlan1100: 1t 5t
1101: vlan1101: 4 7 8u
1102: vlan1102: 1t 2 3 4t 5t 8u
1103: vlan1103: 1 2 3 4t 5t
I have tried various port-settings, since port 1 AND 5Ghz wifi doesn't work when this is active I think it has something to do with each other. But not sure.
The output of brctl show us this:
Code:
admin@RT-AC87U-0600:/tmp/home/root# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.9c5c8eb70600 yes vlan1
eth1
wl0.1
Did I just found a great bug, or made a big mistake? Thanks for thinking this one through with me!
Further config info about the scripts can be found here (Dutch site, but the scripts are English), if needed I'm more then happy to eleborate. Crazy amounts of logs can be found here.