Chris Staub wrote: > When I try to stop dhcpcd with the BLFS bootscript, the network > interface goes down but dhcpcd is still running. When I try to start the > network again, it says that dhcpcd is already running, and the network > is still down. When I manually stop dhcpcd, it does quit, and restarting > the network works, so this looks like a problem in the dhcpcd > bootscript. I never had this problem before though, always using the > bootscript from BLFS... > > [EMAIL PROTECTED]:/home/chris# ping www.linuxfromscratch.org > PING belgarath.linuxfromscratch.org (216.171.238.83): 56 data bytes > 64 bytes from 216.171.238.83: icmp_seq=0 ttl=43 time=79.470 ms > 64 bytes from 216.171.238.83: icmp_seq=1 ttl=43 time=80.938 ms > 64 bytes from 216.171.238.83: icmp_seq=2 ttl=43 time=80.323 ms > --- belgarath.linuxfromscratch.org ping statistics --- > 3 packets transmitted, 3 packets received, 0% packet loss > round-trip min/avg/max/stddev = 79.470/80.244/80.938/0.602 ms > [EMAIL PROTECTED]:/home/chris# /etc/rc.d/init.d/network stop > Stopping dhcpcd on the eth0 interface... [ > OK ] > Bringing down the eth0 interface... [ > OK ] > [EMAIL PROTECTED]:/home/chris# ping www.linuxfromscratch.org > ping: unknown host > [EMAIL PROTECTED]:/home/chris# /etc/rc.d/init.d/network start > Bringing up the eth0 interface... > Starting dhcpcd on the eth0 interface...dhcpcd already running! [ > WARN ] > [EMAIL PROTECTED]:/home/chris# ping www.linuxfromscratch.org > PING belgarath.linuxfromscratch.org (216.171.238.83): 56 data bytes > ping: sendto: Network is unreachable > ping: sendto: Network is unreachable > --- belgarath.linuxfromscratch.org ping statistics --- > 0 packets transmitted, 0 packets received, > [EMAIL PROTECTED]:/home/chris# /sbin/dhcpcd -k eth0 <Snip>
Chris. Can you verify that the service is actually running? 'ps -a | grep dhcpcd' before running '/sbin/dhcpcd -k eth0'? I just want to verify that we are not fiddling around with a stale pid file. Thanks. -- DJ Lucas -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
