弹出界面eth0/eth1错误 激活连接失败 master connection not found or invalid 解决办法

时间:2022-02-12 03:38:54

原文:http://www.21yunwei.com/archives/3760

原因是NetworkManager 开启导致。关闭NetworkManager服务,否则会报错master connection not found or invalid。主要是因为NetworkManager接管了网卡启动,将NetworkManager停掉,并启动 network 服务来接管网卡服务,请查看如下四条命令:

 
  1. service NetworkManager stop
  2. chkconfig NetworkManager off
  3. chkconfig network on
  4. service network start

重启网卡解决。

 
  1. [root@localhost network-scripts]# ifconfig
  2. br0 Link encap:Ethernet HWaddr 00:0C:29:8C:12:98
  3. inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
  4. inet6 addr: fe80::20c:29ff:fe8c:1298/64 Scope:Link
  5. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  6. RX packets:988 errors:0 dropped:0 overruns:0 frame:0
  7. TX packets:288 errors:0 dropped:0 overruns:0 carrier:0
  8. collisions:0 txqueuelen:0
  9. RX bytes:61205 (59.7 KiB) TX bytes:62394 (60.9 KiB)
  10.  
  11. eth0 Link encap:Ethernet HWaddr 00:0C:29:8C:12:98
  12. inet6 addr: fe80::20c:29ff:fe8c:1298/64 Scope:Link
  13. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  14. RX packets:98837 errors:0 dropped:0 overruns:0 frame:0
  15. TX packets:24067 errors:0 dropped:0 overruns:0 carrier:0
  16. collisions:0 txqueuelen:1000
  17. RX bytes:95769292 (91.3 MiB) TX bytes:1979914 (1.8 MiB)
  18.  
  19. lo Link encap:Local Loopback
  20. inet addr:127.0.0.1 Mask:255.0.0.0
  21. inet6 addr: ::1/128 Scope:Host
  22. UP LOOPBACK RUNNING MTU:16436 Metric:1
  23. RX packets:24 errors:0 dropped:0 overruns:0 frame:0
  24. TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
  25. collisions:0 txqueuelen:0
  26. RX bytes:1592 (1.5 KiB) TX bytes:1592 (1.5 KiB)
  27.  
  28. virbr0 Link encap:Ethernet HWaddr 52:54:00:EF:7F:78
  29. inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
  30. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  31. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  32. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  33. collisions:0 txqueuelen:0
  34. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  35.