Skip to content

Instantly share code, notes, and snippets.

@kaustubhn
Created June 19, 2019 10:40
Show Gist options
  • Save kaustubhn/ea0e5d0c9539b9e62e04fc17db747f44 to your computer and use it in GitHub Desktop.
Save kaustubhn/ea0e5d0c9539b9e62e04fc17db747f44 to your computer and use it in GitHub Desktop.
Install WIFI Driver for ubuntu 18 on HP Laptop
#!/bin/bash
apt update
apt install git build-essential dkms
git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
dkms add ./rtlwifi_new
dkms install rtlwifi-new/0.6
modprobe -r rtl8723de
modprobe rtl8723de
echo "options rtl8723de ant_sel=3" | sudo tee /etc/modprobe.d/rtl8723de.conf
reboot
@kaustubhn
Copy link
Author

Instructions to run the script

  1. download the gist
  2. unzip to a folder
  3. cd
  4. chmod +x install_wifi.sh
  5. sudo ./install_wifi.sh

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