This is a problem of a RHEL server in a virtual machine (Hypervisor)
It was working perfectly ok before I did something stupid.
My intentions were not bad
I wanted to remove unwanted services, rpms, etc.
So I stopped services and removed them. I removed many rpms as well.
But I overdid it. Obviously.
First sign was that my kde would not start after restarting the server, even though I had not deleted, afaik, X11-related rpms. It said kdeinit or something like that failed to start. Through Linux rescue, I was able to access inittab and start linux with level 3.
But now it says "device eth0 has different mac address". The ifcfg-eth0 file has the same HWADDR as that shown in MAC Address of network adapter property of the admin console of the VM.
What I have tried so far:
(1) delete ifcfg-eth0 file or comment out the line that says HWADDR=xxx
(2) checked hwconf, but no entry for HWDAAR
(3) deleted hwconf, re-created with /sbin/kudzu, but still no HWADDR entry
(4) I don't have /etc/udev/rules.d/70-persistent-net.rules file.
The closest I have is 60-network-rules. No sign of HWADDR there as well.
Where else does the OS check for MAC address consistency?
I can reinstall OS but I have installed other stuff, upto a week's work, so if possible, I just want to fix this (and later X11) networking issue.
How do I build the network functions ground up? In Windows, there is an option like "repair the OS", so just like that, isn't there an option in Linux?
Gurus, please give me some direction!
PS: I do not access to the Hypervisor side files. Also, I haven't tried manual HWADDR. How do I create a valid manual HWADDR?