Files
GL-XE300/wifi_drivers/README.md
2025-11-24 03:03:02 -08:00

1.8 KiB

USB Wi-Fi Adapter Setup (MediaTek MT7612U) for GL-XE300 with OpenWRT 24.10.0

Step 1: Detect USB Adapter

lsusb

Expected:

0e8d:7612 MediaTek Inc. Wireless

Step 2: Confirm Driver Loads

dmesg | tail -n 50

Expected:

mt76x2u ... Firmware Version: 0.0.00 ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'

Step 3: Generate and Edit Wireless Config

wifi config

Then edit /etc/config/wireless to include:

config wifi-device 'radio0' option type 'mac80211' option path 'platform/ahb/18100000.wmac' option band '2g' option channel '1' option htmode 'HT20' option disabled '0'

config wifi-iface 'default_radio0' option device 'radio0' option network 'lan' option mode 'ap' option ssid 'OpenWrt' option encryption 'none'

config wifi-device 'radio1' option type 'mac80211' option path 'platform/ahb/1b000000.usb/usb1/1-1/1-1.3/1-1.3:1.0' option band '5g' option channel '36' option htmode 'VHT80' option disabled '0'

config wifi-iface 'default_radio1' option device 'radio1' option network 'lan' option mode 'ap' option ssid 'OpenWrt-5G' option encryption 'none'

Step 4: Bring Up Wireless

wifi down wifi up

Step 5: Verify Both Radios Are Active

iw dev

Expected Output:

phy#3 Interface phy3-ap0 ssid OpenWrt-5G channel 40 (5200 MHz), width: 80 MHz

phy#0 Interface phy0-ap0 ssid OpenWrt channel 1 (2412 MHz), width: 20 MHz

ip link

Expected Interfaces:

phy3-ap0 phy0-ap0

You now have both the internal 2.4GHz and USB 5GHz radios running together in AP mode.

Install Commands

opkg update && opkg install \
  kmod-mt76x2u mt76x2u-firmware usbutils