[Dnsmasq-discuss] Re: (v2.31/Mac OS X) Not listening for DNS requests

Simon Kelley simon at thekelleys.org.uk
Thu May 11 19:39:17 BST 2006


Doug Fields wrote:

> 
> I can get this to work indeed. I use these tools often.
> 
>> Comment out the dhcp-range line to disable DHCP.
> 
> 
> If I do this, I get this error and the program terminates:
> 
> dfields at PexiMini:/opt/dnsmasq/etc$ sudo ../sbin/dnsmasq -d -n
> Password:
> dnsmasq: ISC dhcpd integration not available: set HAVE_ISC_READER in  
> src/config.h
> 
Ah, sorry, comment out dhcp-leasefile too.
> 
> OK, so... With ktrace and screen logging as requested, I've enclosed  a 
> transcript of the session at the end. (I limited the I/O dump to 64  
> bytes per call, which I hope should be enough. I think you're  probably 
> interested in the part
>     CALL  ioctl(0x4,SIOCGIFCONF,0xbffff7e8)
> but I'm not sure.
> 

Yep, there's enough information there show that it's not finding any 
interfaces. I can guess what's wrong and be 50% likely to fix it blind; 
if I miss, we'll have to break out gdb!

Expect some code in the next hour or so, after I've checked that I 
didn't break FreeBSD.



Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list