V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
raysonlu
V2EX  ›  Linux

iw 命令工具常见的__ap 类型网络接口是什么?

  •  
  •   raysonlu · Nov 17, 2022 · 1542 views
    This topic created in 1256 days ago, the information mentioned may be changed or developed.

    网上搜关于无线网卡做 ap 的教程,几乎都有那句用 iw 命令开虚拟网络接口的命令

    iw phy phy0 interface add wlan_ap1 type __ap
    

    这个type __ap是怎么来的?我查阅 iw 的文档完全没有说明这个类型。

    文档链接: https://wireless.wiki.kernel.org/en/users/documentation/iw

    在“Adding interfaces with iw”下面没有说明 __ap 这个 mode ,表示很疑惑。

    虽然我现在按照这类的步骤方法已经成功创建 ap ,但这种命令行创建虚拟网卡接口,在重启后就消失,因此我在思考通过 iw 创建的这个是什么类型,然后想尝试用其他开机初始化网络环境的工具(比如 netplan)上创建。

    1 replies    2022-11-17 15:24:40 +08:00
    ysc3839
        1
    ysc3839  
       Nov 17, 2022
    建议直接使用 NetworkManager
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   947 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 22:40 · PVG 06:40 · LAX 15:40 · JFK 18:40
    ♥ Do have faith in what you're doing.