Wireless Network Adapter unable to install

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
ellie145

Wireless Network Adapter unable to install

Post by ellie145 »

Guys hi,
I'm trying to install the tp-link WN823N network adapter. I keep getting errors on the terminal. I don't understand what I should do to fix those errors.
I'm following the manual from the tp-link:
https://static.tp-link.com/2018/201812/ ... 0Linux.pdf

Code: Select all

ellie@mint:~/Downloads/TL-WN823N_US_V3_160315_Linux/Driver$ sudo make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-12-amd64/build M=/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver  modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-12-amd64'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
  CC [M]  /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.o
In file included from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/osdep_service.h:41,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/drv_types.h:32,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:22:
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/osdep_service_linux.h:267:8: [b]error:[/b] ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/osdep_service_linux.h:268:2:[b] error:[/b] implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/drv_types.h:35,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:22:
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/wifi.h: At top level:
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /usr/src/linux-headers-4.19.0-12-common/include/net/cfg80211.h:24,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/osdep_service_linux.h:81,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/osdep_service.h:41,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/drv_types.h:32,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:22:
/usr/src/linux-headers-4.19.0-12-common/include/linux/ieee80211.h:1451: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/drv_types.h:95,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:22:
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/hal_com.h:413:13:[b] error:[/b] ‘file_path’ redeclared as different kind of symbol
 extern char file_path[PATH_LENGTH_MAX];
             ^~~~~~~~~
In file included from /usr/src/linux-headers-4.19.0-12-common/include/linux/compat.h:17,
                 from /usr/src/linux-headers-4.19.0-12-common/include/linux/ethtool.h:17,
                 from /usr/src/linux-headers-4.19.0-12-common/include/linux/netdevice.h:41,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/osdep_service_linux.h:35,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/osdep_service.h:41,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/drv_types.h:32,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:22:
/usr/src/linux-headers-4.19.0-12-common/include/linux/fs.h:2913:14: note: previous declaration of ‘file_path’ was here
 extern char *file_path(struct file *, char *, int);
              ^~~~~~~~~
In file included from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/drv_types.h:65,
                 from /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:22:
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c: In function ‘btinfo_evt_dump’:
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:187:19:[b] error[/b]: void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^~~~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:3293:2: note: in expansion of macro ‘DBG_871X_SEL_NL’
  DBG_871X_SEL_NL(sel, "cid:0x%02x, len:%u\n", info->cid, info->len);
  ^~~~~~~~~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:187:19:[b] error: [/b]void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^~~~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:3296:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
   DBG_871X_SEL_NL(sel, "byte2:%s%s%s%s%s%s%s%s\n"
   ^~~~~~~~~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:187:19:[b] error:[/b] void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^~~~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:3308:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
   DBG_871X_SEL_NL(sel, "retry_cnt:%u\n", info->retry_cnt);
   ^~~~~~~~~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:187:19: [b]error:[/b] void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^~~~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:3311:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
   DBG_871X_SEL_NL(sel, "rssi:%u\n", info->rssi);
   ^~~~~~~~~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:187:19:[b] error:[/b] void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^~~~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.c:3314:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
   DBG_871X_SEL_NL(sel, "byte5:%s%s\n"
   ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-12-common/scripts/Makefile.build:309: /home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver/core/rtw_cmd.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-12-common/Makefile:1565: _module_/home/ellie/Downloads/TL-WN823N_US_V3_160315_Linux/Driver] [b]Error 2
make[2]: *** [Makefile:146: sub-make] Error 2[/b]
[b]make[1]: *** [Makefile:8: all] Error 2[/b]
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-12-amd64'
make: *** [Makefile:1696: modules] Error 2
ellie@mint:~/Downloads/TL-WN823N_US_V3_160315_Linux/Driver$ 

I'm a new user on Linux. It's my main system. I run Linux Mint Debbie LMDE 4.19.0-12-amd64.
I know the manual in based on Linux Mint 18, I also tried the Kali version which I know is based on Debian but no luck with that as well.

Any help is appreciated! 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.
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: Wireless Network Adapter unable to install

Post by sleeper12 »

Not sure if it works with LMDE, but try #2 here:
https://easylinuxtipsproject.blogspot.c ... k.html#ID2
ellie145

Re: Wireless Network Adapter unable to install

Post by ellie145 »

I will check that out! Thank you so much!
Locked

Return to “Networking”