--- Chmouel Boudjnah <[EMAIL PROTECTED]> wrote:
> SI Reasoning <[EMAIL PROTECTED]> writes:
>
> > Just in case I put in something wrong I tried the
> new
> > ifup today but still no go. The script looks good
> as
> > far as I can tell but it still does not work
> properly.
> > Here is what I get:
> >
> > [root@sidell sbin]# service pcmcia restart
> > Shutting down PCMCIA services: cardmgr modules.
> > Starting PCMCIA services: cardmgr.
> > [root@sidell sbin]# ifup eth0
> > dhpcd is running ifdown it before
> > [root@sidell sbin]# d /etc/dhcpc
> > dhcpcd-eth0.cache dhcpcd-eth0.info.old
> dhcpcd.exe*
> > dhcpcd-eth0.info dhcpcd-eth0.pid
> >
> > As you can see, despite the fact the script looks
> like
> > it should remove the pid, it still does not.
>
> That mean that you have dhcpcd running but he didn't
> get the
> information, i believe that ps aux|grep dhcpcd tell
> you that is
> running ? The only thing we need to find is why the
> first ifup eth0
> failed.
>
Obviously it is not getting killed, you can tell how
many "service pcmcia restart" I have done today :-}
[root@sidell hotplug]# ps aux|grep dhcpcd
root 9667 0.0 0.1 1420 516 ? S
03:54 0:00 /
sbin/dhcpcd -Y -
root 13957 0.0 0.0 1408 464 ? S
12:27 0:00 /
sbin/dhcpcd -Y -
root 14353 0.0 0.0 1408 464 ? S
12:36 0:00 /
sbin/dhcpcd -Y -
root 14868 0.0 0.0 1408 464 ? S
12:59 0:00 /
sbin/dhcpcd -Y -
root 15232 0.0 0.0 1408 464 ? S
13:40 0:00 /
sbin/dhcpcd -Y -
root 15545 0.0 0.0 1408 464 ? S
13:42 0:00 /
sbin/dhcpcd -Y -
root 16804 0.0 0.0 1408 464 ? S
13:53 0:00 /
sbin/dhcpcd -Y -
root 18326 0.0 0.0 1408 464 ? S
14:05 0:00 /
sbin/dhcpcd -Y -
root 20188 0.0 0.1 1752 592 pts/3 S
15:16 0:00 g
rep dhcpcd
> Can you try a sleep 10 in /etc/hotplug/net.agent
> before the ifup just
> for testing if it's a timeout problem...
>
# RedHat and similar
if [ -x /sbin/ifup ]; then
debug_mesg invoke ifup $INTERFACE
sleep 10
/sbin/ifup $INTERFACE
else
mesg "how do I bring interfaces up on this distro?"
fi
I saw no difference.
Should I continue to have the "exit" removed or should
I put it back in for testing the original ifup you
have. I know that once the "exit" was removed it
successfully removed /etc/dhcpc/dhcpcd-eth0.pid
> --
> 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