+++ Logu <Friday 26 April 2002 01:09 am>:
> I have a machine with RH 7.2 with linux 2.4.17 kernel. I tried it to
> allocate the ipaddr using dhcpcd client . When I did this, it got an ip
> address dynamically allocated by the dhcp server. Now i stopped the dhcpcd
> client and restarted the network using the init script provided by
> default.But it is not assigning the old address which i have given in the
> /etc/sysconfig/network-scripts/ifcfg-eth0. I removed the dhcp cache files
> in /etc/dhcpc and tried again but with the same effect.

Do a ps -axuww and check.  Did you do a kill -9 of the dhcpd / dhclient?

> Then I tried searching the files which might have had these dynamically
> allocated ipaddr, but i could not find any. At the last resort i tried to
> flush the ip with ip command (# ip addr flush dev eth0) and restart the
> network. Now it took the statically given ip from the file.

# ifdown eth0
# ifup eth0

did not work?

> BTW how to start dhcpcd client during boot time (other than rc.local). Is
> there any proper way to do this.

rc.local is a pretty good way to start things ... being put there for that 
purpose. :)

        -srs
-- 
Suresh Ramasubramanian  <---->  mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
[Linux One Stanza Tip]  From : <[EMAIL PROTECTED]>
LOST #066        -**< Sub : Checking processes running >**-
To check which all processes are running concurrently  on your
system, do: '$ps -aef | less'


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to