[CentOS] Forcing CentOS to load Ethernet Card

Tue Jan 24 18:35:32 UTC 2006
Les Mikesell <lesmikesell at gmail.com>

On Tue, 2006-01-24 at 12:29, Mark Sargent wrote:

> I changed ethernet card, and chose to retain the config for the previous
> one, and now when booting, get a mac address is different igonoring, msg
> or something to that effect, and upon booted, doing a ifconfig shows
> nothing for the new card. What cmd do I issue, to make the OS see the
> new card? Cheers.

Remove the HWADDR= line from
/etc/sysconfig/network-scripts/ifcfg-eth0
(and /etc/sysconfig/networking/profiles/default/ifcfg-eth0 if
it exists).
Then 'ifup eth0' or reboot.

-- 
  Les Mikesell
   lesmikesell at gmail.com