Re: Which ethernet configuration files to edit
From: P Gentry (rdgentry1_at_cablelynx.com)
Date: 05/03/04
- Next message: /dev/rob0: "Re: How to set the IP and which configuration files?"
- Previous message: Leach: "Re: SuSE Linux netinstall from Solaris Server - How"
- In reply to: Jonathan Taub: "Which ethernet configuration files to edit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 3 May 2004 11:38:43 -0700
yonatan@il.nlayers.com (Jonathan Taub) wrote in message news:<24300f00.0405030515.2223dc66@posting.google.com>...
> I've got a couple of Redhat linux OSs installed on a couple of
> computers.
> A web application of ours is supposed to configure the NICs on the
> computer.
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
> "/etc/sysconfig/network-scripts".
>
> 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
picture.
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_
environment.
Find which scripts are used in setting up _your_ net configuration and
see what files they read/write.
hth,
prg
email above disabled
- Next message: /dev/rob0: "Re: How to set the IP and which configuration files?"
- Previous message: Leach: "Re: SuSE Linux netinstall from Solaris Server - How"
- In reply to: Jonathan Taub: "Which ethernet configuration files to edit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|