Symptoms:
/Etc/sysconfig/network-scripts/contains only the ifcfg-lo file, without a ifcfg-eth0.
The ifcfg-lo information is displayed when the command ifconfig is executed on the terminal. The eth0 information is displayed only when the command ifconfigeth0 is executed. Use the command ifconfigeth0192.168.2.XX to set the ip address. However, after each restart, you must manually execute the if... command to set the IP address. After checking the Internet, many people say that the NIC driver is not installed. This is not the case.
========================================================== ====================================
Solution:
1. Create a New ifcfg-eth0 file in/etc/sysconfig/network-scripts/, and correctly configure the information, ip, network, hwaddr, etc. The DEVICE value is eth0.
2. ONBOOT = yes in ifcfg-eth0
In general, this setting can be activated by yourself.
However, if you find that your settings have not successfully activated the NIC, modify the following files:
Vi/etc/rc. d/rc. loacl
Last join
Ifupeth0.
After restarting the computer, run the ifconfig command to display the eth0 and lo information. Other computers can also be pinged.