Re: CentOS 5.5: what do /etc/sysconfig/networking and /etc/sysconfig/network-scripts exactly ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



giggzounet wrote:
> Le 24/11/2010 09:22, John R Pierce a Ãcrit :
> this script just uses /etc/sysconfig/network-scripts. All my interfaces
> work fine. My problem sit to understand the intereaction between
> /etc/sysconfig/networking and /etc/sysconfig/network-scripts. When I
> boot the network script read and set up my interface with the
> /etc/sysconfig/network-scripts files. So why are there
> /etc/sysconfig/networking ? how these /etc/sysconfig/networking files
> are used ?

AFAIK /etc/sysconfig/networking/* is only used by system-config-network, 
you can define "profiles" and then switch from one to the other, and 
system-config-network copies (or hardlinks?) the relevant parts to 
/etc/sysconfig/network-scripts.
Note that lots of stuff in /etc/sysconfig/networking are hardlinks to 
files in /etc/sysconfig/network-scripts or /etc (eg hosts and 
resolv.conf on my system here), they're not actually different files.

Just avoid system-config-network and configure stuff yourself in 
/etc/sysconfig/network-scripts and /etc/sysconfig/network, and you'll be 
fine.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux