Ubuntu 16.04下Mercusys无线网卡驱动安装求助
Hey there, sorry to hear ndisgtk didn't get your Mercusys Wi-Fi adapter up and running on Ubuntu 16.04. Let's walk through some reliable alternative steps to get this sorted out—we'll focus on open-source drivers that tend to work better for most Mercusys devices.
Step 1: Confirm Your Adapter's Exact Chipset
First, let's double down on that lsusb output you already ran. Grab the line that mentions your Mercusys adapter (it’ll look something like Bus 002 Device 004: ID 148f:xxxx Ralink Technology, Corp. where xxxx is a 4-digit number). That ID tells us exactly which chipset is inside your adapter, which is key for picking the right driver.
Step 2: Install the Correct Open-Source Driver
Most Mercusys adapters use either Realtek or Ralink chipsets. Here are the most common fixes:
For Realtek Chipsets (e.g., RTL8812AU, RTL8821AU)
These are super common in newer Mercusys adapters. You’ll need a DKMS-based driver (it survives kernel updates):
- Install the necessary build tools first:
sudo apt update && sudo apt install git dkms build-essential - Clone a reputable open-source driver repository for your specific Realtek chip (search code hosting platforms for "RTL8812AU Ubuntu 16.04 driver" to find trusted options).
- Navigate into the cloned folder and install via DKMS:
cd rtl8812au sudo make dkms_install
For Ralink Chipsets (e.g., RT3070, RT5370)
Older Mercusys adapters often use these. Ubuntu has a pre-packaged driver you can install directly:
sudo apt update && sudo apt install rt3070-dkms
Step 3: Clean Up ndisgtk Residues
Since ndisgtk didn’t work, let’s make sure no leftover Windows drivers are causing conflicts:
- Open the ndisgtk tool from your applications menu.
- Find the Windows driver you tried to install earlier, select it, and click Remove.
- Run this command to update your system’s initramfs and clear old driver references:
sudo update-initramfs -u
Step 4: Reboot and Test
Finally, reboot your system:
sudo reboot
After restarting, check if your adapter is detected using either:
iwconfig(look for awlaninterface listed)nmcli device status(look for your Wi-Fi adapter marked as "connected" or "available")
If you’re still stuck, share the exact lsusb line for your Mercusys adapter, and I can help narrow down the perfect driver for your specific device.
内容的提问来源于stack exchange,提问作者Marcos Alex

