Repository navigation
Setup Wizard
Jarvis edited this page Aug 31, 2026
·
3 revisions
Run the setup wizard on your router:
glinet-vlan-qos-setup.sh- QoS (default): WAN-rooted HTB with per-VLAN priority classes
- SQM: CAKE diffserv at measured WAN bandwidth for bufferbloat reduction
Select your model or choose auto-detect:
- Flint 2 (GL-MT6000)
- Flint 3 (GL-BE9300)
- Flint 4 (GL-BE14000)
- Slate 7 (GL-BE3600)
- Slate 7 Pro (GL-BE10000)
- Beryl 7 (GL-MT3600BE)
- Flint 3e (GL-BE6500)
- Auto-detect
Install hooks that survive reboots and firmware upgrades:
- Adds to
/etc/rc.localfor boot - Adds to
/etc/gl-switch.d/vlan-qos.shfor network changes - Adds to
/etc/sysupgrade.conf.d/for firmware upgrades
Set your actual WAN limits:
- Upload (kbps)
- Download (kbps)
Assign priority (1-3, 1=highest) to each bridge:
-
br-lan(main LAN + WiFi) -
br-iot(IoT devices) -
br-guest(Guest network) -
tailscale0(Tailscale mesh)
Review settings and apply. The script verifies qdisc and nft rules.
To remove QoS and all traces:
glinet-vlan-qos-setup.sh uninstallOr directly:
/usr/local/sbin/glinet-vlan-qos.sh uninstallThis removes:
- HTB qdiscs and CAKE leaf qdiscs on WAN and bridges
- All fw filters and nft marks
-
/etc/gl-switch.d/vlan-qos.shhook -
/etc/rc.localQoS stanza /etc/sysupgrade.conf.d/glinet-qos.conf- The scripts themselves from
/usr/local/sbin/
# Set config manually
echo 'WAN_BW_UP=100000' > /etc/gl-qos-vlan.conf
echo 'WAN_BW_DOWN=500000' >> /etc/gl-qos-vlan.conf
echo 'CAKE_ENABLE=1' >> /etc/gl-qos-vlan.conf
# Apply directly
/usr/local/sbin/glinet-vlan-qos.sh start