Ubuntu Wi-Fi Adapter Disables Automatically After System Reboot: A Comprehensive Guide
If you have recently installed Ubuntu 22 alongside Windows 10 and noticed that your Wi-Fi adapter gets disabled after a system reboot, you are not alone. This issue is common, especially with the Realtek 802.11 adapter. This article provides a detailed explanation of the problem and offers solutions to help you resolve it.
Understanding the Problem
The issue occurs due to a conflict between the Realtek Wi-Fi driver and Ubuntu's power management system. Ubuntu's power management system is designed to conserve power by disabling devices that are not in use. However, this feature can interfere with the Wi-Fi adapter, causing it to disable automatically after a system reboot.
Checking the Device Status
To check the status of your Wi-Fi adapter, use the following command:
sudo lshw -C network
This command will display a list of network devices on your system. Look for your Wi-Fi adapter and check the status. If the status is disabled, you can enable it using the following command:
sudo ip link set wlan0 up
Replace "wlan0" with the name of your Wi-Fi adapter.
Disabling Power Management
To resolve the issue, you can disable power management for your Wi-Fi adapter. Here's how:
sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
This command will open the "default-wifi-powersave-on.conf" file in the Nano text editor. Change the value of the "wifi.powersave" setting from "3" to "2". This will disable power management for your Wi-Fi adapter.
[connection]
wifi.powersave = 2
Save the changes and exit the text editor. Restart your system to apply the changes.
Reinstalling the Wi-Fi Driver
If disabling power management does not resolve the issue, you can try reinstalling the Wi-Fi driver. Here's how:
sudo apt-get remove --purge rtlwifi-new-dkms
sudo apt-get install rtlwifi-new-dkms
This command will remove the existing Wi-Fi driver and install a new one. Restart your system to apply the changes.
References
- Ubuntu Community: https://help.ubuntu.com/community/WifiDocs/Driver/Realtek
- Ask Ubuntu: https://askubuntu.com/questions/1053523/wifi-disabled-on-boot-after-upgrade-to-19-04
- Realtek: https://www.realtek.com/en/component/zoo/category/rtl8822be-software
This article has provided a detailed explanation of the Ubuntu Wi-Fi adapter disables automatically after system reboot issue and offered solutions to help you resolve it. If you have any further questions or concerns, please let us know.
Thank you for reading.