Important information
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-18 Final release info here
-- Migration Information to MX-18 here
-- antiX-17.3 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

TP-Link TL-WN822N wifi dongle on MX-17

User avatar
Forum Guide
Forum Guide
Posts: 1100
Joined: Sat Aug 06, 2011 4:58 am

Re: TP-Link TL-WN822N wifi dongle on MX-17


Post by tascoast » Tue Dec 12, 2017 6:09 am

sunrat wrote:Update - I just installed MX17RC1 and got this working and it initialised at boot (once at least) and works with NetworkManager this time.
Basically the same steps:
- build and install the driver with dkms
- blacklist rtl8xxxu by creating a blacklist file in /etc/modprobe.d/
- reboot
- configure with password in NM
- profit!

I'm posting from it now.
@tascoast I don't know why yours wouldn't work the same. It shows the rtl8192eu being used already. Maybe try blacklisting the other driver anyway. Or maybe it's because of the wlan2 issue mentioned above and NM is attempting to configure a different interface. Lotsa luck! Works ok once you get it working. What version of the dongle do you have, by the way? This one is V4.0 and my old reliable Atheros one is V2.
A magnifying glass tells me that I have a V4.0, according to the box sticker.
I shall experiment further once I get settled. Simply blacklisting rtl8xxxu in Network Assistant removes any wifi detection from NM, but I'll follow your approach once I study it a bit.
Lenovo ThinkCentre A58 4GBRAM (64-bit), MX17/MX-16/antiX17/Mint 19

Forum Regular
Forum Regular
Posts: 271
Joined: Mon Mar 28, 2016 9:54 pm

Re: TP-Link TL-WN822N wifi dongle on MX-17


Post by sunrat » Thu Dec 21, 2017 6:27 pm

One user at Debian User Forums reported they solved this issue by disabling MAC address randomisation in NetworkManager. Just adding

Code: Select all

[device]    wifi.scan-rand-mac-address=no
to the /etc/NetworkManager/NetworkManager.conf file

http://forums.debian.net/viewtopic.php? ... 87#p661687
https://bugs.launchpad.net/ubuntu/+sour ... ug/1681513

User avatar
Forum Novice
Forum  Novice
Posts: 30
Joined: Wed Oct 10, 2007 2:43 am

Re: TP-Link TL-WN822N wifi dongle on MX-17


Post by sivaraj » Thu Dec 06, 2018 8:55 am

I have a unbranded USB WiFi .

$ lsusb
Bus 001 Device 008: ID 0bda:818b Realtek Semiconductor Corp.

It require rtl8192eu driver

MX17.1 loads the driver module rtl8xxxu,it can see the WiFi network,but cannot establish connection

Adding below lines to the file /etc/NetworkManager/NetworkManager.conf does the trick with rtl8xxxu module .

Code: Select all

But the installed firmware-realtek_20180518-1~mx17+1_all.deb says it contains
* Realtek RTl8192EU non-WoWLAN firmware (rtlwifi/rtl8192eu_nic.bin)
* Realtek RTl8192EU WoWLAN firmware (rtlwifi/rtl8192eu_wowlan.bin)

sudo modprobe rtl8192eu > gives error
modprobe: FATAL: Module rtl8192eu not found in directory /lib/modules/4.15.0-1-amd64

It appears that it does not provide rtl8192eu module instead it provides a generalized driver module rtl8xxxu ?

A change in NetworkManager.conf with above line will make MX work out of the box .
Not sure if it has any side effects with other type of WiFi dongle.

Post Reply

Return to “Hardware /Configuration”