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

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
daxb
Level 1
Level 1
Posts: 6
Joined: Sat Oct 28, 2017 6:25 am

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

Postby daxb » Sat Oct 28, 2017 6:38 am

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 daxb on Sun Nov 05, 2017 6:56 am, edited 4 times in total.

JeremyB
Level 17
Level 17
Posts: 7425
Joined: Fri Feb 21, 2014 8:17 am

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

Postby JeremyB » Sat Oct 28, 2017 6:50 am

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
Level 1
Level 1
Posts: 6
Joined: Sat Oct 28, 2017 6:25 am

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

Postby daxb » Sat Oct 28, 2017 8:33 am

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 17
Level 17
Posts: 7425
Joined: Fri Feb 21, 2014 8:17 am

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

Postby JeremyB » Sat Oct 28, 2017 8:50 am

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
Level 1
Level 1
Posts: 6
Joined: Sat Oct 28, 2017 6:25 am

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

Postby daxb » Sat Oct 28, 2017 9:35 am

Unfortunately not but thanks.

JeremyB
Level 17
Level 17
Posts: 7425
Joined: Fri Feb 21, 2014 8:17 am

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

Postby JeremyB » Sat Oct 28, 2017 9:42 am

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
Level 1
Level 1
Posts: 6
Joined: Sat Oct 28, 2017 6:25 am

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

Postby daxb » Sat Oct 28, 2017 10:08 am

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
Level 1
Level 1
Posts: 6
Joined: Sat Oct 28, 2017 6:25 am

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

Postby daxb » Mon Oct 30, 2017 5:16 am

Maybe the attached wireless-info text file will help?
Attachments
wireless-info.tar.gz
wireless-info
(7.4 KiB) Downloaded 7 times

JeremyB
Level 17
Level 17
Posts: 7425
Joined: Fri Feb 21, 2014 8:17 am

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

Postby JeremyB » Mon Oct 30, 2017 4:48 pm

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
Level 1
Level 1
Posts: 6
Joined: Sat Oct 28, 2017 6:25 am

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

Postby daxb » Tue Oct 31, 2017 5:41 am

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.


Return to “Wireless”

Who is online

Users browsing this forum: No registered users and 4 guests