Is there a way for centos to find new nic card information?

Comments, suggestions, compliments, etc
Post Reply
User avatar
dwhs
Posts: 40
Joined: 2005/09/25 02:38:07
Location: Web Host Pro
Contact:

Is there a way for centos to find new nic card information?

Post by dwhs » 2014/06/30 21:08:51

When I move a hard drive from one server to another the nic card never works.

I found a work around where I delete the nic card file, reboot to get a new file, grab the mac address and paste that into the dns settings.

But I just want to request this as a feature or something maybe to add.

This is always a tricky time when I'm in a hurry and learning to do it caused hours of downtime the first time.

Love CentOS, just a thought.

Thanks,

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Is there a way for centos to find new nic card informati

Post by gerald_clark » 2014/06/30 21:12:06

CentOS doe not add features.
Please read https://www.centos.org/

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Is there a way for centos to find new nic card informati

Post by TrevorH » 2014/06/30 21:47:41

You need to edit the /etc/udev/rules.d file with a name like persistent-net.rules and remove the old MAC address.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply