Well I tried the patch below but it did not resolve the problem I have had. The script I had originally mentioned was at the beginning of the ifup script and it basically made ifup act like a restart, by first killing the existing copy. In your version, I still just get the error message below when I have situations like I have now with a pcmcia restart that fails. In this case the actual pid is killed but /etc/dhcpc/dhcpcd-eth0.pid is not cleared.
Determining IP information for eth0...**** /sbin/dhcpcd: already running **** /sbin/dhcpcd: if not then delete /etc/dhcpc/dhcpcd-eth0.pid file failed. Unless the newbie can see this on the command line, he is just left with the fact that the network is broken until he reboots. --- Chmouel Boudjnah <[EMAIL PROTECTED]> wrote: > > Humm i'll apply that patch : > > --- ifup.~1.28.~ Tue Jan 29 11:01:42 2002 > +++ ifup Wed Feb 13 19:38:49 2002 > @@ -226,6 +226,14 @@ > [ "X${DOMAINNAME}" = "X" ] && > DHCP_ARGS="$DHCP_ARGS -D" > [ -n "$DHCP_TIMEOUT" ] && DHCP_ARGS="$DHCP_ARGS > -t ${DHCP_TIMEOUT}" > DHCP_ARGS="$DHCP_ARGS $DEVICE" > + PIDF=/etc/dhcpc/dhcpcd-$DEVICE.pid > + if [[ -f $PIDF ]];then > + if kill -0 `cat $PIDF`;then > + true; #running > + else > + /bin/rm -f $PIDF; #clear it > + fi > + fi > ;; > pump) > [ -n "$DHCP_HOSTNAME" ] && DHCP_ARGS="-h > $DHCP_HOSTNAME" > > I think with latest pcmcia i fixed all the knows > problems.. > > -- > http://www.chmouel.org/ > ===== SI Reasoning [EMAIL PROTECTED] "To announce that there must be no criticism of the president or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." Theodore Roosevelt __________________________________________________ Do You Yahoo!? Got something to say? Say it better with Yahoo! Video Mail http://mail.yahoo.com