HP 15-bs580TX笔记本Ubuntu系统WiFi故障修复求助(Realtek网卡)
Hey, I’ve dealt with exactly this Realtek WiFi problem on HP 15-bs series laptops running Ubuntu (including 17.10) before. Let’s walk through the fixes step by step to get your WiFi working again—whether it’s not showing up at all or just refusing to connect.
Step 1: Figure Out Your Exact Realtek Adapter Model
Different Realtek chips need specific drivers, so first let’s confirm which one you have. Open a terminal and run this command:
lspci | grep Network
You’ll get output like Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter—note down that model name (like RTL8723BE) for later steps.
Step 2: Fix "WiFi Option Not Showing" in Ubuntu 17.10
If the WiFi option is missing entirely, let’s rule out quick fixes first:
- Double-check your laptop’s WiFi toggle: HP 15-bs models usually use
Fn + F12to turn WiFi on/off, or have a physical side switch. Make sure the indicator light is lit (usually blue/white when active). - Run this command to check if WiFi is software-blocked:
If you seerfkill list allSoft blocked: yes, unblock it with:sudo rfkill unblock all - If still no luck, restart the NetworkManager service (17.10’s GNOME shell can sometimes glitch here):
sudo systemctl restart NetworkManager
Step 3: Install the Right Realtek WiFi Driver
Most Ubuntu versions (including 17.10) don’t include full Realtek WiFi support out of the box, so we’ll install a compatible open-source driver. You’ll need a wired internet connection for this step.
For RTL8723BE (Super Common in HP 15-bs580TX)
- First, install the tools needed to build the driver:
sudo apt-get install build-essential git linux-headers-$(uname -r) - Pull the latest maintained driver source code:
git clone https://github.com/lwfinger/rtlwifi_new.git - Move into the source folder and compile the driver:
cd rtlwifi_new make && sudo make install - Load the new driver:
sudo modprobe rtl8723be - Restart your laptop—your WiFi should now show up and connect normally.
For Other Realtek Models (e.g., RTL8821CE)
If your adapter is RTL8821CE, use this dedicated driver source instead:
git clone https://github.com/tomaspinho/rtl8821ce.git
Then follow the same steps: cd rtl8821ce, make && sudo make install, sudo modprobe rtl8821ce, and restart.
Step 4: Fix Weak Signal or Dropping Connections
If WiFi connects but has weak signal or drops frequently, HP laptops sometimes have antenna routing issues. Let’s tweak the kernel parameters:
- Open the driver config file:
sudo nano /etc/modprobe.d/rtl8723be.conf - Add this line (replace
rtl8723bewith your adapter model if needed):options rtl8723be ant_sel=1 - Save and exit: Press
Ctrl+O, hit Enter, thenCtrl+X. - Restart your laptop. If the signal is still bad, try changing
ant_sel=1toant_sel=2and restart again—this switches between the laptop’s two internal antennas.
Step 5: Ubuntu 17.10-Specific Glitch Fix
If you’re still having issues on 17.10, reset the NetworkManager configuration to default:
sudo rm /etc/NetworkManager/NetworkManager.state && sudo systemctl restart NetworkManager
This fixes odd bugs that pop up with 17.10’s older network stack.
内容的提问来源于stack exchange,提问作者raghu vamshi

