Skip to content

Instantly share code, notes, and snippets.

@joshschmelzle
Last active April 23, 2025 17:08
Show Gist options
  • Save joshschmelzle/606c7dae296c13b956971610a32bebe4 to your computer and use it in GitHub Desktop.
Save joshschmelzle/606c7dae296c13b956971610a32bebe4 to your computer and use it in GitHub Desktop.
Some quick notes on command discovery when playing with the GL iNet OpenWrt based BE3600

GL iNet OpenWrt raw CLI notes

Some quick notes on command discovery when playing with the GL iNet OpenWrt GL-BE3600.

linux stuff:

iwinfo
iwinfo wlan0 info
iwconfig wlan0
iw dev wlan0 info
iw phy phy1 info 
iw phy phy2 info 
wlanconfig wlan0 list
ifconfig wlan1 down
ifconfig wlan1 up
ps | grep -E "hostapd|wpa_supplicant"

enumeration:

cat /etc/glversion
opkg list-installed | grep -E "ath"
opkg list-installed | grep -E "wifi"

qca driver stuff:

athstats
athdiag

openwrt?

uci set wireless.wifi0.supported_rates='12 24 48 54'
uci set wireless.wifi1.supported_rates='12 24 48 54'
uci commit wireless
wifi reload
log read
logread | grep -i rate
uci show wireless
uci show wireless | grep -i rate

shutting everything down and just running one VAP:

rm -f /var/run/wpa_supplicant-*.lock
rm -f /var/run/hostapd-*.lock
killall -9 hostapd
killall -9 wpa_supplicant
echo "supported_rates=120 240 360 480 540" >> /var/run/hostapd-wlan1.conf
echo "basic_rates=120 240" >> /var/run/hostapd-wlan1.conf
ip link set wlan1 up
hostapd -dd /var/run/hostapd-wlan1.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment