ubuntu 23 下 intel 无线网卡创建 5G 热点的 patch

330 天前
 pagxir

这两天打算使用很久前的一个 mini PC 当作路由使用,然后这个机器内置的网卡是 intel 的无线网卡: Intel Corporation Wireless 3165 (rev 91)

然后不管使用 nmcli 还是使用 hostapd 都无法创建 5G hotspot, 而作为 station 连接 5G 是 OK 的,并且创建 2.4G 热点也没有问题。

使用 iw list 命令显示

			* 5180 MHz [36] (20.0 dBm) (no IR, radar detection)
			* 5200 MHz [40] (20.0 dBm) (no IR, radar detection)
			* 5220 MHz [44] (20.0 dBm) (no IR, radar detection)
			* 5240 MHz [48] (20.0 dBm) (no IR, radar detection)
			* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
			* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
			* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
			* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
			* 5340 MHz [68] (20.0 dBm) (no IR, radar detection)

通过网络搜索信息显示是因为 lar 导致的,并且 intel 在新版的 kernel > 5.4 中,把 disable_lar 移除了。网络上也没有找到具体可以在新版 kernel 中使用方案。

最后是实在没有办法,只好尝试手动到修改,经过尝试后,终于可以了。

改动很简单,具体参见: https://github.com/pagxir/linux-patch/commit/819ac8cc0a4fdee32f2b9a881bced045a671af73

802 次点击
所在节点    分享发现
1 条回复
wkla
243 天前
大哥!我也是 intel 网卡,之前改了区域,用了 OpenWRT 的 patch ,都没用。用你这个就 ok 了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/948808

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX