1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Kali Linux on Windows 10 WSL Interface not working

Discussion in 'Beginners Section' started by Papote, May 14, 2018.

  1. Papote

    Papote New Member

    May 14, 2018
    Likes Received:
    I've been trying to run airmon-ng on my Kali Linux running on Windows 10 WSL, but am getting the following error:
    ls: cannot access '/sys/class/ieee80211/': No such file or directory

    PHY Interface Driver Chipset

    I've tried installing the compat-wireless packages (compat-wireless-2010-06-26-pc) from the instructions found here, but nothing.
    Downloaded the file uncompressed and ran the make unload and then the make load instructions, but when I try to go back to run the airmon-ng command, I get the same error.

    Even tried the newer backports-3.10.17-1.tar.gz packages, but nothing seems to work. I tried the instructions from here. I understand that backports replaced compat-wireless. Last version I tried was backports-3.12-1.tar.bz2 and followed the rest of the instructions.

    When I get to the make command I get the following error:
    # make
    | Your kernel headers are incomplete/not installed.
    | Please install kernel headers, including a .config
    | file or use the KLIB/KLIB_BUILD make variables to
    | set the kernel to build against, e.g.
    | make KLIB=/lib/modules/3.1.7/
    | to compile/install for the installed kernel 3.1.7
    | (that isn't currently running.)
    Makefile:40: recipe for target 'modules' failed
    make[1]: *** [modules] Error 1
    Makefile:30: recipe for target 'default' failed
    make: *** [default] Error 2

    Via ifconfig, I can see that the interface wifi0 is getting IP address. I can ping from my host PC without any problems. Also checked and the Linux box has connection to the Internet.
    When running the iwconfig comand, I get no wireless extensions, even on the wifi0 interface.

    Linux version
    Linux HP1 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 GNU/Linux
    Windows 10 WSL

    lsb_release -a
    No LSB modules are available.
    Distributor ID: Kali
    Description: Kali GNU/Linux Rolling
    Release: kali-rolling
    Codename: kali-rolling

Share This Page