Skip to content

Instantly share code, notes, and snippets.

@jniltinho
Last active June 18, 2023 07:20
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jniltinho/cd32da30bb5c3f4f07f380102fec4e36 to your computer and use it in GitHub Desktop.
Save jniltinho/cd32da30bb5c3f4f07f380102fec4e36 to your computer and use it in GitHub Desktop.
#!/bin/bash
## Install USB WiFi adapter AC-1200 on Ubuntu 18.04
## Bus 002 Device 006: ID 0e8d:7612 MediaTek Inc.
## https://askubuntu.com/questions/1119004/usb-wifi-adapter-problem
## https://bbs.archlinux.org/viewtopic.php?id=250273
## http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=2830&view=next
## https://github.com/kaduke/Netgear-A6210
sudo apt install git dkms build-essential
git clone https://github.com/jeremyb31/mt7612u.git
cd mt7612u
make
sudo make installfw
sudo cp mt7612u.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/
sudo depmod -a
usb_modeswitch -KW -v 0e8d -p 2870
## Or
sudo apt install git dkms build-essential
git clone https://github.com/kaduke/Netgear-A6210
cd Netgear-A6210
make
sudo make install
usb_modeswitch -KW -v 0e8d -p 2870
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment