Skip to content

Instantly share code, notes, and snippets.

@1Conan
Last active March 22, 2025 18:54
Show Gist options
  • Save 1Conan/398b22dcec0b3d03e32fb2a56b645057 to your computer and use it in GitHub Desktop.
Save 1Conan/398b22dcec0b3d03e32fb2a56b645057 to your computer and use it in GitHub Desktop.
Disable internal wifi and replace with a 5ghz capable dongle based on MT7612u.
#!/bin/sh
# Use a lan connection to set this up!
# ssh mks@<ip>
# Default password: makerbase
# Download firmware from mt76 repo
sudo wget -P /lib/firmware/mediatek https://github.com/openwrt/mt76/raw/refs/heads/master/firmware/mt7662_firmware_e3_v2.3.bin
sudo wget -P /lib/firmware/mediatek https://github.com/openwrt/mt76/raw/refs/heads/master/firmware/mt7662_patch_e3_hdr_v0.0.2_P69.bin
# Link the firmware files to where the drivers expect it
sudo ln -s /lib/firmware/mediatek/mt7662_firmware_e3_v2.3.bin /lib/firmware/mt7662.bin
sudo ln -s /lib/firmware/mediatek/mt7662_patch_e3_hdr_v0.0.2_P69.bin /lib/firmware/mt7662_rom_patch.bin
# Disable internal wifi
echo "blacklist 8188gu" | sudo tee /lib/modprobe.d/blacklist-internal.conf
sudo reboot
@1Conan
Copy link
Author

1Conan commented Mar 22, 2025

Configuring wifi thru the built-in display still works and now shows 5Ghz networks.
WPA3 is not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment