最后硬刚解决 ,完美可以通过wsl2 开发linux driver程序。 首先,尝试在WSL上安装Linuxheaders,发现不能通过apt install linux-headers-$(uname -r)进行安装。原因是WSL与传统的Linux发行版不同,它不需要编译内核模块,因此也不需要安装linux-headers软件包。如果你需要使用某个软件包,它需要内核模块支持,那么你可以尝试...
首先,到Releases · microsoft/WSL2-Linux-Kernel · GitHub这里下载你内核对应版本的源码 安装依赖:sudo apt install libelf-dev build-essential pkg-config 安装依赖:sudo apt install bison build-essential flex libssl-dev libelf-dev bc 内核源码下载后,先 cp 到wsl里面的home目录,千万不能直接在windows目录里...
Description I encountered an issue when trying to install bpfcc-tools and linux-headers on Ubuntu 24.04 WSL. Steps to Reproduce Follow the steps to install dependencies and compile the kernel module as described in the documentation. Run...
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...
I would like Headers installation option in WSL2-Linux-Kernel , I'm trying to install a module (v4l2loopback) and it requires headers installed at /lib/modules/5.15.146.1-Microsoft-standard-wsl2+ . I searched online and they say wsl2 msft linux kernel doesn't come with headers , will ...
update : 更新 /etc/apt/sources.list 和 /etc/apt/sources.list.d 中列出的源的地址,这样才能获取...
I have CMake/C++ project in WSL it is prettyr simple but has dependecie on outer library to find which I am using `find_package(... HINTS /mnt/c/users/ofcra/Lib/dealii_d_shared)`. problem is that the IntelliSense does not preload this library headers to Visual Studio, and all it...
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...