USB WiFi not active after boot but activates after reinserting












0














I have a usb wifi adapter that doesn't activate after boot (on Ubuntu 18.04); however, if I take it out and reinsert it, it activates and works as expected.



The divice is a TP-LINK TL-WN725N and is identified as



$lsusb
Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n


Does anyone have any suggestions? Thanks.



Edit I should probably add sometimes my wireless mouse doesn't wake after waking my desktop from sleep, but that's only about 1-in-20 times. Again, just reinsert to get it working again.



Edit 2



I tried to compile the latest driver for this model from their site and got the following error:



leon@leon:~/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222$ make clean
#make -C /lib/modules/4.15.0-42-generic/build M=/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 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

leon@leon:~/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-42-generic/build M=/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-42-generic'
Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o
In file included from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46:0,
from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:288:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:289:2: error: 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/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32:0,
from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘thread_enter’:
/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
do_signal
/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
if (signal_pending(current))
^~~~~~~~~~~~~~
timer_pending
/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
do_signal
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o' failed
make[2]: *** [/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
Makefile:1551: recipe for target '_module_/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222' failed
make[1]: *** [_module_/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-42-generic'
Makefile:1911: recipe for target 'modules' failed
make: *** [modules] Error 2









share|improve this question





























    0














    I have a usb wifi adapter that doesn't activate after boot (on Ubuntu 18.04); however, if I take it out and reinsert it, it activates and works as expected.



    The divice is a TP-LINK TL-WN725N and is identified as



    $lsusb
    Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n


    Does anyone have any suggestions? Thanks.



    Edit I should probably add sometimes my wireless mouse doesn't wake after waking my desktop from sleep, but that's only about 1-in-20 times. Again, just reinsert to get it working again.



    Edit 2



    I tried to compile the latest driver for this model from their site and got the following error:



    leon@leon:~/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222$ make clean
    #make -C /lib/modules/4.15.0-42-generic/build M=/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 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

    leon@leon:~/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222$ make
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-42-generic/build M=/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 modules
    make[1]: Entering directory '/usr/src/linux-headers-4.15.0-42-generic'
    Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
    CC [M] /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o
    In file included from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46:0,
    from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
    from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
    /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h: In function ‘_init_timer’:
    /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:288:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
    ptimer->data = (unsigned long)cntx;
    ^~
    /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:289:2: error: 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/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32:0,
    from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
    /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘thread_enter’:
    /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
    allow_signal(SIGTERM);
    ^~~~~~~~~~~~
    do_signal
    /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘flush_signals_thread’:
    /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
    if (signal_pending(current))
    ^~~~~~~~~~~~~~
    timer_pending
    /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
    flush_signals(current);
    ^~~~~~~~~~~~~
    do_signal
    cc1: some warnings being treated as errors
    scripts/Makefile.build:332: recipe for target '/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o' failed
    make[2]: *** [/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
    Makefile:1551: recipe for target '_module_/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222' failed
    make[1]: *** [_module_/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-42-generic'
    Makefile:1911: recipe for target 'modules' failed
    make: *** [modules] Error 2









    share|improve this question



























      0












      0








      0







      I have a usb wifi adapter that doesn't activate after boot (on Ubuntu 18.04); however, if I take it out and reinsert it, it activates and works as expected.



      The divice is a TP-LINK TL-WN725N and is identified as



      $lsusb
      Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n


      Does anyone have any suggestions? Thanks.



      Edit I should probably add sometimes my wireless mouse doesn't wake after waking my desktop from sleep, but that's only about 1-in-20 times. Again, just reinsert to get it working again.



      Edit 2



      I tried to compile the latest driver for this model from their site and got the following error:



      leon@leon:~/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222$ make clean
      #make -C /lib/modules/4.15.0-42-generic/build M=/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 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

      leon@leon:~/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222$ make
      make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-42-generic/build M=/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 modules
      make[1]: Entering directory '/usr/src/linux-headers-4.15.0-42-generic'
      Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
      CC [M] /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o
      In file included from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46:0,
      from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
      from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h: In function ‘_init_timer’:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:288:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
      ptimer->data = (unsigned long)cntx;
      ^~
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:289:2: error: 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/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32:0,
      from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘thread_enter’:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
      allow_signal(SIGTERM);
      ^~~~~~~~~~~~
      do_signal
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘flush_signals_thread’:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
      if (signal_pending(current))
      ^~~~~~~~~~~~~~
      timer_pending
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
      flush_signals(current);
      ^~~~~~~~~~~~~
      do_signal
      cc1: some warnings being treated as errors
      scripts/Makefile.build:332: recipe for target '/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o' failed
      make[2]: *** [/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
      Makefile:1551: recipe for target '_module_/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222' failed
      make[1]: *** [_module_/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
      make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-42-generic'
      Makefile:1911: recipe for target 'modules' failed
      make: *** [modules] Error 2









      share|improve this question















      I have a usb wifi adapter that doesn't activate after boot (on Ubuntu 18.04); however, if I take it out and reinsert it, it activates and works as expected.



      The divice is a TP-LINK TL-WN725N and is identified as



      $lsusb
      Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n


      Does anyone have any suggestions? Thanks.



      Edit I should probably add sometimes my wireless mouse doesn't wake after waking my desktop from sleep, but that's only about 1-in-20 times. Again, just reinsert to get it working again.



      Edit 2



      I tried to compile the latest driver for this model from their site and got the following error:



      leon@leon:~/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222$ make clean
      #make -C /lib/modules/4.15.0-42-generic/build M=/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 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

      leon@leon:~/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222$ make
      make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-42-generic/build M=/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 modules
      make[1]: Entering directory '/usr/src/linux-headers-4.15.0-42-generic'
      Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
      CC [M] /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o
      In file included from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46:0,
      from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
      from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h: In function ‘_init_timer’:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:288:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
      ptimer->data = (unsigned long)cntx;
      ^~
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:289:2: error: 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/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32:0,
      from /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘thread_enter’:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
      allow_signal(SIGTERM);
      ^~~~~~~~~~~~
      do_signal
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h: In function ‘flush_signals_thread’:
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
      if (signal_pending(current))
      ^~~~~~~~~~~~~~
      timer_pending
      /home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
      flush_signals(current);
      ^~~~~~~~~~~~~
      do_signal
      cc1: some warnings being treated as errors
      scripts/Makefile.build:332: recipe for target '/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o' failed
      make[2]: *** [/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
      Makefile:1551: recipe for target '_module_/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222' failed
      make[1]: *** [_module_/home/leon/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
      make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-42-generic'
      Makefile:1911: recipe for target 'modules' failed
      make: *** [modules] Error 2






      networking wireless






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 30 '18 at 10:16

























      asked Oct 21 '18 at 3:41









      user126440

      236




      236






















          0






          active

          oldest

          votes











          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',
          autoActivateHeartbeat: false,
          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%2f1085731%2fusb-wifi-not-active-after-boot-but-activates-after-reinserting%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1085731%2fusb-wifi-not-active-after-boot-but-activates-after-reinserting%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

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          張江高科駅