Skip to content

Instantly share code, notes, and snippets.

@jeevanshu
Created April 23, 2019 20:03
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 jeevanshu/3d83314f8aba02d3a89023f19dc48887 to your computer and use it in GitHub Desktop.
Save jeevanshu/3d83314f8aba02d3a89023f19dc48887 to your computer and use it in GitHub Desktop.
This script is used to fix wifi drivers on hp pavilion laptops based on realtek adapters
#!/bin/sh
#Check if the git directory already present
if [ ! -d "$rtlwifi_new" ]; then
git clone https://github.com/lwfinger/rtlwifi_new.git
fi
cd rtlwifi_new/
git checkout rock.new_btcoex
make
sudo make install
sudo modprobe -rv rtl8723be
sudo modprobe -v rtl8723be ant_sel=2 ips=N msi=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment