In /etc/sysconfig/network-scripts you'll find ifcfg-eth0. There's an entry
there called "IPADDR". It's probably not set. If this value is null, dhcp
attempts to get you a lease. If the ip address is here, it will assign an ip
address at bootup and disable dhcp from assigning one. The script will look
something like the following:
Replace the above IPADDR="" with IPADDR=xxx.xxx.xxx.xxx where the x's are your
IP address. Then, change directory to /etc/rc.d/init.d and type ./network stop
then ./network start
Hope this helps.
> When I set up redhat 5.2 at home I had a NT 4 dhcp server. No I dont have
> dhcp, but every time linux boots it searches for a dhcp server. When it is
> done I end up assigning it an ip using ifconfig.
> How can I disable the dhcp search on boot and establish a permanent IP.
> btw: I am using kernel 2.2