how to debug dhcp?

John Reiser jreiser at BitWagon.com
Tue Jul 18 14:28:32 UTC 2006


> when I try to use dhcp for my network device (eth0 - forcedeth) it does
> not get an IP with the result: failed

> 2) how can I debug it to find out what is causing it?

Boot single-user, invoke the dhcp program from a console in "non-daemon"
mode, and watch.  For dhcpd, consider flags -d -tf and perhaps -play.
Also, consider running under strace.  For lowest-level packet trouble,
use a program such as tcpdump or ethereal to check what goes over the wire.

-- 




More information about the devel mailing list