From 42305b643a45d78b218d7c4befdb35cc94bcc47b Mon Sep 17 00:00:00 2001 From: Scott Leonard Date: Mon, 24 Nov 2025 03:03:02 -0800 Subject: [PATCH] Wifi Stuff --- wifi_drivers/README.md | 91 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 wifi_drivers/README.md diff --git a/wifi_drivers/README.md b/wifi_drivers/README.md new file mode 100644 index 0000000..e264081 --- /dev/null +++ b/wifi_drivers/README.md @@ -0,0 +1,91 @@ +# 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 + +```bash +opkg update && opkg install \ + kmod-mt76x2u mt76x2u-firmware usbutils +