Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
ling516
V2EX  ›  Linux

centos 系统如何永远禁止网卡随系统启动

  •  
  •   ling516 · Jun 4, 2021 · 2139 views
    This topic created in 1827 days ago, the information mentioned may be changed or developed.

    修改网卡配置文件 NOBOOT=no none 也试了 不行

    6 replies    2021-06-06 00:59:50 +08:00
    kokutou
        1
    kokutou  
       Jun 4, 2021 via Android
    nmtui
    jim9606
        2
    jim9606  
       Jun 4, 2021
    啥叫禁止网卡随系统启动?
    如果希望网卡处于 unmanaged 状态,/etc/network/interfaces 移除所有 auto 及 allow-hotplug 方法
    Tink
        3
    Tink  
    PRO
       Jun 5, 2021 via Android
    把 interfaces 文件重命名一下
    vk42
        4
    vk42  
       Jun 5, 2021
    直接把网卡驱动 blacklist?
    Judoon
        5
    Judoon  
       Jun 5, 2021
    ONBOOT=no
    不是 NOBOOT
    有可能是 NetworkManager 接管了, 可以试试加上 NM_CONTROLLED=no
    xcstream
        6
    xcstream  
       Jun 6, 2021
    物理拔网线
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2607 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 10:42 · PVG 18:42 · LAX 03:42 · JFK 06:42
    ♥ Do have faith in what you're doing.