Results 1 to 2 of 2

Thread: Install lynksys ae6000 drivers - wifi adapter

  1. #1
    Join Date
    2016-Oct
    Posts
    1

    Install lynksys ae6000 drivers - wifi adapter

    I'm right now on kali linux for a week or so and I can't figure out how to install linksys ae6000 drivers.

    I followed this tutorial: http://hprath.com/2014/06/cisco-link...-driver-patch/

    but it gave an error:
    Code:
    root@kali:~# cd mediatek_mt7610u_sta_driver_linux-64bit
    root@kali:~/mediatek_mt7610u_sta_driver_linux-64bit# git pull
    Already up-to-date.
    root@kali:~/mediatek_mt7610u_sta_driver_linux-64bit# make clean
    cp -f os/linux/Makefile.clean os/linux/Makefile
    make -C os/linux clean
    make[1]: Entering directory '/root/mediatek_mt7610u_sta_driver_linux-64bit/os/linux'
    rm -f ../../common/*.o
    rm -f ../../common/.*.cmd .*.flags .*.d
    rm -f ../../os/linux/*.o *.ko *.mod.o *.mod.c
    rm -f ../../os/linux/.*.cmd .*.flags .*.d
    rm -fr ../../os/linux/.tmp_versions
    rm -f ../../os/linux/Module.symvers
    rm -f ../../os/linux/Modules.symvers
    rm -f ../../os/linux/Module.markers
    rm -f ../../os/linux/modules.order
    rm -f ../../chips/*.o
    rm -f ../../chips/.*.cmd .*.flags .*.d
    rm -f ../../rate_ctrl/*.o
    rm -f ../../rate_ctrl/.*.cmd .*.flags .*.d
    rm -f ../../ate/common/*.o
    rm -f ../../ate/common/.*.cmd .*.flags .*.d
    rm -f ../../ate/chips/*.o
    rm -f ../../ate/chips/.*.cmd .*.flags .*.d
    rm -f ../../phy/*.o
    rm -f ../../phy/.*.cmd .*.flags .*.d
    rm -f ../../mac/*.o
    rm -f ../../mac/.*.cmd .*.flags .*.d
    rm -f ../../mcu/*.o
    rm -f ../../mcu/.*.cmd .*.flags .*.d
    rm -f ../../mgmt/*.o
    rm -f ../../mgmt/.*.cmd .*.flags .*.d
    rm -f ../../naf/*.o
    rm -f ../../naf/.*.cmd .*.flags .*.d
    rm -f ../../sta/*.o
    rm -f ../../sta/.*.cmd .*.flags .*.d
    make[1]: Leaving directory '/root/mediatek_mt7610u_sta_driver_linux-64bit/os/linux'
    rm -rf os/linux/Makefile
    root@kali:~/mediatek_mt7610u_sta_driver_linux-64bit# make
    make -C tools
    make[1]: Entering directory '/root/mediatek_mt7610u_sta_driver_linux-64bit/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory '/root/mediatek_mt7610u_sta_driver_linux-64bit/tools'
    /root/mediatek_mt7610u_sta_driver_linux-64bit/tools/bin2h
    chipset = mt7610u
    cp -f os/linux/Makefile.6 /root/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/Makefile
    make -C /lib/modules/4.6.0-kali1-amd64/build SUBDIRS=/root/mediatek_mt7610u_sta_driver_linux-64bit/os/linux modules
    make[1]: *** /lib/modules/4.6.0-kali1-amd64/build: No such file or directory.  Stop.
    Makefile:393: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2
    root@kali:~/mediatek_mt7610u_sta_driver_linux-64bit# make install
    make -C /root/mediatek_mt7610u_sta_driver_linux-64bit/os/linux -f Makefile.6 install
    make[1]: Entering directory '/root/mediatek_mt7610u_sta_driver_linux-64bit/os/linux'
    mkdir: cannot create directory ‘/etc/Wireless’: File exists
    rm -rf /etc/Wireless/RT2870STA
    mkdir /etc/Wireless/RT2870STA
    cp /root/mediatek_mt7610u_sta_driver_linux-64bit/conf/RT2870STA.dat /etc/Wireless/RT2870STA/.
    install -d /lib/modules/4.6.0-kali1-amd64/kernel/drivers/net/wireless/
    install -m 644 -c mt7610u_sta.ko /lib/modules/4.6.0-kali1-amd64/kernel/drivers/net/wireless/
    install: cannot stat 'mt7610u_sta.ko': No such file or directory
    Makefile.6:454: recipe for target 'install' failed
    make[1]: *** [install] Error 1
    make[1]: Leaving directory '/root/mediatek_mt7610u_sta_driver_linux-64bit/os/linux'
    Makefile:489: recipe for target 'install' failed
    make: *** [install] Error 2
    As far as I know this is a problem with the kernel, I found it somewhere on a forum.

    I needed to have my sources.list and my pgdg.list good:

    sources.list:
    Code:
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib
    pgdg.list:
    Code:
    deb http://apt.postgresql.org/pub/repos/apt/ kali-rolling-pgdg main
    But when running apt-get update it still gave me this error:
    Code:
    root@kali:~# apt-get update
    Ign:1 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg InRelease
    Ign:2 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg Release
    Ign:3 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main all Packages
    Ign:4 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main amd64 Packages
    Ign:5 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en_US
    Ign:6 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en
    Ign:3 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main all Packages
    Ign:4 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main amd64 Packages
    Ign:5 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en_US
    Ign:6 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en
    Ign:3 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main all Packages
    Hit:7 http://ftp2.nluug.nl/os/Linux/distr/kali kali-rolling InRelease
    Ign:4 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main amd64 Packages
    Ign:5 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en_US
    Ign:6 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en
    Ign:3 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main all Packages
    Ign:4 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main amd64 Packages
    Ign:5 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en_US
    Ign:6 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en
    Ign:3 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main all Packages
    Ign:4 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main amd64 Packages
    Ign:5 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en_US
    Ign:6 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en
    Ign:3 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main all Packages
    Err:4 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main amd64 Packages
      404  Not Found [IP: 217.196.149.55 80]
    Ign:5 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en_US
    Ign:6 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg/main Translation-en
    Reading package lists... Done
    W: The repository 'http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg Release' does not have a Release file.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/kali-rolling-pgdg/main/binary-amd64/Packages  404  Not Found [IP: 217.196.149.55 80]
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    root@kali:~#
    I searched everywhere and changed reporisties over and over again, but still couldn't solve the problem.
    I hope someone can help me and if you can, please explain in idiot language

  2. #2
    Join Date
    2016-Apr
    Posts
    100
    Try installing the kernel headers and start with make clean again.
    Code:
    apt-get update && apt-get install -y linux-headers-$(uname -r)

Similar Threads

  1. Replies: 0
    Last Post: 2020-12-13, 02:02
  2. Replies: 0
    Last Post: 2020-08-08, 12:02
  3. Replies: 1
    Last Post: 2016-01-25, 17:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •