NetworkManager

最後更新: 2024-03-08

目錄

介紹

Dynamic network control and configuration system

* API via D-Bus

* NetworkManager consists of a core daemon

* installed by default

* runs with root privileges

* on top of libudev and other POSIX kernel interfaces

它可以設定以下網絡

  • Ethernet
  • wireless
  • mobile broadband(such as cellular 3G),
  • DSL
  • PPPoE
  • network aliases
  • static routes
  • DNS
        # Generated by NetworkManager
        nameserver x.x.x.x
  • VPN connections

 


Service NetworkManager status

 

GUI:

GNOME panel

nm-applet &

 


停用 NetworkManager Service

 

systemctl is-enabled NetworkManager

enabled

systemctl is-enabled network

enabled

 

步驟

  1. systemctl stop NetworkManager.service
  2. systemctl disable NetworkManager.service
  3. systemctl restart network.service
  4. systemctl enable network.service

P.S.

# RHEL 6, 7

yum update initscripts NetworkManager

 


在某 NIC 停用 NetworkManager

 

 

/etc/sysconfig/network-scripts/ifcfg-XXXXX

NM_CONTROLLED=no

 


 

Creative Commons license icon Creative Commons license icon