Skip to content

Instantly share code, notes, and snippets.

@MehulBawadia
Created December 31, 2020 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MehulBawadia/41b96e33019dabe881f25b33acd00948 to your computer and use it in GitHub Desktop.
Save MehulBawadia/41b96e33019dabe881f25b33acd00948 to your computer and use it in GitHub Desktop.
Install Wi-Fi driver in Ubutnu 18.04 if it is not available in your machine. Especially needed in HP Laptops.
# If the Wi-Fi driver doesn't work in Ubuntu 18.04
# Run the following commands in your terminal one by one
# Inside the ~ directory
git clone https://github.com/lwfinger/rtw88.git
cd rtw88
make
sudo make install
sudo apt purge bcmwl-kernel-source
sudo sed -i '/blacklist bcma/ d' /etc/modprobe.d/blacklist.conf
sudo sed -i '/blacklist brcmsmac/ d' /etc/modprobe.d/blacklist.conf
sudo modprobe -r rtw_8723de
sudo modprobe rtw_8723de
sudo modprobe -r rtw_8723de && sleep 5 && sudo modprobe rtw_8723de ant_sel=1
# Once done, restart your machine
# You will be able to use the WiFi now on your machine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment