#!/bin/sh # Use a lan connection to set this up! # ssh mks@ # 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