PDA

View Full Version : FC5 NIC Problem MAC related


cquisenb
6th September 2006, 02:34 PM
Hi,

I have installed FC5. Recently I changed the NIC. The workstation works find using dhcp. However, if I set a static IP address via the /etc/sysconfig/network-scripts/ifcfg-eth0, I have problems. It is slow on rebooting, & tends to lock up on cups. I boot it back up into single user mode. Then I go back to dhcp, & all is well. I finally noticed that if I change the network settings via the GUI, it gives me the following error when I try to save it:


Cannot deactivate network device eth0!

Device eth0 has MAC address 00:40:F4:ED:99:EC,
instead of configured address 00:B0:D0:B3:91:1C
Ignoring

So, then i found that the /etc/sysconfig/network-scripts/ifcfg-eth0 had the wrong MAC.
I changed it & tried again. I get the same error. I've tried modifing the file, & issuing /sbin/service network reload. I keep having problems. Is the MAC stored in some other file?

Perhaps I need to remove the card reboot, &re-install the card, reboot, & reconfigure the /etc/sysconfig/network-scripts/ifcfg-eth0. Any ideas....?

Thanks,
Curtis

jhetrick62
6th September 2006, 03:15 PM
I've seen that problem before, but it never caused a slowdown. I would check your /etc/hosts and /etc/reslov.conf files first. It sounds like when you assigned the static ip, your host or nameserving got borked.

Post the output of:

ifconfig
/etc/hosts
/etc/resolv.conf

Jeff

cquisenb
6th September 2006, 09:46 PM

Hi,

I resolved my problem. I booted up in single user mode. Checked the NIC hardware address via the dmseg output. Next, I changed the /etc/sysconfig/network-scripts/ifcfg-eth0 to reflect the hardware address that dmseg provided for the NIC.
And, now everything works. I assume that I was getting misleading info about the hwaddr earlier. I assume that ifconfig eth0 reflects the hwaddr contained within the /etc/sysconfig/network-scripts/ifcfg-eth0 file.

Curtis