V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
rizon
V2EX  ›  程序员

Linux 命令行下 怎么修改 wifi 的优先级别

  •  
  •   rizon ·
    othorizon · Mar 7, 2019 · 2335 views
    This topic created in 2613 days ago, the information mentioned may be changed or developed.

    我发现设备总会自动切换 wifi,使用 nmcli up 命令切换到新的之后,好像又会自动变回来?

    请问怎么设置 wifi 的优先级别?

    1 replies    2019-03-08 03:26:34 +08:00
    weyou
        1
    weyou  
       Mar 8, 2019 via Android   ❤️ 4
    nmcli connection modify "your-wifi-name" connection.autoconnect-priority 20
    最后的数字设置的越大优先级越高,可以为负数,默认加入的 wifi 优先级是 0
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2387 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 04:14 · PVG 12:14 · LAX 21:14 · JFK 00:14
    ♥ Do have faith in what you're doing.