Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo -e "THIS SCRIPT NEEDS:\n 1. ACTIVE WIFI CONNECTION;\n 2. ROOT PRIVILEGES;\n 3. YYOUR OS IS UBUNTU OR DEBIAN-BASED (cause this script use APT-GET manager. You can also change APT to your soft manager, for example Pacman of Arch linux);"
- sudo apt-get install dkms git build-essential
- git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
- sudo dkms add ./rtlwifi_new
- sudo dkms install rtlwifi-new/0.6
- sudo cp -r rtlwifi_new/firmware/rtlwifi/ /lib/firmware/rtlwifi
- sudo rm -rf rtlwifi_new/
- echo "options rtl8723de ant_sel=2" | sudo tee /etc/modprobe.d/rtl8723de.conf
- echo "Now we need to reboot the PC. Press ENTER key to reboot the PC or CTRL-C to abort the rebooting... "
- read
- reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement