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

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

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

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

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