Share via


Windows Subsystem Linux - Windows Headers

Question

Friday, April 20, 2018 6:40 PM

I am trying to install wireless drivers in a WSL distro app for Kali. In order to use Kali tools you can install Katoolin from Github. When I run airmon-ng I get an error of 'cannot access /sys/class/ieee80211 no such file or directory'. I have since found the wireless drivers in 'backports.' When attempting to install the driver with the command: sudo make deconfig-wifi" I get an error:

"Your kernel headeres are incomplete/not installed. Please install kernel headers, including a .config"

I've then run the command "uname -r" and get "4.4.0-43-Microsoft". I try and run: sudo apt-get install linux-headers-4.4.0-43-Microsoft" and it fails.

I suppose the question is do Windows Linux headers even exist?

All replies (2)

Monday, April 23, 2018 2:03 AM ✅Answered

Hi Jjclay,

Yes, WSL only provides a Linux userspace at present, not a Linux kernel-space. I’m afraid that it is by design.

Also if you have questions about WSL, you could post the issue to github forum. It’s a right place for WSL to get more help.

https://github.com/Microsoft/WSL/issues

Hope it will be helpful to you

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Friday, April 27, 2018 5:54 AM

Hi Jjclay,

Haven't received your message a few days, was your issue resolved?
I am proposing previous helpful replies as "Answered". Please feel free to try it and let me know the result. If the reply is helpful, please remember to mark it as answer which can help other community members who have same questions and find the helpful reply quickly.
Best regards,
Carl

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].