unable to install usb wifi adapter

  • hello,
    i'm trying to install usb wifi adapter RTL88x2BU_WiFi_linux_v5.2.4.4 but it fails due to make command is not installed.


    so i decide to run apt install build-essential --fix-missing but it fails again:


    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    binutils bzip2 cpp cpp-6 dpkg-dev g++ g++-6 gcc gcc-6 libasan3 libatomic1
    libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libgcc-6-dev
    libgomp1 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libquadmath0
    libstdc++-6-dev libtsan0 libubsan0 linux-libc-dev make patch xz-utils
    Suggested packages:
    binutils-doc bzip2-doc cpp-doc gcc-6-locales debian-keyring g++-multilib
    g++-6-multilib gcc-6-doc libstdc++6-6-dbg gcc-multilib manpages-dev autoconf
    automake libtool flex bison gdb gcc-doc gcc-6-multilib libgcc1-dbg
    libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg
    libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg
    glibc-doc libstdc++-6-doc make-doc ed diffutils-doc
    Recommended packages:
    fakeroot libalgorithm-merge-perl manpages manpages-dev
    libfile-fcntllock-perl
    The following NEW packages will be installed:
    binutils build-essential bzip2 cpp cpp-6 dpkg-dev g++ g++-6 gcc gcc-6
    libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl
    libgcc-6-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2
    libquadmath0 libstdc++-6-dev libtsan0 libubsan0 linux-libc-dev make patch
    xz-utils
    0 upgraded, 33 newly installed, 0 to remove and 37 not upgraded.
    Need to get 38.0 MB of archives.
    After this operation, 160 MB of additional disk space will be used.
    Do you want to continue? [Y/n] Err:1 http://ftp.it.debian.org/debian stretch/main amd64 bzip2 amd64 1.0.6-8.1
    Temporary failure resolving 'ftp.it.debian.org'
    Err:2 http://security.debian.org/debian-security stretch/updates/main amd64 linux-libc-dev amd64 4.9.168-1+deb9u3
    Temporary failure resolving 'security.debian.org'
    Err:3 http://ftp.it.debian.org/debian stretch/main amd64 xz-utils amd64 5.2.2-1.2+b1
    Temporary failure resolving 'ftp.it.debian.org'
    Err:4 http://ftp.it.debian.org/debian stretch/main amd64 binutils amd64 2.28-5
    Temporary failure resolving 'ftp.it.debian.org'
    Err:5 http://ftp.it.debian.org/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u4
    Temporary failure resolving 'ftp.it.debian.org'
    Err:6 http://ftp.it.debian.org/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u4
    Temporary failure resolving 'ftp.it.debian.org'
    Err:7 http://ftp.it.debian.org/debian stretch/main amd64 libisl15 amd64 0.18-1
    Temporary failure resolving 'ftp.it.debian.org'
    Err:8 http://ftp.it.debian.org/debian stretch/main amd64 libmpfr4 amd64 3.1.5-1
    Temporary failure resolving 'ftp.it.debian.org'




    any ideas?

  • You have no working DNS or no internet connection.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • hi all,
    there was only a temporary fails of connetion. now i checked that i've connection and i was able to install make and bc.
    but the compiling of driver again fails:
    Authentication requested [root] for make clean:
    #make -C /lib/modules/4.19.0-0.bpo.4-amd64/build M=/wifidriver/RTL88x2BU_WiFi_linux_v5.2.4.4_25643.20171212_COEX20171012-5044/driver/rtl88x2BU_WiFi_linux_v5.2.4.4_25643.20171212_COEX20171012-5044 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
    Authentication requested [root] for make driver:
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-0.bpo.4-amd64/build M=/wifidriver/RTL88x2BU_WiFi_linux_v5.2.4.4_25643.20171212_COEX20171012-5044/driver/rtl88x2BU_WiFi_linux_v5.2.4.4_25643.20171212_COEX20171012-5044 modules
    make[1]: Entering directory '/lib/modules/4.19.0-0.bpo.4-amd64/build'
    make[1]: *** No rule to make target 'modules'. Stop.
    make[1]: Leaving directory '/lib/modules/4.19.0-0.bpo.4-amd64/build'
    Makefile:1794: recipe for target 'modules' failed
    make: *** [modules] Error 2
    ##################################################
    Compile make driver error: 2
    Please check error Mesg
    ##################################################

    how can i do?


    thanks

  • finally i found a working driver:



    https://github.com/minjae/rtl8821au.git


    i can see the usb device:
    root@nas:~/rtl8821au# lsusb
    Bus 001 Device 003: ID 0bda:b812 Realtek Semiconductor Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    but i can only see the ethernet interface
    root@nas:~# lshw -C network
    *-network
    description: Ethernet interface
    product: VT6102/VT6103 [Rhine-II]
    vendor: VIA Technologies, Inc.
    physical id: 12
    bus info: pci@0000:00:12.0
    logical name: enp0s18
    version: 7c
    serial: 00:19:66:99:b9:14
    size: 100Mbit/s
    capacity: 100Mbit/s
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=via-rhine driverversion=1.5.1 duplex=full ip=192.168.1.200 latency=32 link=yes maxlatency=8 mingnt=3 multicast=yes port=MII speed=100Mbit/s
    resources: irq:23 ioport:c000(size=256) memory:fdfff800-fdfff8ff
    any ideas?


    thanks

Jetzt mitmachen!

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