gpt4 book ai didi

ubuntu - 如何找到特定版本的Ubuntu对应的内核源码?

转载 作者:行者123 更新时间:2023-12-04 18:46:52 25 4
gpt4 key购买 nike

最近在研究无线网络,为了达到我的实验目的,必须对mac80211_hwsim做一些修改,但是找不到具体版本的Ubuntu对应的内核源码?如果有人能告诉我如何解决这个问题,这将很有帮助。谢谢!

lihui@ubuntu:~$ modinfo mac80211_hwsim
filename: /lib/modules/3.16.0-30-generic/kernel/drivers/net/wireless/mac80211_hwsim.ko
license: GPL
description: Software simulator of 802.11 radio(s) for mac80211
author: Jouni Malinen
srcversion: FEC587C589C9B337D559437
depends: mac80211,cfg80211
intree: Y
vermagic: 3.16.0-30-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 7B:E2:A7:20:0F:17:F0:0C:A0:11:F7:0E:5A:87:4C:37:E3:E0:F6:BE
sig_hashalgo: sha512
parm: radios:Number of simulated radios (int)
parm: channels:Number of concurrent channels (int)
parm: paged_rx:Use paged SKBs for RX instead of linear ones (bool)
parm: rctbl:Handle rate control table (bool)
parm: support_p2p_device:Support P2P-Device interface type (bool)
parm: regtest:The type of regulatory test we want to run (int)
lihui@ubuntu:~$ uname -a
Linux ubuntu 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

最佳答案

使用以下命令获取当前系统内核的来源:

sudo apt-get source linux-source

There is a good reference with more details .

关于ubuntu - 如何找到特定版本的Ubuntu对应的内核源码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32292789/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com