Results 1 to 5 of 5

Thread: Help to install TL-WN821N in 16.04

  1. #1
    Join Date
    Feb 2017
    Beans
    2

    Help to install TL-WN821N in 16.04

    Hi. I also got the same problem with installing tp-link TL-WN821N V5 on Ubuntu 16.04. I followed steps on http://www.tp-link.com/us/download/T...1N.html#Driver and got stuck on

    Code:
    sudo make
    Code:
    ➜ sudo make
    "******************************************"
    "NO SKRC,we will use default KSRC"
    "******************************************"
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-59-generic/build M=/home/sean/Documents/tl-wn821n-v5-160315-linux  modules
    make[1]: Entering directory '/usr/src/linux-headers-4.4.0-59-generic'
    "******************************************"
    "NO SKRC,we will use default KSRC"
    "******************************************"
      CC [M]  /home/sean/Documents/tl-wn821n-v5-160315-linux/core/rtw_cmd.o
    In file included from /home/sean/Documents/tl-wn821n-v5-160315-linux/include/drv_types.h:95:0,
                     from /home/sean/Documents/tl-wn821n-v5-160315-linux/core/rtw_cmd.c:22:
    /home/sean/Documents/tl-wn821n-v5-160315-linux/include/hal_com.h:413:13: error: ‘file_path’ redeclared as different kind of symbol
     extern char file_path[PATH_LENGTH_MAX];
                 ^
    In file included from include/linux/compat.h:15:0,
                     from include/linux/ethtool.h:16,
                     from include/linux/netdevice.h:42,
                     from /home/sean/Documents/tl-wn821n-v5-160315-linux/include/osdep_service_linux.h:35,
                     from /home/sean/Documents/tl-wn821n-v5-160315-linux/include/osdep_service.h:41,
                     from /home/sean/Documents/tl-wn821n-v5-160315-linux/include/drv_types.h:32,
                     from /home/sean/Documents/tl-wn821n-v5-160315-linux/core/rtw_cmd.c:22:
    include/linux/fs.h:2603:14: note: previous declaration of ‘file_path’ was here
     extern char *file_path(struct file *, char *, int);
                  ^
    In file included from /home/sean/Documents/tl-wn821n-v5-160315-linux/include/drv_types.h:65:0,
                     from /home/sean/Documents/tl-wn821n-v5-160315-linux/core/rtw_cmd.c:22:
    /home/sean/Documents/tl-wn821n-v5-160315-linux/core/rtw_cmd.c: In function ‘btinfo_evt_dump’:
    /home/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
      #define _seqdump seq_printf
                       ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
        if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
           ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/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/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
      #define _seqdump seq_printf
                       ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
        if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
           ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/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/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
      #define _seqdump seq_printf
                       ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
        if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
           ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/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/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
      #define _seqdump seq_printf
                       ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
        if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
           ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/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/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
      #define _seqdump seq_printf
                       ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
        if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
           ^
    /home/sean/Documents/tl-wn821n-v5-160315-linux/core/rtw_cmd.c:3314:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
       DBG_871X_SEL_NL(sel, "byte5:%s%s\n"
       ^
    scripts/Makefile.build:258: recipe for target '/home/sean/Documents/tl-wn821n-v5-160315-linux/core/rtw_cmd.o' failed
    make[2]: *** [/home/sean/Documents/tl-wn821n-v5-160315-linux/core/rtw_cmd.o] Error 1
    Makefile:1420: recipe for target '_module_/home/sean/Documents/tl-wn821n-v5-160315-linux' failed
    make[1]: *** [_module_/home/sean/Documents/tl-wn821n-v5-160315-linux] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-59-generic'
    Makefile:1696: recipe for target 'modules' failed
    make: *** [modules] Error 2
    I also followed the instructions here https://github.com/pvaret/rtl8192cu-fixes but still can't use the wireless adapter.

    Hoping for your reply.

    Thanks

  2. #2
    Join Date
    Oct 2006
    Location
    Ayrshire.
    Beans
    54,893
    Distro
    Ubuntu Development Release

    Re: Help to install TL-WN821N in 16.04

    Post moved to own thread.

  3. #3
    Join Date
    May 2014
    Location
    /home
    Beans
    6,013
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Help to install TL-WN821N in 16.04

    Please post results for
    Code:
    lsusb

  4. #4
    Join Date
    Feb 2017
    Beans
    2

    Re: Help to install TL-WN821N in 16.04

    Here are the results of

    $ lsusb
    Bus 002 Device 002: ID 8087:8000 Intel Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 8087:8008 Intel Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 004: ID 8087:07dc Intel Corp.
    Bus 003 Device 009: ID 2357:0107
    Bus 003 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
    Bus 003 Device 005: ID 1c7a:0603 LighTuning Technology Inc.
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


  5. #5
    Join Date
    May 2014
    Location
    /home
    Beans
    6,013
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Help to install TL-WN821N in 16.04

    This should work for that one
    Code:
    sudo apt-get install git build-essential dkms
    Then we can clone Mange's github code

    Code:
    git clone https://github.com/Mange/rtl8192eu-linux-driver.git
    Then use dkms to add it
    Code:
    sudo dkms add ./rtl8192eu-linux-driver
    Then install

    Code:
    sudo dkms install -m rtl8192eu -v 1.0
    Reboot

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •