Required ubuntu 18.04 driver for TL-WN822N Wireless USB Adapter TL-WN822N

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Required ubuntu 18.04 driver for TL-WN822N Wireless USB Adapter TL-WN822N

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Required ubuntu 18.04 driver for TL-WN822N Wireless USB Adapter TL-WN822N
Required ubuntu 18.04 driver for TL-WN822N Wireless USB Adapter TL-WN822N
2021-07-28 07:31:45
Model: TL-WN822N  
Hardware Version: V5
Firmware Version: TL-WN822N

Hi,

 

I have recently purchased TP links 300Mbps High Gain Wireless USB Adapter
TL-WN822N
 for my ubuntu 18.04 linux system but I am not able to compile the driver given in TP link website neither on ubuntu 16.04 also . can you please help me what needs to be done to make this device work with ubuntu linux 18.04

 

I get below error 


hm@hm:~/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ ls
clean  core  hal  ifcfg-wlan0  include  Kconfig  Makefile  os_dep  platform  runwpa  wlan0dhcp  wpa_0_8.conf
hm@hm:~/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-151-generic/build M=/home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-151-generic'
  CC [M]  /home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
In file included from /home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47:0,
                 from /home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
                 from /home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/hm/TP_Link_driver/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’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/hm/TP_Link_driver/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]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:333: recipe for target '/home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o' failed
make[2]: *** [/home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
Makefile:1591: recipe for target '_module_/home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047' failed
make[1]: *** [_module_/home/hm/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-151-generic'
Makefile:1828: recipe for target 'modules' failed
make: *** [modules] Error 2
hm@hm:~/TP_Link_driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$
 

  0      
  0      
#1
Options

Information

Helpful: 0

Views: 997

Replies: 0

Related Articles