LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2014, 06:56 AM   #1
oel
LQ Newbie
 
Registered: Apr 2014
Posts: 24

Rep: Reputation: Disabled
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
 
Old 04-30-2014, 07:10 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 04-30-2014, 09:38 AM   #3
oel
LQ Newbie
 
Registered: Apr 2014
Posts: 24

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot activate network device eth0 e1000 device saraja Linux - Newbie 1 09-12-2011 03:56 AM
Debian - eth0 error: no such device on ifup eth0 svancouw Linux - Hardware 4 09-07-2011 04:32 PM
beginning interface eth0 : device eth0 has different MAC address to expected.FAILED petrofrontier Linux - Software 2 02-28-2011 11:09 AM
eth0: Device eth0 has different MAC address than expected,ignoring. lin1010 Linux - Networking 5 11-24-2010 07:30 AM
internal hard drive not shown as correct device, is; sdb, shows; sdf james2b Fedora - Installation 2 08-25-2009 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration