LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-14-2012, 03:55 PM   #1
AtlasDragon
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Rep: Reputation: Disabled
Eth0 seems to not exist.


I am a support technician for Atlas Networks.
I have a very strange CentOS issue.

I originally installed CentOS on a SuperMicro board, with the intent to move the drive to a different newer board.
After the move, the Intel network interface on the new board appears to not be seem by CentOS. lsmod shows the e1000e module loaded, and it makes no difference.

I have taken the new system and installed Centos, and verified that it will use the NIC natively, so this is not a 'missing module' issue.

The original board is a Super Micro X8STI-F
The newboard is an Intel DX79T0

The system this CentOS installation is running on is a Production server, so I am not open to just 'Try' things with out a definitive solution, or at least something that sounds very promising.
 
Old 12-15-2012, 11:21 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
What happens to the card during boot?

correctly it is supposed to become active.

post output of lspci -v
 
Old 12-15-2012, 12:18 PM   #3
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248
Blog Entries: 3

Rep: Reputation: 17
check the status or whether the nic is present or not
mii-tool -v

lspci -v "check the nic type, if "e1000e" something is showing then go to the Intel site & download the driver for the linux & install the gcc for compiler gcc compiler is required to install the driver

#yum install gcc*

then untar the pkg of the drive

tar zxf e1000e-<x.x.x>.tar.gz

Change to the driver src directory, where <x.x.x> is the version number for the driver tar:

cd e1000e-<x.x.x>/src/

Compile the driver module:

# make install


more see the link

http://www.intel.com/support/network/sb/cs-032514.htm
 
Old 12-15-2012, 10:57 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Try typing "ifconfig -a" to see if the card has been given another name such as eth1 or eth2. I've noticed RHEL-based distros tend to hard-code the hardware address of the network adapters into their config files (for eth0 this config file is /etc/sysconfig/network-scripts/ifcfg-eth0). This is done so that interfaces do not change names when cards are added or removed. However, it means that if you move a drive to a new server, the network interface will not be called eth0 (since the system thinks eth0 should have a different hardware address). You'll need to edit the HWADDR line in the config file to change this or simply use the new interface name.
 
Old 12-16-2012, 03:36 PM   #5
AtlasDragon
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by btmiller View Post
Try typing "ifconfig -a" to see if the card has been given another name such as eth1 or eth2. I've noticed RHEL-based distros tend to hard-code the hardware address of the network adapters into their config files (for eth0 this config file is /etc/sysconfig/network-scripts/ifcfg-eth0). This is done so that interfaces do not change names when cards are added or removed. However, it means that if you move a drive to a new server, the network interface will not be called eth0 (since the system thinks eth0 should have a different hardware address). You'll need to edit the HWADDR line in the config file to change this or simply use the new interface name.
This did it. It runs out it was assigned eth2. I am used to debian, so CentOS and RHEL is new for me.
Thanks for your help.
 
Old 12-19-2012, 02:38 AM   #6
solarisguy
Member
 
Registered: Aug 2010
Location: Seattle
Distribution: CentOS, RHEL, Oracle Enterprise Linux, Solaris, BSD
Posts: 64

Rep: Reputation: 21
Change ethX interface name

Quote:
Originally Posted by AtlasDragon View Post
This did it. It runs out it was assigned eth2. I am used to debian, so CentOS and RHEL is new for me.
Thanks for your help.
If you look in /etc/udev/rules.d/70-persistent-net.rules (or maybe 60-net.rules) you should see your physical device and its alias to eth2. You may see other ethernet devices here as well. If you reorder the device names in the udev rules (as well as update the corresponding HWADDR lines in /etc/sysconfig/network-scripts/ifcfg-ethX), then reboot, it will map the devices in the desired manner.

It can be a bit annoying that devices that have been removed still occupy their ethX interface alias. If there are old devices (no longer on the system), you can delete the lines referring to these lines entirely.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] eth0 does not exist on install bret381 Gentoo 1 12-15-2009 10:31 AM
eth0/eth1 does not exist shinystuffrox Linux - Hardware 6 07-29-2009 05:36 AM
eth0 does not exist jeffery1974 Linux - Software 1 04-18-2007 10:21 AM
eth0 does not exist question Dahshouin Linux - Newbie 1 09-12-2005 12:48 AM
Eth0 does'nt exist???? matthewa Linux From Scratch 1 06-08-2005 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:32 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