Re: How to autoconfigure network?

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



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*). 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.

Is there anything that what I forgot?

2009/9/30 Les Mikesell <lesmikesell@xxxxxxxxx>:
> happymaster23 wrote:
>> No this is not solution. I have tried to run firstboot but without
>> result. There should be some script, that is making these files
>> (including writing MAC address and full device name). Other thing is
>> modprobe.conf - there is name of driver connected to device name
>> (eth0, eth1, e.g.), but there is not solution how to change all that
>> things when you are swapping ethernet card...
>
> Basically you need to put the ethernet MAC address of the new card in
> the HWADDR= line of the appropriate ifcfg-eth? file.  Assuming you are
> talking about Centos 5.x, the devices are renamed to match these files
> based on the hwaddr entries even if they were detected in a different
> order.  But some conditions that I don't understand may trigger all of
> these files to be renamed with a .bak extension at bootup and new
> default dhcp configs created instead.  This is never fun when your only
> access to the machine is through the network.
>
> --
>   Les Mikesell
>    lesmikesell@xxxxxxxxx
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
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