• 请不要在回答技术问题时复制粘贴 AI 生成的内容
rizon
V2EX  ›  程序员

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

  •  
  •   rizon ·
    othorizon · Mar 7, 2019 · 2626 views
    This topic created in 2801 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
    weyou
    Mar 8, 2019 via Android❤️4
    1
    nmcli connection modify "your-wifi-name" connection.autoconnect-priority 20
    最后的数字设置的越大优先级越高,可以为负数,默认加入的 wifi 优先级是 0
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1315 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:16 · PVG 01:16 · LAX 09:16 · JFK 12:16
    ♥ Do have faith in what you're doing.