Xubuntu 22.04硬盘安装后Wi-Fi无法使用但Live USB下正常的问题求助
Hey there, sorry to hear you're stuck with this Wi-Fi hiccup after installing Xubuntu to your hard drive—since it works perfectly on the Live USB, we know your hardware is totally capable, so let's work through this step by step!
Here are some troubleshooting steps you can try one by one:
Check if your Wi-Fi adapter is being recognized
Open up a terminal and run these commands to confirm the system detects your wireless card:lspci | grep Network ip linkYou should see an entry for your wireless adapter (like something with "Wireless" or a brand name such as Broadcom/Realtek). If nothing shows up, it means the driver isn't loading properly on the installed system.
Make sure NetworkManager is running
Sometimes the core network management service fails to start automatically on boot. Check its status first:systemctl status NetworkManagerIf it shows "inactive" or "failed", fire it up and set it to run on boot with:
sudo systemctl start NetworkManager sudo systemctl enable NetworkManagerCheck for soft/hard blocks on your Wi-Fi
Lenovo laptops often have physical switches or Fn key combinations (like Fn+F5) to toggle Wi-Fi. First double-check the physical switch is turned on. Then run this to check for software-level blocks:rfkill listIf you see "Soft blocked: yes" next to your wireless device, unblock it with:
sudo rfkill unblock allReinstall critical network/firmware packages
It's possible some packages got corrupted or didn't install fully during setup. Refresh and reinstall them with:sudo apt update && sudo apt install --reinstall linux-firmware network-managerReboot your system after this and see if Wi-Fi springs back to life.
Manually connect via terminal (bypass the GUI)
Sometimes the graphical network manager glitches out. Try connecting directly through the terminal to rule that out:- List all available Wi-Fi networks:
nmcli device wifi list - Connect to your network (replace
YOUR_SSIDandYOUR_PASSWORDwith your actual details):nmcli device wifi connect "YOUR_SSID" password "YOUR_PASSWORD"
If this fails, it'll spit out an error message that can help us narrow down the issue.
- List all available Wi-Fi networks:
Check kernel version differences
The Live USB might be using a slightly different kernel than your installed system. Rununame -rin both environments to compare. If they don't match, try updating your kernel to the latest stable version:sudo apt install linux-genericReboot after installing the new kernel and test Wi-Fi again.
If none of these steps work, could you share the output of dmesg | grep wireless and lspci | grep Network from your installed system? That extra info will help dig deeper into what's going wrong.
备注:内容来源于stack exchange,提问作者Olklym

