[Dnsmasq-discuss] dnsmasq
Sergio Belkin
sebelk at gmail.com
Fri Aug 27 02:19:37 BST 2010
Hi,
I have the /etc/config/dhcp as follows:
Code:
config 'dnsmasq'
option 'domainneeded' '1'
option 'boguspriv' '1'
option 'filterwin2k' '0'
option 'localise_queries' '1'
option 'local' '/lan/'
option 'domain' 'lan'
option 'expandhosts' '1'
option 'nonegcache' '0'
option 'authoritative' '1'
option 'readethers' '1'
option 'leasefile' '/tmp/dhcp.leases'
option 'resolvfile' '/tmp/resolv.conf.auto'
config 'dhcp' 'lan'
option 'interface' 'lan'
option 'start' '100'
option 'limit' '150'
option 'leasetime' '12h'
# list 'dhcp_option' 'vendor:MSFT,2,1i'
#I've set that because of
http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq.conf.example (Vista
clients)
config 'vendorclass'
option classifier MSFT
option name lan
list 'dhcp_option' 'vendor:MSFT,2,li'
config 'dhcp' 'wan'
option 'interface' 'wan'
option 'ignore' '1'
option 'dynamicdhcp' '0'
I wanted to add some settings using /etc/dnsmasq.conf , so I my
/etc/dnsmasq.conf is as follows:
Code:
#The following if because of violation of dhcp standard of Windows Vista...
dhcp-vendorclass=set:red,Linux
dhcp-vendorclass=set:yellow,Mac
dhcp-vendorclass=set:gray,MSFT
dhcp-broadcast=tag:gray
But when I look into /proc/$(pgrep dnsmasq)/cmdline
I see:
Code:
/usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S /lan/ -l
/tmp/dhcp.leases -r /tmp/resolv.conf.auto
--dhcp-range=lan,192.168.89.100,192.168.89.250,255.255.255.0,12h -2
'eth0.2'
It say nothing about
config 'vendorclass'
option classifier MSFT
option name lan
list 'dhcp_option' 'vendor:MSFT,2,li'
or about:
dhcp-vendorclass=set:red,Linux
dhcp-vendorclass=set:yellow,Mac
dhcp-vendorclass=set:gray,MSFT
dhcp-broadcast=tag:gray
Is that right ?
Hardware is: TL-WR1043ND
Software is:
Code:
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="10.03"
DISTRIB_CODENAME="backfire"
DISTRIB_DESCRIPTION="OpenWrt Backfire 10.03"
Thanks in advance!
--
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
More information about the Dnsmasq-discuss
mailing list