[Dnsmasq-discuss] dhcp-option=252: DHCP request for unsupported hardware type (0) recieved on eth1

Stanley Jaddoe stanley at sigterm.demon.nl
Sun Jul 17 14:09:09 BST 2005


Hi,

After upgrading Debian woody to sarge, I'm trying to set up dnsmasq to replace 
the dhcp3 daemon.

My old (working) dhcpd.conf contains:


# wpad proxy config
option wpad code 252 = text;
option wpad "http://server/proxy.pac";


This enables browsers such as IE and Konqueror to automatically detect proxy 
settings using WPAD and DHCP.

In dnsmasq, I use:

# set WPAD proxy location
dhcp-option=252,http://server/proxy.pac

(full config below)

However, the clients are unable get the value of dhcp option 252 (wpad). 
dnsmasq reports the following in daemon.log on the server:

Jul 17 14:41:24 P1 dnsmasq[1718]: DHCP request for unsupported hardware type 
(0) recieved on eth1


What should I do to make WPAD via DHCP work in dnsmasq?

Thanks in advance,
Stanley
----------------------
All uncommented from/added entries to the default Debian dnsmasq config file:

domain-needed
bogus-priv
filterwin2k
local=/sigterm.local/
except-interface=eth0
bind-interfaces
expand-hosts
domain=sigterm.local
dhcp-range=192.168.1.100,192.168.1.200
dhcp-host=00:XX:XX:XX:XX:XX,p2,192.168.1.2
dhcp-host=00:XX:XX:XX:XX:XX,p3,192.168.1.3
dhcp-host=00:XX:XX:XX:XX:XX,p4,192.168.1.4
dhcp-option=42,0.0.0.0
dhcp-option=40,sigterm.local
dhcp-option=252,http://server/proxy.pac
dhcp-authoritative
bogus-nxdomain=64.94.110.11
log-queries





More information about the Dnsmasq-discuss mailing list