Skip to content

Instantly share code, notes, and snippets.

@gpproton
Forked from jonatanaxe/wifirtw88
Created January 15, 2022 02:36
Show Gist options
  • Save gpproton/a04cc4a3b9aae03ce6e072b38435ca0a to your computer and use it in GitHub Desktop.
Save gpproton/a04cc4a3b9aae03ce6e072b38435ca0a to your computer and use it in GitHub Desktop.
sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
sudo apt install dkms build-essential make
git clone https://github.com/lwfinger/rtw88 && cd rtw88 && make clean && sudo dkms add . && sudo dkms install rtlwifi-new/0.6
//verificar se o "Power Management:off" caso estiver "Power Management:on" deslique e ligue o note
iwconfig
@gpproton
Copy link
Author

gpproton commented Jan 15, 2022

Fix BTF generation error

sudo apt install build-essential dkms
sudo cp /sys/kernel/btf/vmlinux /usr/lib/modules/`uname -r`/build/

Source: https://forum.proxmox.com/threads/kernel-module-not-found-when-compile-skipping-btf-generation.100974/

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