V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
pagxir
V2EX  ›  分享发现

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

  •  
  •   pagxir · 317 天前 · 782 次点击
    这是一个创建于 317 天前的主题,其中的信息可能已经有所发展或是发生改变。

    这两天打算使用很久前的一个 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

    1 条回复    2023-09-09 12:11:39 +08:00
    wkla
        1
    wkla  
       231 天前
    大哥!我也是 intel 网卡,之前改了区域,用了 OpenWRT 的 patch ,都没用。用你这个就 ok 了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2708 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 10:54 · PVG 18:54 · LAX 03:54 · JFK 06:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.