Ubuntu 18.04 - Tp Link dongle - fail connecting network ( model TL-WN821N )











up vote
1
down vote

favorite
1












I'm using a fresh installed Ubuntu 18.04 on a PC, which mainly uses a wired network, but a wifi connection is also needed from time to time. For that, I'm using a wifi dongle - which works OK when dual boot as Windows, but when using Ubuntu: it DOES detect networks at home- but does NOT connect any.



TP-Links site refers to driver installation, includig a well detailed instructions doing so link to TP-LINK driver, which fails at very beginning as shown below at ATTCH #1.



Second try: referring to an almost exact problem posted here, but again, fails again at make



Appreciate you kind help



Guy



ATTCH#1



guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ make clean
#make -C /lib/modules/4.15.0-20-generic/build M=/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 clean
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ ma
ma: command not found
guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-20-generic/build M=/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
In file included from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47:0,
from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/guy/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’
ptimer->data = (unsigned long)cntx;
^~
/home/guy/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]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o' failed
make[2]: *** [/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047' failed
make[1]: *** [_module_/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic'
Makefile:1828: recipe for target 'modules' failed
make: *** [modules] Error 2









share|improve this question


























    up vote
    1
    down vote

    favorite
    1












    I'm using a fresh installed Ubuntu 18.04 on a PC, which mainly uses a wired network, but a wifi connection is also needed from time to time. For that, I'm using a wifi dongle - which works OK when dual boot as Windows, but when using Ubuntu: it DOES detect networks at home- but does NOT connect any.



    TP-Links site refers to driver installation, includig a well detailed instructions doing so link to TP-LINK driver, which fails at very beginning as shown below at ATTCH #1.



    Second try: referring to an almost exact problem posted here, but again, fails again at make



    Appreciate you kind help



    Guy



    ATTCH#1



    guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ make clean
    #make -C /lib/modules/4.15.0-20-generic/build M=/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 clean
    cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
    cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
    cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
    cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
    rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
    rm -fr .tmp_versions
    guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ ma
    ma: command not found
    guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ make
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-20-generic/build M=/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 modules
    make[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic'
    Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
    CC [M] /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
    In file included from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47:0,
    from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
    from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
    /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function ‘_init_timer’:
    /home/guy/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’
    ptimer->data = (unsigned long)cntx;
    ^~
    /home/guy/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]
    init_timer(ptimer);
    ^~~~~~~~~~
    _init_timer
    cc1: some warnings being treated as errors
    scripts/Makefile.build:332: recipe for target '/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o' failed
    make[2]: *** [/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
    Makefile:1552: recipe for target '_module_/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047' failed
    make[1]: *** [_module_/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic'
    Makefile:1828: recipe for target 'modules' failed
    make: *** [modules] Error 2









    share|improve this question
























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I'm using a fresh installed Ubuntu 18.04 on a PC, which mainly uses a wired network, but a wifi connection is also needed from time to time. For that, I'm using a wifi dongle - which works OK when dual boot as Windows, but when using Ubuntu: it DOES detect networks at home- but does NOT connect any.



      TP-Links site refers to driver installation, includig a well detailed instructions doing so link to TP-LINK driver, which fails at very beginning as shown below at ATTCH #1.



      Second try: referring to an almost exact problem posted here, but again, fails again at make



      Appreciate you kind help



      Guy



      ATTCH#1



      guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ make clean
      #make -C /lib/modules/4.15.0-20-generic/build M=/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 clean
      cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
      cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
      cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
      cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
      rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
      rm -fr .tmp_versions
      guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ ma
      ma: command not found
      guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ make
      make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-20-generic/build M=/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 modules
      make[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic'
      Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
      CC [M] /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
      In file included from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47:0,
      from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
      from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
      /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function ‘_init_timer’:
      /home/guy/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’
      ptimer->data = (unsigned long)cntx;
      ^~
      /home/guy/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]
      init_timer(ptimer);
      ^~~~~~~~~~
      _init_timer
      cc1: some warnings being treated as errors
      scripts/Makefile.build:332: recipe for target '/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o' failed
      make[2]: *** [/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
      Makefile:1552: recipe for target '_module_/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047' failed
      make[1]: *** [_module_/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
      make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic'
      Makefile:1828: recipe for target 'modules' failed
      make: *** [modules] Error 2









      share|improve this question













      I'm using a fresh installed Ubuntu 18.04 on a PC, which mainly uses a wired network, but a wifi connection is also needed from time to time. For that, I'm using a wifi dongle - which works OK when dual boot as Windows, but when using Ubuntu: it DOES detect networks at home- but does NOT connect any.



      TP-Links site refers to driver installation, includig a well detailed instructions doing so link to TP-LINK driver, which fails at very beginning as shown below at ATTCH #1.



      Second try: referring to an almost exact problem posted here, but again, fails again at make



      Appreciate you kind help



      Guy



      ATTCH#1



      guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ make clean
      #make -C /lib/modules/4.15.0-20-generic/build M=/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 clean
      cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
      cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
      cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
      cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
      rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
      rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
      rm -fr .tmp_versions
      guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ ma
      ma: command not found
      guy@desktop:~/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047$ make
      make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-20-generic/build M=/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 modules
      make[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic'
      Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
      CC [M] /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
      In file included from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47:0,
      from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
      from /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
      /home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function ‘_init_timer’:
      /home/guy/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’
      ptimer->data = (unsigned long)cntx;
      ^~
      /home/guy/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]
      init_timer(ptimer);
      ^~~~~~~~~~
      _init_timer
      cc1: some warnings being treated as errors
      scripts/Makefile.build:332: recipe for target '/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o' failed
      make[2]: *** [/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
      Makefile:1552: recipe for target '_module_/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047' failed
      make[1]: *** [_module_/home/guy/Downloads/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
      make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic'
      Makefile:1828: recipe for target 'modules' failed
      make: *** [modules] Error 2






      networking drivers usb network-manager tp-link






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 18 at 14:05









      Guy . D

      3552420




      3552420






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          In latest kernel some function obsolete so original driver need to modify according to new kernel.
          download tp link drive from following link.



          https://github.com/ZeeRooo/RTL8192EU



          goto driver folder and run follwing commands.



          # apt update
          # apt-get install gcc make libelf-dev
          # make
          # make install


          remove wifi usb dongle and reboot system.
          Install wifi module



          # modprobe 8192eu


          now insert wifi dongle and test.
          working for me tested on ubuntu 18.04 and Arch linux.






          share|improve this answer








          New contributor




          Tech Mk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037778%2fubuntu-18-04-tp-link-dongle-fail-connecting-network-model-tl-wn821n%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            In latest kernel some function obsolete so original driver need to modify according to new kernel.
            download tp link drive from following link.



            https://github.com/ZeeRooo/RTL8192EU



            goto driver folder and run follwing commands.



            # apt update
            # apt-get install gcc make libelf-dev
            # make
            # make install


            remove wifi usb dongle and reboot system.
            Install wifi module



            # modprobe 8192eu


            now insert wifi dongle and test.
            working for me tested on ubuntu 18.04 and Arch linux.






            share|improve this answer








            New contributor




            Tech Mk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






















              up vote
              0
              down vote













              In latest kernel some function obsolete so original driver need to modify according to new kernel.
              download tp link drive from following link.



              https://github.com/ZeeRooo/RTL8192EU



              goto driver folder and run follwing commands.



              # apt update
              # apt-get install gcc make libelf-dev
              # make
              # make install


              remove wifi usb dongle and reboot system.
              Install wifi module



              # modprobe 8192eu


              now insert wifi dongle and test.
              working for me tested on ubuntu 18.04 and Arch linux.






              share|improve this answer








              New contributor




              Tech Mk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.




















                up vote
                0
                down vote










                up vote
                0
                down vote









                In latest kernel some function obsolete so original driver need to modify according to new kernel.
                download tp link drive from following link.



                https://github.com/ZeeRooo/RTL8192EU



                goto driver folder and run follwing commands.



                # apt update
                # apt-get install gcc make libelf-dev
                # make
                # make install


                remove wifi usb dongle and reboot system.
                Install wifi module



                # modprobe 8192eu


                now insert wifi dongle and test.
                working for me tested on ubuntu 18.04 and Arch linux.






                share|improve this answer








                New contributor




                Tech Mk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                In latest kernel some function obsolete so original driver need to modify according to new kernel.
                download tp link drive from following link.



                https://github.com/ZeeRooo/RTL8192EU



                goto driver folder and run follwing commands.



                # apt update
                # apt-get install gcc make libelf-dev
                # make
                # make install


                remove wifi usb dongle and reboot system.
                Install wifi module



                # modprobe 8192eu


                now insert wifi dongle and test.
                working for me tested on ubuntu 18.04 and Arch linux.







                share|improve this answer








                New contributor




                Tech Mk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Tech Mk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Dec 3 at 8:19









                Tech Mk

                1




                1




                New contributor




                Tech Mk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Tech Mk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Tech Mk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037778%2fubuntu-18-04-tp-link-dongle-fail-connecting-network-model-tl-wn821n%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How did Captain America manage to do this?

                    迪纳利

                    南乌拉尔铁路局