Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
The new naming scheme can be disabled by passing ‘biosdevname=0’ kernel command line parameter during install time and retaining it through runtime.
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
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
if you have deleted a previous connection which was assigned as ifcfg-eth0, and you install a new network connection system will increment it to the next digit.
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.
Last edited by JJJCR; 10-10-2013 at 10:53 PM.
Reason: edit
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???
I am unsure of certain things mentioned in above replies... however i found a hit with what @JJJCR mentioned...
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"
HWADDR="mac_address-of-the-device"
NM_CONTROLLED="no" # if you want NetworkManager to control them then "yes"
ONBOOT="yes"
BOOTPROTO="dhcp"
restart.
*** here i pre-assumed you can at-least see something in system-config-network.
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
# chkconfig NetworkManager off
# service network start
# chkconfig network on
hmmmm... never noticed it, saw someone reply.. i just added..hahaha... hope someone can learn through this.. or if the original poster might bump with LQ again and an update this post..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.