Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

On a FreeBSD computer

Is there a DHCP client log that I could use to debug a DHCP issue?

Can I set a debug param to get more information from the dhclient?

UPDATE 1:

I found a lead on this article handy tools for debugging DHCP on linux but that's on Linux (dhcping, dhcpdump), and I don't have these on my FreeBSD, I won't be able to install them.

UPDATE 2:

tcpdump -lenx -i eth0 -s 1500 port bootps

share|improve this question
1  
I love folks that just -1 because they don't know better. At least they could argument why it's not a valid question –  joelmaranhao Jan 23 at 11:44
    
As state in the freebsd dhclient there is an option to make it less verbose but none to make it more verbose. that's bad luck. freebsd.org/cgi/man.cgi?query=dhclient&sektion=8 –  Kiwy Jan 23 at 12:38

1 Answer 1

From the manpage:

It can be made to emit verbose messages displaying the startup sequence events until it has acquired an address by supplying the -v command line argument.

Type:

dhclient -v eth0

...where eth0 is your network interface.

share|improve this answer
    
-v is not a valid switch on FreeBSD, but thanks. –  joelmaranhao Jan 23 at 11:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.