LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Device eth0 is not shown (https://www.linuxquestions.org/questions/linux-newbie-8/device-eth0-is-not-shown-4175503439/)

oel 04-30-2014 06:56 AM

Device eth0 is not shown
 
Hello,

I´ve just installed red hat on an Hyper-V. When I type #ifconfig I cant see the eht0 input.

I used system-config-network utility for network configuration.

If I execute

#ifup eth0

to start network interface 0 I get the error "Device eth0 does not seem to be present, delaying initializacion."

I deleted in /etc/udev/rules.d both files 70-persistent-net.rules and 70-persistent-cd.rules. I comment too the parameters UUID and HWADDR in the file /etc/sysconfig/network-scripts/ifcfg-eth0

After that I did a reboot....


Any idea? Thank you

Ser Olmy 04-30-2014 07:10 AM

Does ifconfig -a show any network devices at all?

The default settings for a Hyper-V VM is to provide a paravitrtualized NIC. The Linux guest OS will have to use the Hyper-V drivers to enable this NIC. If you don't have these drivers in your distribution, you'll either have to install the necessary kernel modules or add a "legacy NIC" to the VM.

oel 04-30-2014 09:38 AM

Thank you, as you said... I installed Linux Integration Services (LIS) 3.4 and after that I can restart the network services and the command ifconfig shows my eth0 device.


All times are GMT -5. The time now is 04:22 PM.