Re: Which ethernet configuration files to edit
From: P Gentry (rdgentry1_at_cablelynx.com)
Date: 3 May 2004 11:38:43 -0700
firstname.lastname@example.org (Jonathan Taub) wrote in message news:<email@example.com>...
> I've got a couple of Redhat linux OSs installed on a couple of
> A web application of ours is supposed to configure the NICs on the
Is this why the multiple location question is relevant? Do you have a
need for homegrown vs. WebMin?
> On one computer, the "ifcfg-eth0" and other NICs files are located in
> "/etc/sysconfig/networking/devices" directory and
> "/etc/sysconfig/network-scripts" directory.
> On another computer, the files are located *only* in
> There are also files (sometimes) in the
> "/etc/sysconfig/networking/profiles/default" directory.
> My question is why should the files be located in two directories?
> Which files does the OS actually *should* read and refer to.
AFAIK, the RH Reference Guide and perhaps the Customization Guide (?)
lists the files used for networking. Whether the dir
contents/placements vary substantially with RH version, I'm not sure.
I believe the /network-scripts dir is for the various scripts run via
ifup and ifdown.
The files in some of the other dirs are duplicates produced by
dhclient or gui tools. Haven't looked closely enough at ifup for the
purpose of discerning the purpose of the layout -- that's where you'ld
start. Then check other scripts to get the other details and overall
Also, keep in mind the possible use of net config "profiles" for
easier config switching.
Which files are read will depend on which script runs to bring up the
networking. Remember, that these files and scripts must be setup by
RH to install on a number of different networking environments, so
almost certain that a number of them are not needed for _your_
Find which scripts are used in setting up _your_ net configuration and
see what files they read/write.
email above disabled