Ifcfg-eth0 not found
I installed RHEL6 and want to configured the network graphically. after that I found my ethernet connection which was dhcp mood. then i delete this and configure this manually.bt i didnt find anything /etc/sysconfig/network-scripts/ifcfg-eth0...bt i ping all connections and it works without any error...so whr is ifcfg-eth0???
|
It's my understanding that RHEL 6 uses a completely different naming convention than previous versions of RedHat. I did some quick Googling and found a few references to this from Dell, but nothing really conclusive to pin down the actual convention they have adopted, but here are the links if you want to look into it. The first link says this about reverting to the older names.
Quote:
Another Dell Reference There was also something on LQ about it here, but again, I didn't spend but a few moments looking into it. I'm sure if you're interested, you can get more detailed and accurate information. |
I found all of command like that /etc/sysconfig/network and etc/resolve.conf & it works properly and also ifconfig shows the ip info. so whr is ifcfg-eth0?plz help
|
centos ifcfg-eth0
[mod_edit]Please try English - the forum rules clearly state that this is an English-only forum[/edit]
|
ifconfig should give you the name of your ethernet. With fedora 19, p3p1 is the new name on my computer.
|
Quote:
Example: previous was ifcfg-eth0 (then deleted) after you configure a new network it will be: ifcfg-eth1 or ifcfg-eth2 whatever is the next number prior to the previous configuration. if you want to really, really, really want ifcfg-eth0. then you need to do some manual editing. go to /etc/sysconfig/network-scripts/ifcfg-<interface-name> —> edit this one to ifcfg-eth0 System does keep track of the network configuration, that's why it's incremental. |
Quote:
but still just to share what i tried on my own when i deleted the ifcfg-eth0 intentianally and made it again: it doesnt make's any difference, if you cant find it make it :) ... if you want ifcfg-eth0 to be there make a new file with name at the concerned location. get your mac address copied. insert these lines: Code:
DEVICE="eth0" |
RHEL6/CentOS uses both NetworkManager/network services. This, some times create problems. So its better off to disable NetworkManager and just keep network service only.
Code:
# service NetworkManager stop Code:
# system-config-network |
:doh: D'oh! its 2011 post...
|
Quote:
|
lolzzzz me too and Yes learned to check the date first!!!!
|
All times are GMT -5. The time now is 01:57 PM. |