WIFI - VLAN issues - Beryl 7 (GL-MT3600BE)

Hi there,

First post here - I have finally gotten my self a GL-MT3600BE which is something i have waiting for a long time. Here is why:

I needed a router with 2x 2.5G ports for home usage + a compact travel router (would have preferred it if had a sim card slot but eh well cant wish for all i guess). And i needed it to be able to run openwrt and have community support so not Qualcomm based and well this was the only one i found so far - let me know if there is alternatives :stuck_out_tongue:

Now the problem I am facing is - as mentioned i need it to work for home and travel sense - travel wise - all good no complaints there it works.

When i try to make the home configuration however - i cant seem to be able to assign VLAN`s to the WIFI networks. And well since there is no official openwrt image yet - wanted to ask is that something to do with the gl.inet driver or?
The issue is that for some reason if i assign a attach the VLAN to a SSID it stops functioning and doesn’t authenticate anymore.

My research suggests that the MT7993 can not have different SSID attached to separate bridges and will always be bound to a single bridge. (Research suggest this is a driver limitation regardless of GL.inet or vanilla OpenWRT build)

How are you attaching the new SSID to a new interface? I’ve tried to test this and I am unable to attach the new SSID to another interface, regardless of settings it remains attached to the default lan interface with the other SSIDs?

Hmmm, have you restart the router to confirm?

This often the MTK SDK where luci only have the most basic functionality for wifi.

Assigning a new network should in theory just work, but a full router restart is a requirement.

About the vlans I haven't tested this, but I suspect there is no limitation it looked for me to a normal network format, expected more trouble with the port design of brume3, but this is not the case in Beryl 7.

I was configuring this using UCI over SSH and attempting to apply the changes with both ‘wifi reload’ as well as a networking restart. In neither case did the additional SSID network binding take effect and remained bound to ‘lan’.

I will do a full reboot and see if this makes any difference.

1 Like

@m.v.petev Confirmed (thanks to @xize11 and pointing out it needs a reboot) that Beryl 7 works fine with new SSID assigned to a seperate VLAN.

Steps to configure through Luci (vlan 50 example in LAN firewall zone for ease):

  • Create new eth1.50 dot1q vlan device
  • Create new br-vlan50 bridge device with eth1.50 as member
  • Create new vlan50 interface with br-vlan50 and static IP 192.168.50.1/24 + DHCP server + assigned to LAN firewall

Apply changes

From SSH

  • command uci set wireless.rai4.network='vlan50' (replace rai4 with correct for new SSID)
  • repeat above for 2.4Ghz SSID
  • command uci commit wireless
  • reboot
1 Like

That is pretty much what I am doing. Well almost same with me i do it over uci but in this case i dont want DHCP I have a main router downstream taking care of this.

setup is as follows for one of the vlans there is 3 in total but if it works for 1 should work for all.

add network device
set network.@device[-1].name='eth0.10'
set network.@device[-1].type='8021q'
set network.@device[-1].ifname='eth0'
set network.@device[-1].vid='10'
set network.home10='interface'
set network.home10.type='bridge'
set network.home10.proto='none'
add_list network.home10.ifname='eth0.10'
set network.home10.bridge_empty='1'
set dhcp.home10='dhcp'
set dhcp.home10.interface='home10'
set dhcp.home10.ignore='1'

commit network
reboot

So this is for the vlan so far

Then the WiFi

set wireless.musi_home_2g='wifi-iface'
set wireless.musi_home_2g.device='MT7993_1_1'
set wireless.musi_home_2g.mode='ap'
set wireless.musi_home_2g.network='home10'
set wireless.musi_home_2g.ssid='XXXXXXXXX'
set wireless.musi_home_2g.encryption='psk2+ccmp'
set wireless.musi_home_2g.key='XXXXXXX'

commit wireless
reboot

This does not allow me to connect to the wireless somehow
btw i have the firewall off completely for this testing

@m.v.petev my working uci config, using 2.4Ghz this time as example. Re-configured fresh just now

uci add network device # =cfg1c0f15
uci set network.@device[-1].type='8021q'
uci set network.@device[-1].ifname='eth1'
uci set network.@device[-1].vid='50'
uci set network.@device[-1].name='eth1.50'

uci add network device # =cfg1d0f15
uci set network.@device[-1].type='bridge'
uci set network.@device[-1].name='br-vlan50'
uci add_list network.@device[-1].ports='eth1.50'

uci set network.vlan50=interface
uci set network.vlan50.proto='static'
uci set network.vlan50.device='br-vlan50'
uci set network.vlan50.ipaddr='192.168.50.1'
uci set network.vlan50.netmask='255.255.255.0'

wireless.ra4=wifi-iface
wireless.ra4.ifname='ra4'
wireless.ra4.device='MT7993_1_1'
wireless.ra4.mode='ap'
wireless.ra4.disabled='0'
wireless.ra4.ssid='ssid_vlan50'
wireless.ra4.vifidx='5'
wireless.ra4.hidden='0'
wireless.ra4.wmm='1'
wireless.ra4.dtim_period='1'
wireless.ra4.encryption='psk2+ccmp'
wireless.ra4.key='said_vlan50'
wireless.ra4.rekey_interval='3600'
wireless.ra4.rekey_meth='TIME'
wireless.ra4.ieee8021x='0'
wireless.ra4.auth_server='0'
wireless.ra4.auth_port='1812'
wireless.ra4.session_timeout='0'
wireless.ra4.rsn_preauth='0'
wireless.ra4.ieee80211w='0'
wireless.ra4.pmf_sha256='0'
wireless.ra4.tx_rate='0'
wireless.ra4.isolate='0'
wireless.ra4.rts='2347'
wireless.ra4.frag='2346'
wireless.ra4.apsd_capable='1'
wireless.ra4.vht_bw_signal='0'
wireless.ra4.vht_ldpc='1'
wireless.ra4.vht_stbc='1'
wireless.ra4.vht_sgi='1'
wireless.ra4.ht_ldpc='1'
wireless.ra4.ht_stbc='1'
wireless.ra4.ht_protect='1'
wireless.ra4.ht_gi='1'
wireless.ra4.ht_opmode='0'
wireless.ra4.ht_amsdu'1'
wireless.ra4.ht_autoba='1'
wireless.ra4.ht_bawinsize='512'
wireless.ra4.ht_badec='0'
wireless.ra4.igmpsn_enable='0'
wireless.ra4.mumimoul_enable='0'
wireless.ra4.mumimodl_enable='0'
wireless.ra4.muofdmaul_enable='0'
wireless.ra4.muofdmadl_enable='0'
wireless.ra4.pmk_cache_period='10'
wireless.ra4.wds='0'
wireless.ra4.mbo='0'
wireless.ra4.eml_mode='0'
wireless.ra4.eml_trans_to='0'
wireless.ra4.eml_omn_en='0'
wireless.ra4.mrsno_enable='0'
wireless.ra4.network='vlan50'

@oorweeg ok your config actually solved the issue for me. Also I realised my mistake - I was doing VLAN filtering in conjunction which i guess broke everything.

But on the plus side my frustration made me reprogram the side switch to change configurations so with your imput + @xize11 now I have the perfect home/travel router just flip the switch and you get the config that is needed :slight_smile:

Just remaining to configure roaming on the home part of it but i don’t expect issues with that.

Thanks again!

2 Likes