Advertisement
LinuxScripts

rtlwifi Realtek RTL8723 driver install script

Mar 4th, 2020
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.71 KB | None | 0 0
  1. #!/bin/bash
  2. 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);"
  3.  
  4. sudo apt-get install dkms git build-essential
  5. git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
  6. sudo dkms add ./rtlwifi_new
  7. sudo dkms install rtlwifi-new/0.6
  8. sudo cp -r rtlwifi_new/firmware/rtlwifi/ /lib/firmware/rtlwifi
  9. sudo rm -rf rtlwifi_new/
  10. echo "options rtl8723de ant_sel=2" | sudo tee /etc/modprobe.d/rtl8723de.conf
  11. echo "Now we need to reboot the PC. Press ENTER key to reboot the PC or CTRL-C to abort the rebooting... "
  12. read
  13. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement