jetonr
New Around Here
Hi all,
New around here,
I have been reading through the forums and finally managed to turn my DSL-AC68U into a dumb access point that creates1 IOT wifi, one Guest and the private wifi ( all three have both 2.5GHZ and 5GHZ ). I will add the script below just in case although everything is working but its very slow and unstable. Any help would be appreciated.
I have tried disabling the NAT Acceleration but to no avail!
New around here,
I have been reading through the forums and finally managed to turn my DSL-AC68U into a dumb access point that creates1 IOT wifi, one Guest and the private wifi ( all three have both 2.5GHZ and 5GHZ ). I will add the script below just in case although everything is working but its very slow and unstable. Any help would be appreciated.
I have tried disabling the NAT Acceleration but to no avail!
Bash:
# brctl show:
bridge name bridge id STP enabled interfaces
br101 8000.000000000000 no
br0 8000.0c9d924dd520 no vlan1
br1 8000.0c9d924dd521 yes eth0.501
eth1.501
eth2.501
br2 8000.0c9d924dd525 yes eth0.502
eth1.502
eth2.502
br30 8000.0c9d924dd520 no wl0.1
wl1.1
vlan30
br40 8000.0c9d924dd520 no wl0.2
wl1.2
vlan40
br99 8000.0c9d924dd520 no eth1
eth2
vlan99
Bash:
#!/bin/sh
# multi SSID with VLAN script, for ASUS DSL-AC68U with merlin 386.10-gnuton1.
# DHCP service is configured by main router pfsense in my case,
# This DSL has NAT, DHCP turned off and its acting as a dumb AP
# configure vlans on switch ports
# robocfg is Broadcom BCM5325/535x/536x/5311x switch configuration utility
robocfg vlan 30 ports "4t 5t"
robocfg vlan 40 ports "4t 5t"
robocfg vlan 99 ports "4t 5t"
# add vlan interface on merlin at eth0[switch 5 Port]
vconfig add eth0 30
vconfig add eth0 40
vconfig add eth0 99
# then up it
ifconfig vlan30 up
ifconfig vlan40 up
ifconfig vlan99 up
# remove guest wifis from br0 wl0.x-->guest wifi 2.4 GHz wl1.x-->guest wifi 5.0 GHz
brctl delif br0 eth1
brctl delif br0 eth2
brctl delif br0 wl0.2
brctl delif br0 wl1.2
brctl delif br1 wl0.1
brctl delif br2 wl1.1
# add linux network bridge
brctl addbr br30
brctl addbr br40
brctl addbr br99
# add guest wifis to linux network bridge
brctl addif br30 wl0.1 wl1.1
brctl addif br40 wl0.2 wl1.2
brctl addif br99 eth1 eth2
# add interfaces to linux network bridges
brctl addif br30 vlan30
brctl addif br40 vlan40
brctl addif br99 vlan99
# up linux network bridge
ifconfig br30 up
ifconfig br40 up
ifconfig br99 up
# setting nvram values must be correct. if NOT correct, will reject wireless client request.
nvram set br0_ifname="br0"
nvram set lan_ifname="br0"
nvram set lan_ifnames="vlan1"
nvram set br0_ifnames="vlan1"
nvram set lan1_ifnames="vlan30 wl0.1 wl1.1"
nvram set lan1_ifname="br30"
nvram set br30_ifname="br30"
nvram set br30_ifnames="vlan30 wl0.1 wl1.1"
nvram set lan2_ifnames="vlan40 wl0.2 wl1.2"
nvram set lan2_ifname="br40"
nvram set br40_ifname="br40"
nvram set br40_ifnames="vlan40 wl0.2 wl1.2"
nvram set lan3_ifnames="vlan99 eth1 eth2"
nvram set lan3_ifname="br99"
nvram set br99_ifname="br99"
nvram set br99_ifnames="vlan99 eth1 eth2"
killall eapd
eapd
# Flush ebtables --> clear all rules
ebtables -F
# Restart HTTP GUI
service restart_httpd
Last edited: