Wifi dongle... how to set it up?

  • Hello,
    I've just got a WIFI 5.8 +2.4 usb dongle (it mountes rtl8811au realteck chipset), I've found on github this but it says Ubuntu 16.04.2 LTS, can I use on debian 9 as well? OMV doesn't recognize it by default... how can I install it?
    Thanks

  • See for example https://forum.armbian.com/topi…findComment&comment=29521 -- using DKMS should ensure that driver support survives a kernel update.


    If you're on x86 you don't need the sed line(s) and I don't know whether you need to install kernel headers or not (web search for 'debian 9 install kernel headers' should give you an answer)

  • I've updated to kernel 4.16 since on 4.14 it was not finding the headers..... now I've tried to perform all the steps but it hang on



    Kernel preparation unnecessary for this kernel. Skipping...


    Building module:
    cleaning build area...
    'make' all KVER=4.16.0-0.bpo.2-amd64...(bad exit status: 2)
    Error! Bad return status for module build on kernel: 4.16.0-0.bpo.2-amd64 (x86_64)


    The logs says


    DKMS make.log for 8812au-4.2.2 for kernel 4.16.0-0.bpo.2-amd64 (x86_64)
    Sat 7 Jul 13:09:07 BST 2018
    make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.16.0-0.bpo.2-amd64/build M=/var/$
    make[1]: Entering directory '/usr/src/linux-headers-4.16.0-0.bpo.2-amd64'
    CC [M] /var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.o
    In file included from /var/lib/dkms/8812au/4.2.2/build/include/osdep_service.h:$
    from /var/lib/dkms/8812au/4.2.2/build/include/drv_types.h:32,
    from /var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.c:22:
    /var/lib/dkms/8812au/4.2.2/build/include/osdep_service_linux.h: In function ‘_i$
    /var/lib/dkms/8812au/4.2.2/build/include/osdep_service_linux.h:257:8: error: ‘_$
    ptimer->data = (unsigned long)cntx;
    ^~
    /var/lib/dkms/8812au/4.2.2/build/include/osdep_service_linux.h:258:2: error: im$
    init_timer(ptimer);
    ^~~~~~~~~~
    cc1: some warnings being treated as errors
    /usr/src/linux-headers-4.16.0-0.bpo.2-common/scripts/Makefile.build:329: recipe$
    make[4]: *** [/var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.o] Error 1



    cc1: some warnings being treated as errors
    /usr/src/linux-headers-4.16.0-0.bpo.2-common/scripts/Makefile.build:329: recipe$
    make[4]: *** [/var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.o] Error 1
    /usr/src/linux-headers-4.16.0-0.bpo.2-common/Makefile:1578: recipe for target '$
    make[3]: *** [_module_/var/lib/dkms/8812au/4.2.2/build] Error 2
    Makefile:146: recipe for target 'sub-make' failed
    make[2]: *** [sub-make] Error 2
    Makefile:8: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.16.0-0.bpo.2-amd64'
    Makefile:1052: recipe for target 'modules' failed
    make: *** [modules] Error 2


    Why it has always to be so a fight???

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!