An error occurred while activating the RHEL6 basic 11's Nic.

Source: Internet
Author: User

The NIC configuration information is as follows:

[Root @ justin desktop] # vim/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = "eth0" BOOTPROTO = "static" NM_CONTROLLED = "yes" IPADDR = 10.15.72.194NETMASK = 255.255.255.0GATEWAY = networking = yesTYPE = "Ethernet" UUID = "aa67128b-2d66-4fd8-a346-4e69622bff67" HWADDR = 00: 0C: 29: 81: 38: 08 DEFROUTE = yesPEERDNS = yesPEERROUTES = yesIPV4_FAILURE_FATAL = yesIPV6INIT = noNAME = "System eth0" LAST_CONNECT = 1379901121

The following error is prompted when you restart the NIC:

[Root @ justin desktop] # service network restart is shutting down the interface eth0: Error: Disconnecting the device 'eth0'/org/freedesktop/NetworkManager/Devices/0) failed: this device is not active [failed] is shutting down the interface wlan0: Error: Disconnecting the device 'wlan0'/org/freedesktop/NetworkManager/Devices/1) failed: this device is not active [failed] disable the loopback interface: [OK] The loopback interface pops up: [OK] the pop-up interface eth0: Error: Unknown connection: aa67128b-2d66-4fd8-a346-4e69622bff67 [failed] [root @ justin desktop] #

The error message "the NIC is not activated. Use ifconfig eth0 to check whether the IP address has taken effect ."

[Root @ justin desktop] # ifconfig eth0eth0 Link encap: Ethernet HWaddr 00: 0C: 29: 81: 38: 08 inet6 addr: fe80: 20c: 29ff: fe81: 3808/64 Scope: link up broadcast running multicast mtu: 1500 Metric: 1 RX packets: 9126 errors: 1 dropped: 0 overruns: 0 frame: 0 TX packets: 810 errors: 0 dropped: 0 overruns: 0 carrier: 0 collisions: 0 txqueuelen: 1000 RX bytes: 999666 (976.2 KiB) TX bytes: 115751 (113.0 KiB) Interrupt: 19 Base address: 0x2000 [root @ justin desktop] #

The fault occurs because two services on the startup network Conflict:/etc/init. d/network and/etc/init. d/NetworkManager. Just restart or close NetworkManager.

[Root @ justin desktop] # service NetworkManager restart stop NetworkManager daemon: [OK] SET network parameters... [OK] Starting the NetworkManager daemon: [OK] [root @ justin desktop] #/etc/init. d/network restart: closing the interface eth0: device status: 3 (disconnect) [OK] Closing the interface wlan0: device status: 3 (disconnect) [OK] Closing the loopback interface: [OK] pop-up loopback interface: [OK] pop-up interface eth0: Error: Unknown connection: aa67128b-2d66-4fd8-a346-4e69622bff67 [failed] [root @ justin desktop] # ifconfig eth0eth0 Link encap: Ethernet HWaddr 00: 0C: 29: 81: 38: 08 inet addr: 10.15.72.194 Bcast: 10.15.72.255 Mask: 255.255.255.0 inet6 addr: fe80: 20c: 29ff: fe81: 3808/64 Scope: link up broadcast running multicast mtu: 1500 Metric: 1 RX packets: 11620 errors: 2 dropped: 0 overruns: 0 frame: 0 TX packets: 964 errors: 0 dropped: 0 overruns: 0 carrier: 0 collisions: 0 txqueuelen: 1000 RX bytes: 1271085 (1.2 MiB) TX bytes: 138181 (134.9 KiB) Interrupt: 19 Base address: 0x2000 [root @ justin desktop] #

Pop-up interface eth0: Error: Unknown connection: aa67128b-2d66-4fd8-a346-4e69622bff67 [failed] This problem just comment out UUID = "ifcfg-eth0" in the/etc/sysconfig/network-scripts/aa67128b-2d66-4fd8-a346-4e69622bff67 configuration file, you can also delete it.

The error RTNETLINK answers: File exists may occur when the network adapter is restarted. This is also caused by a conflict between the NetworkManager service and the Network Adapter Service. You can restart or close the network adapter, when using a wireless network, it is inconvenient to disable the NetworkManager service. You only need to restart the NetworkManager service. If the NetworkManager service is disabled, RTNETLINK answers: File exists will never appear.

[root@justin ~]# chkconfig --level 345 NetworkManager off


This article is from the justin blog, please be sure to keep this source http://justinpeng.blog.51cto.com/7662323/1302799

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.