TP-LINK TL-WN823N working on Linux Mint 18 Sarah [SOLVED]

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
daxb

TP-LINK TL-WN823N working on Linux Mint 18 Sarah [SOLVED]

Post by daxb »

Hi,

I tried to install the driver for TP-Link TL-WN823N with the instruction of post 1. lsusb retruns ID 2357:0109. I guess the adapter has the right chipset. However, install failed at:

Code: Select all

rtl8192eu-linux-driver # sudo make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.10.0-37-generic/build M=/home/stellan/Downloads/TL-WN823NEU_V2_160315_Linux/TL-WN823N(EU)_V2_160315_Linux/Driver/rtl8192eu-linux-driver  modules
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:1700: recipe for target 'modules' failed
make: *** [modules] Error 2
Im lost now. Any hints for a solution?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 5 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: TP-LINK TL-WN823N working on Linux Mint 18 Sarah

Post by JeremyB »

This code should work with a working ethernet connection

Code: Select all

sudo apt-get install git build-essential dkms

Code: Select all

git clone https://github.com/Mange/rtl8192eu-linux-driver.git

Code: Select all

sudo dkms add ./rtl8192eu-linux-driver

Code: Select all

sudo dkms install rtl8192eu/1.0
Reboot
daxb

Re: TP-LINK TL-WN823N working on Linux Mint 18 Sarah

Post by daxb »

Thanks!

Your procedure worked without errors. Unfortunately, now I need to figure out why the connection is so bad. 91 / 1 MBit for example and sometimes connection is lost. Signal strength is around 80-100%. Router says 144 / 144 Mbit/s max. what should be 3000 / 300 Mbit/s. I will search the forum for this problem.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: TP-LINK TL-WN823N working on Linux Mint 18 Sarah

Post by JeremyB »

Code: Select all

echo "options 8192eu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8192eu.conf

Code: Select all

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*
Might help after a reboot as the commands disable wifi power management
daxb

Re: TP-LINK TL-WN823N working on Linux Mint 18 Sarah

Post by daxb »

Unfortunately not but thanks.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: TP-LINK TL-WN823N working on Linux Mint 18 Sarah

Post by JeremyB »

How far away from the router are you, I haven't had much luck with the small USB wifi devices. I do have a WN722N 150Mbps with an external antenna that works great
daxb

Re: TP-LINK TL-WN823N working on Linux Mint 18 Sarah

Post by daxb »

At the moment the usb wifi adapter (via usb cable) lies direct beside the router. Signal strength often shows 100%. If I put it away signal strength goes 70%. I forgot to mention that the led of the adapter is off. On an (killed) win xp the led was on and connection was ok some rooms away. At the moment wifi cant connect. I read some other threads with similar/equal problems but they seem outdated.

Im new to linux so I know nothing. Maybe this helps?:

Code: Select all

iwconfig
enp0s7    no wireless extensions.

lo        no wireless extensions.

wlx18d6c71cb0a8  IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
daxb

Re: TP-LINK TL-WN823N working on Linux Mint 18 Sarah

Post by daxb »

Maybe the attached wireless-info text file will help?
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: TP-LINK TL-WN823N working on Linux Mint 18 Sarah

Post by JeremyB »

Two different drivers were loaded, lets see if blacklisting one helps any

Code: Select all

echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/realtek.conf
Reboot
daxb

Re: TP-LINK TL-WN823N working on Linux Mint 18 Sarah

Post by daxb »

Thank you very much JeremyB! The connection is now (or at least seems to be) much better. The router says approximate 300 / 59 MBit/s. The first value (upstream) is perfect. Sometimes down to 200 but good enough. The second value (downstream) goes from 30 to 90 for the time being what could be better. So, my question is is there a possibility to improve it from the linux side or only from the router side?

Edit:
I think the topic is solved with the blacklist suggestion by JeremyB.
Locked

Return to “Networking”