diff --git a/FAQ b/FAQ index 3ab39ee..b7c4f4b 100644 --- a/FAQ +++ b/FAQ @@ -467,8 +467,18 @@ A: The DHCP client on windows Vista (and possibly later versions) work). +Q: DHCP doesn't work with windows 7 but everything else is fine. +A: There seems to be a problem if Windows 7 doesn't get a value for + DHCP option 252 in DHCP packets it gets from the server. The + symtoms have beeen variously reported as continual DHCPINFORM + requests in an attempt to get an option-252, or even ignoring DHCP + offers completely (and failing to get an IP address) if there is no + option-252 supplied. DHCP option 252 is for WPAD, WWW Proxy + Auto Detection and if you don't want or need to use that, then + simplest fix seems to be to supply an empty option with: + dhcp-option=252,"\n" diff --git a/dnsmasq.conf.example b/dnsmasq.conf.example index f46a317..f2ec51a 100644 --- a/dnsmasq.conf.example +++ b/dnsmasq.conf.example @@ -304,6 +304,9 @@ #dhcp-option=45,0.0.0.0 # netbios datagram distribution server #dhcp-option=46,8 # netbios node type +# Send an empty WPAD option. This may be REQUIRED to get windows 7 to behave. +#dhcp-option=252,"\n" + # Send RFC-3397 DNS domain search DHCP option. WARNING: Your DHCP client # probably doesn't support this...... #dhcp-option=option:domain-search,eng.apple.com,marketing.apple.com