T
T
Termir9882018-04-19 22:41:28
linux
Termir988, 2018-04-19 22:41:28

How to fix driver installation error on linux?

I tried to install the drivers according to the instructions for the *TP-Link Archer T1U* network adapter downloaded from the official TP-Link website and got an error:

[email protected]:~/Desktop/Archer_T1U_V1_150909/Driver# make
    make -C UTIL/ osutil
    make[1]: Entering directory '/root/Desktop/Archer_T1U_V1_150909/Driver/UTIL'
    cp -f os/linux/Makefile.6.util /root/Desktop/Archer_T1U_V1_150909/Driver/UTIL/os/linux/Makefile
    make -C /lib/modules/4.14.0-kali3-amd64/build SUBDIRS=/root/Desktop/Archer_T1U_V1_150909/Driver/UTIL/os/linux modules
    make[2]: Entering directory '/root/Desktop/Archer_T1U_V1_150909/Driver/UTIL'
    make[2]: *** /lib/modules/4.14.0-kali3-amd64/build: No such file or directory.  Stop.
    make[2]: Leaving directory '/root/Desktop/Archer_T1U_V1_150909/Driver/UTIL'
    Makefile:527: recipe for target 'osutil' failed
    make[1]: *** [osutil] Error 2
    make[1]: Leaving directory '/root/Desktop/Archer_T1U_V1_150909/Driver/UTIL'
    Makefile:3: recipe for target 'all' failed
    make: *** [all] Error 2

Well, make install:
[email protected]:~/Desktop/Archer_T1U_V1_150909/Driver# make install
    make -C UTIL/ install_util
    make[1]: Entering directory '/root/Desktop/Archer_T1U_V1_150909/Driver/UTIL'
    make -C /root/Desktop/Archer_T1U_V1_150909/Driver/UTIL/os/linux -f Makefile.6.util install
    make[2]: Entering directory '/root/Desktop/Archer_T1U_V1_150909/Driver/UTIL/os/linux'
    install -d /lib/modules/4.14.0-kali3-amd64/kernel/drivers/net/wireless/
    install -m 644 -c mt7650u_sta_util.ko /lib/modules/4.14.0-kali3-amd64/kernel/drivers/net/wireless/
    install: cannot stat 'mt7650u_sta_util.ko': No such file or directory
    Makefile.6.util:50: recipe for target 'install' failed
    make[2]: *** [install] Error 1
    make[2]: Leaving directory '/root/Desktop/Archer_T1U_V1_150909/Driver/UTIL/os/linux'
    Makefile:490: recipe for target 'install_util' failed
    make[1]: *** [install_util] Error 2
    make[1]: Leaving directory '/root/Desktop/Archer_T1U_V1_150909/Driver/UTIL'
    Makefile:16: recipe for target 'install' failed
    make: *** [install] Error 2

Kernel version:
[email protected]:~/Desktop/Archer_T1U_V1_150909/Driver# uname -a
    Linux kali 4.14.0-kali3-amd64 #1 SMP Debian 4.14.12-2kali1 (2018-01-08) x86_64 GNU/Linux

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question