Results 1 to 6 of 6

Thread: Unable to install required drivers for wifi dongle

  1. #1
    Join Date
    2017-Sep
    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.

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

    Code:
    apt install linux-headers-`uname -r`
    should do the trick.

  3. #3
    Join Date
    2017-Sep
    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
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Show the output of cat /etc/apt/sources.list

  5. #5
    Join Date
    2017-Sep
    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
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    From your output of cat /etc/apt/sources.list, you have not added any repository of kali in sources.list

Similar Threads

  1. USB wifi dongle Driver Installation not seeing available wifi.
    By wolz in forum Kali Linux TroubleShooting
    Replies: 0
    Last Post: 2023-07-20, 13:07
  2. Replies: 0
    Last Post: 2020-08-08, 12:02
  3. best external wifi dongle to use with nethunter for wifi attacks
    By keyboardjunkie in forum NetHunter General Questions
    Replies: 25
    Last Post: 2019-03-29, 10:32
  4. Unable to install ATI drivers under 3.18 kernel
    By martin in forum General Archive
    Replies: 1
    Last Post: 2015-02-12, 09:10

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
  •