Skip to content

Instantly share code, notes, and snippets.

@havron
Last active October 2, 2018 15:47
Show Gist options
  • Save havron/2da8433494dcdeff8d399d047df63a97 to your computer and use it in GitHub Desktop.
Save havron/2da8433494dcdeff8d399d047df63a97 to your computer and use it in GitHub Desktop.
If you have bought a netgear A7000 wifi dongle for your desktop, this is the easy way to ensure it plays nice with your Linux distro. Some of the versioning could be outdated, so be sure to change the versions for your system (and find new dkms module if needed).
$driver = rtl8814au
cd $HOME
sudo apt update
sudo apt install git dkms libelf-dev
git clone https://github.com/zebulon2/$driver.git
sudo dkms add ./$driver
sudo dkms build -m $driver -v 4.3.21
sudo dkms install -m $driver -v 4.3.21
echo "How to enroll the driver as a trusted module:"
echo "Reboot and allow custom keys in Secure Boot in BIOS."
echo "Now reboot into secure boot and enter the password"
echo "If you don't want secure boot, run sudo dkms remove rtl8814au/4.3.21 --all to start over"
echo "and then follow this advice: https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS"
echo "Hints:"
echo "inspect make.log with cat /var/lib/dkms/rtl8814au/kernel-4.15.0-36-generic-x86_64/log/make.log"
echo "mokutil --list-new or mokutil --list-enrolled will help show the keys are ready."
echo "dkms status will show the build is installed."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment