Link to home
Start Free TrialLog in
Avatar of centem
centemFlag for United States of America

asked on

no network interfaces in centos

When I do a ifconfig in centos 6.5 I only see the loopback lo interface. How can get eth0 interface back online. The centos system is a vm and was powered off for a while.
Avatar of Giladn
Giladn
Flag of Israel image

try:

ifconfig eth0 up
#dmesg | grep -i eth

this will show you available Ethernet interfaces.. then use

#ifup eth0

in case doesn't comes up then you need to create config file with basic parameter

/etc/sysconfig/network-scripts/ifcfg-eth0
device=eth0
onboot=yes
..
..
..

:wq

TY/SA
Avatar of centem

ASKER

Thanks Sandy.
I ran the dmesg and it showed the interfaces. I tried ifup etho but a "configuration for eth0 not found" message. I then created the ifcfg-eth0 file and then when I tried ifup eth0 it states "Device does not seem to be present, delaying initialization." What should I try next?
ASKER CERTIFIED SOLUTION
Avatar of Sandy
Sandy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.. ;)