Skip to content

Instantly share code, notes, and snippets.

@mayataka
Last active April 8, 2020 11:24
Show Gist options
  • Save mayataka/a712d4fe59e6d9f99ef154cb7f596c25 to your computer and use it in GitHub Desktop.
Save mayataka/a712d4fe59e6d9f99ef154cb7f596c25 to your computer and use it in GitHub Desktop.
Wi-fi driver for Thinkpad X1 gen7 Ubuntu 18.04 LTS
sudo apt update
sudo apt install git build-essential
cd
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
cd backport-iwlwifi/
make defconfig-iwlwifi-public
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
make -j$(nproc)
sudo make install
sudo modprobe iwlwifi
cd
rm -rf backport-iwlwifi
rm get_driver.sh
sudo reboot
@mayataka
Copy link
Author

mayataka commented Apr 8, 2020

If secure boot is disabled, wi-fi connects just by reboot.
If not, see here.
https://amefs.net/en/archives/2013.html

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