Re: How to autoconfigure network?

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



happymaster23 wrote:
> Thank you,
>
> I am trying to make list of needed changes. So - first line of
> ifcfg-eth* is commented full name of adapter (no sense). Only one
> think that should be changed is HWADDR. This file is in three
> directories (/etc/sysconfig/network-script/ifcfg-eth*,
> /etc/sysconfig/networking/devices/ifcfg-eth* and
> /etc/sysconfig/networking/profiles/default/ifcfg-eth*).

actually, those appear to be links to the same files...

# ls -il /etc/sysconfig/network-scripts/ifcfg-eth0
2524900 -rw-r--r--  3 root root   162 Nov 29  2007 ifcfg-eth0
# ls -il /etc/sysconfig/networking/profiles/default/ifcfg-eth0
2524900 -rw-r--r--  3 root root 162 Nov 29  2007 
/etc/sysconfig/networking/profiles/default/ifcfg-eth0
# ls -il /etc/sysconfig/networking/devices/ifcfg-eth0
2524900 -rw-r--r--  3 root root 162 Nov 29  2007 
/etc/sysconfig/networking/devices/ifcfg-eth0


note the inode# is the same on all three.



>  Other thing,
> that should be changed is /etc/modprobe.conf - there should be changed
> name of driver connected to name of interface. So if I am swapping to
> Intel´s 1000 family, there should be e1000e.
>   

sysconfig (8) forces the system to run /etc/rc.d/rc.sysinit upon 
reboot.  you might take a look at what that script is doing (a fair bit, 
actually).

_______________________________________________
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