Skip to content

DHCP trouble in DD-WRT due to broken dnsmasq

I’ve been debugging why my printer won’t receive an IP from my dd-wrt router. (This is a beta version of Buffalo’s branded dd-wrt firmware: DD-WRT v24SP2-EU-US (05/25/11) std – build 17135.) I actually “upgraded” to the beta version while debugging this problem. Originally, I had the release version of Buffalo’s DD-WRT.

Anyway, to summarize, it seems like using dnsmasq as the DHCP server breaks things. When I set it back, all my clients get DHCP licenses. I learned this the hard way. First, my printer wasn’t getting an IP. So, I finally gave it a static IP. Then, an Android phone wasn’t getting an IP. At that point, I started dhcpdump and started snooping. Basically, it’d get an “address not available” error. I finally traced it down to the setting for dnsmasq on the dd-wrt page. Once I chose the regualar DHCP server (udhcpd) rather than dnsmasq, everything worked well:

Turn off "Use dnsmasq as DHCP"

 

Be the first to like.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*