联想Legion Y520双系统Ubuntu 16.04 WiFi故障求助
Hey there, let's dig into this WiFi issue on your Ubuntu 16.04 dual-boot setup. Since you've already tried the common fixes for Lenovo Legion Y520 disconnections and hard block problems, let's walk through some more targeted troubleshooting steps:
1. Get Exact WiFi Adapter Details
First, we need to know exactly what wireless hardware you're working with—this is key to finding the right driver match. Run these commands in the terminal and share the output:
lspci -nn | grep -i network(shows PCI-based WiFi adapter info)rfkill list all(double-checks for any hidden soft/hard blocks we might have missed)uname -r(tells us your current kernel version, which affects driver compatibility)
2. Install Updated Drivers for Common Legion Y520 Adapters
Lenovo Legion Y520 often uses Realtek adapters like RTL8821CE or RTL8822BE, which don't play well with Ubuntu 16.04's default drivers. Here's how to install a compatible DKMS driver (you'll need your Ethernet connection for this):
sudo add-apt-repository ppa:kelebek333/kablosuz sudo apt update sudo apt install rtl8821ce-dkms
Reboot your system after installation, then check if WiFi appears in the network menu.
3. Disable Secure Boot (Critical for Dual Boot)
Most Lenovo laptops have Secure Boot enabled by default, which blocks unsigned third-party drivers (like the one we just installed). To fix this:
- Restart your laptop and enter BIOS/UEFI (press F2, F10, or Del during boot—check your laptop's splash screen for the correct key)
- Navigate to the Security tab and find the "Secure Boot" option
- Set it to Disabled
- Save changes (usually F10) and boot back into Ubuntu
4. Reset Network Manager to Default Settings
Dual-boot setups can sometimes corrupt Network Manager configurations. Reset it with these commands:
sudo service network-manager stop sudo rm /var/lib/NetworkManager/NetworkManager.state sudo service network-manager start
After running this, click the network icon in the top bar and see if WiFi networks show up.
5. Test with a Newer Ubuntu Live USB
Ubuntu 16.04 is end-of-life, so its kernel and driver libraries are outdated. Grab a live USB of Ubuntu 20.04 or 22.04 (LTS versions), boot from it, and check if WiFi works. If it does, upgrading your Ubuntu installation will likely resolve the issue long-term.
内容的提问来源于stack exchange,提问作者Sukrit

