Getting my Mini Wireless N USB Adapter to work with Zorin

Due to recurring network issues I've had in the past over reliability, I decided to spend some money on getting a good USB WIFI adapter. However, I'm a bit lost when it comes to setting up the drivers within Zorin to work accordingly with it.

Information About the Adapter
Brand: tp-link
Model: TL-WN823N

Zorin shows it as a recognised adapter, but I am unable to connect to any networks with it. I am also aware that this model supports Linux, but the instructions I read were complicated and not really helpful if you got stuck somewhere along the process. Any help would be much appreciated!

Can you link to the instruction?

This has all the files that are linked to the adapter. There’s a Linux beta download for it but I don’t know how to install it so. The manual is also linked on it

Which kernel are you using? (you can use neofetch to display it in the terminal).

Neofetch didn’t work but by using uname-r I got the following:


Building bricks for compiling

sudo apt install build-essential gcc linux-headers-5.13.0-30-generic

extract the driver, inside the driver is another file that need extraction, do so.

Then change the directory into the extracted folders

cd ~/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047

Next compiling:

make clean

Then move and activate the driver

sudo cp 88x2bu.ko /lib/modules/5.13.0-30-generic/kernel/drivers/net/wireless/
sudo depmod –a
sudo modprobe 88x2bu

Then check if the driver is successful installed:

1 Like

None of the commands seem to run after the cd command.

My fault a ' sneaked in. Close the terminal and ttry again I have corrected the error.

cp: cannot stat '88x2bu.ko': No such file or directory

The log of the make command after I ran make clean was the following:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.13.0-30-generic/build M=/home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047  modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.0-30-generic'
  CC [M]  /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
In file included from /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
                 from /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
                 from /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:299:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  299 |  ptimer->data = (unsigned long)cntx;
      |        ^~
/home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:300:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  300 |  init_timer(ptimer);
      |  ^~~~~~~~~~
      |  _init_timer
In file included from /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:30,
                 from /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h: At top level:
/home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h:1031: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1031 | #define IEEE80211_MAX_AMPDU_BUF 0x40
In file included from /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:83,
                 from /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
                 from /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
                 from /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
./include/linux/ieee80211.h:1657: note: this is the location of the previous definition
 1657 | #define IEEE80211_MAX_AMPDU_BUF  0x100
cc1: some warnings being treated as errors
make[2]: *** [scripts/ /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1879: /home/jeffrey/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.13.0-30-generic'
make: *** [Makefile:1828: modules] Error 2

any errors while running make?
also give me

ls -a

Check the edit, also, ls -a gives the following:

.  ..  clean  core  hal  ifcfg-wlan0  include  Kconfig  Makefile  os_dep  platform  runwpa  wlan0dhcp  wpa_0_8.conf

I'll see if I can compile it...

1 Like

No cigar.
I'm wondering if it's because it's a beta driver. As it stated on their page it could give problems. I'll try the stable one.

1 Like

No cigar either, but I found this might help:

1 Like

I’ll try it later, but thank you for your advice!

1 Like

If you get stuck in the guide posted, please report back so we can help.

1 Like