Results 1 to 6 of 6

Thread: Unable to install required drivers for wifi dongle

  1. #1
    Junior Member
    Join Date
    Sep 2017
    Location
    Vermont
    Posts
    3

    Unable to install required drivers for wifi dongle

    Hello, I am quite new to all linux distros and I have successfully got my hp compaq 6000 desktop to dual boot win10 and kali rolling. For my wifi I have a usb dongle that runs a Realtek RTL8811AU chipset. I have downloaded the drivers from the makers of the dongle and ran their ./install.sh to get /lib/modules/4.12.0-kali1-amd64-build: No such file or directory. I have also downloaded the official drivers from realtek to receive the exact same error. here is the attempt to install the official drivers:
    root@kali:~/Desktop/r8168-8.045.08# ./autorun.sh

    Check old driver and unload it.
    Build the module and install
    make[2]: *** /lib/modules/4.12.0-kali1-amd64/build: No such file or directory. Stop.
    make[1]: *** [clean] Error 2
    make: *** [clean] Error 2

    I have searched the internet for a solution and none seem to work. Can someone help me with installing/fixing/repairing whatever needs to be done so I can install drivers? Thank You.


    Edit:
    root@kali:~# cat /etc/apt/sources.list
    #

    # deb cdrom:[Debian GNU/Linux 2017.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170917-01:51]/ kali-rolling contrib main non-free

    #deb cdrom:[Debian GNU/Linux 2017.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170917-01:51]/ kali-rolling contrib main non-free
    Last edited by Vulpes; 2017-10-10 at 01:17 AM.

  2. #2
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    137
    Looks like you are missing the kernel-headers.
    Installing them via:

    Code:
    apt install linux-headers-`uname -r`
    should do the trick.
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  3. #3
    Junior Member
    Join Date
    Sep 2017
    Location
    Vermont
    Posts
    3
    When I run the code you gave me to install the headers this came up...
    root@kali:~# apt install linux-headers-`uname -r`
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.12.0-kali1-amd64
    E: Couldn't find any package by glob 'linux-headers-4.12.0-kali1-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.12.0-kali1-amd64'
    root@kali:~#

  4. #4
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    811
    Show the output of cat /etc/apt/sources.list

  5. #5
    Junior Member
    Join Date
    Sep 2017
    Location
    Vermont
    Posts
    3
    I have somehow fixed the error by re-installing kali using the same live usb I originally did it from while tunneling my phone's data to my computer. It discovered an update and everything works fine now..... except that I have realized that i have grabbed the incorrect wifi driver..... Thanks for the help

  6. #6
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    811
    From your output of cat /etc/apt/sources.list, you have not added any repository of kali in sources.list

Tags for this Thread

Posting Permissions

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