Hello Dolbz.
Welcome to LQ.org
Try not to double post - acid's undergoing a very demanding BOFH training course and it irritates other people easily
I have a similar problem, but I'm actually doing this with an lfs system. Sounds mercenary, but that's why I'm doing it. First off, you show me your and I'll show you mine:
Code:
more /etc/sysconfig/network
HOSTNAME=localhost
NETWORKING=yes
HOSTNAME=localhost.localdomain
GATEWAY_IF=eth0
more /etc/sysconfig/network-devices/ifconfig.eth0
DEVICE=eth0
BOOTPROTO=dhcp
onboot=yes
NETMASK=255.255.255.0
DHCP_PROG=/sbin/dhclient
The interface appears to boot up properly but the dhcp interface doesn't retrieve an IP address.
If I include that last line invoking the dhcp program (which my redhat distro doesn't appear to require) I get is a strange message about /var/state/dhcp/dhcp.leases not being writable when the ifdown script is exectuted to bring the interface down.
In the redhat distribution I believe they put their ifconfig script somewhere funky - have a look in the sysconfig directory and post them.
Bert