TP-Link TL-WN823N ver. 2 (chip: rtl8192eu) not working after update from LM18.1 to LM18.3 (kernel:4.10.0-42-generic)

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rosendorn811

TP-Link TL-WN823N ver. 2 (chip: rtl8192eu) not working after update from LM18.1 to LM18.3 (kernel:4.10.0-42-generic)

Post by rosendorn811 »

After updating from Linux Mint 18.1 to version 18.3 Cinnamon Edition 64-bit and additional installation of kernel 4.10.0-42-generic, which was a suggested level-4-update, my wlan stick stopped working. Showing only 27% signal strength directly next to the wlan router. No connection could be etablished. That wasn't fun.
After a while trying different recommendations I found a solution for my problem mixed together by three different ressources.
I would lik to share it to whom it may concern:
1. Download the driver's ZIP from: https://github.com/masterzorag/RTL8192EU-linux this will give you the file RTL8192EU-linux-master.zip.
2. Open the network applet next to the clock in the lower right of your screen and turn off the wireless network.
3. Make sure to uninstall the old driver, for example open Software Manager, search for rtl8192, select and uninstall or look for a terminal-based deletion, if not listed.
4. Reboot the complete system and make sure to have unnecessary devices unplugged like a gamepad or similar. Especially unplug the wlan stick before restarting your system.
5. Unzip RTL8192EU-linux-master.zip and open the new folder RTL8192EU-linux-master with right-click open with terminal.
Remark: Always have an eye on warnings or even errors during the following steps. Maybe other intermediate steps are necessary.
6. Be sure to have your password for using sudo. Copy&paste: sudo apt-get install git linux-headers-generic build-essential dkms for installing the Dynamic Kernel Module Support (dkms) and other required tools.
7. Add the driver to dkms: sudo dkms add . - and don't miss the period :wink:
8. Build and install the driver: sudo dkms install rtl8192eu/1.0 --force - force it, if there are old remains.
9. Change working directory: cd /usr/src/rtl8192eu-1.0
10. Invoke the makefile:
sudo make clean
sudo make
sudo make install

11. Choose the driver module for adding into your kernel: sudo modprobe -a 8192eu
12. Check that your kernel has loaded the right module: lshw -c network - You should see the line driver=8192eu
If something goes wrong and you want to start fom the beginning, in other words, if you wish to uninstall the driver at a later point, use sudo dkms uninstall rtl8192eu/1.0. To completely remove the driver from DKMS use sudo dkms remove rtl8192eu/1.0 --all. Then you could probably try it again startng with step 7.
13. Shutdown your system.
14. Plug the wlan stick and boot, connecting to a wlan should now be possible, maybe you will see your signal strength in percent seems to be wrong, e.g. showing 76% instead of 95%, but that's another bug only regarding the percentage shown, not your connectivity.

Please give me some feedback, if these steps helped you in some way. Thanks in advance!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: TP-Link TL-WN823N ver. 2 (chip: rtl8192eu) not working after update from LM18.1 to LM18.3 (kernel:4.10.0-42-generic)

Post by JeremyB »

Step 10 should not be necessary if you install using dkms
klingklang

Re: TP-Link TL-WN823N ver. 2 (chip: rtl8192eu) not working after update from LM18.1 to LM18.3 (kernel:4.10.0-42-generic)

Post by klingklang »

hum.....????? I did everything and until stage 12 and it went good . At the command lshw -c network, I think I still have the wrong driver

Code: Select all

WARNING: you should run this program as super-user.
  *-network               
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 02
       serial: 00:24:8c:d6:b8:f8
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:28 ioport:e800(size=256) memory:f6fff000-f6ffffff memory:f6fe0000-f6feffff memory:fbff0000-fbffffff
  *-network
       description: Wireless interface
       physical id: 2
       bus info: usb@1:4
       logical name: wlx18a6f71e2729
       serial: 18:a6:f7:1e:27:29
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8xxxu driverversion=4.10.0-42-generic firmware=N/A ip=192.168.0.115 link=yes multicast=yes wireless=IEEE 802.11
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
klingklang

Re: TP-Link TL-WN823N ver. 2 (chip: rtl8192eu) not working after update from LM18.1 to LM18.3 (kernel:4.10.0-42-generic)

Post by klingklang »

Try using a 4.4 kernel
can you give me a little bit more info please? or where to find the "how to"
klingklang

Re: TP-Link TL-WN823N ver. 2 (chip: rtl8192eu) not working after update from LM18.1 to LM18.3 (kernel:4.10.0-42-generic)

Post by klingklang »

Try using a 4.4 kernel
thank you for the hint. After some googling , I found a driver made for 4.4 and easy to install.
link on my other post if it can help others
viewtopic.php?f=90&t=260580&p=1407409#p1407409
rosendorn811

Re: TP-Link TL-WN823N ver. 2 (chip: rtl8192eu) not working after update from LM18.1 to LM18.3 (kernel:4.10.0-42-generic)

Post by rosendorn811 »

Yes, true, unfortunately you were faster than me writing additional posts, but here's my addition, finally:
After configuring rtl8192eu under 4.10 or trying to use the latter 4.13 I reconized my connection speed is dramatically reduced, only 1/5 up to 1/3 of speed available. Switching back to kernel 4.4 brings 100% of connection speed.
rtl8192eu seems to be poorly supported for linux.
But I am fine with having an older kernel for older hardware :-)
And I am excited since I know that one can change kernel (and drivers) or even versions of user interfaces instead of having a huge MS Windows blob not separable.
rosendorn811

Re: TP-Link TL-WN823N ver. 2 (chip: rtl8192eu) not working after update from LM18.1 to LM18.3 (kernel:4.10.0-42-generic)

Post by rosendorn811 »

Just for completeness :-)
Download for 4.4:
https://sites.google.com/site/easylinux ... ects=0&d=1
Double Click for installing.
Restart machine.
Have fun.
Locked

Return to “Hardware Support”