Networking – Fix Asus Rog Strix Z370 EGAMING Wireless Card Issues

driversnetworkingrealtek-wireless

I have Asus ROG STRIX Z370-E GAMING motherboard with wireless card built in (Realtek RTL8822BE). I'm running Mint 18.3 x64 and the system doesn't seem to "see" the device. There are no linux drivers on producer's website, I've tried installing them via ndiswrapper. Apparently the driver is installed correctly and device is recognized, but I still don't see the option to connect to wireless network anywhere.

$ndsiwrapper -l
netrtwlane : driver installed
device (10EC:B822) present

System details shows the following in the network section:

Network:   Card-1: Intel Ethernet Connection (2) I219-V
           driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6 chip-ID: 8086:15b8
           IF: enp0s31f6 state: down mac: <filter>
           Card-2: Realtek Device b822 port: d000 bus-ID: 04:00.0 chip-ID: 10ec:b822
       IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A

Any ideas who should I proceed to get the wireless module to work?

Best Answer

First, I'd remove ndiswrapper:

sudo apt-get purge ndiswrapper*

Next, with a temporary working internet connection, do:

wget https://github.com/lwfinger/rtlwifi_new/archive/extended.zip
unzip extended.zip
cd rtlwifi_new-extended
make
sudo make install
sudo modprobe rtl8822be

If, after the 'make' step, you have errors, please post them here. Warnings are probably alright.

EDIT: You have compiled the driver for your current running kernel only. When Update Manager installs a later one, also known as linux-image, after the requested reboot, re-compile:

cd ~/rtlwifi_new-extended
make clean
make
sudo make install
sudo modprobe rtl8822be
Related Question