[Dnsmasq-discuss] tell window$-xp about NO netbios?
clemens fischer
ino-news at spotteswoode.dnsalias.org
Fri May 21 22:05:41 BST 2010
Hi,
my problem is connecting a window$-xp box via ad-hoc wlan. It seems xp
cannot connect ad-hoc with WPA, only WEP. Then xp goes on to ask the
"main" host about all sorts of netbios services and won't finish
associating. I have no experience whatsoever with window$.
This is a log from 2.53test29:
available DHCP range: 192.168.3.2 -- 192.168.3.14
client provides name: bie
What does this name mean? Is this the hostname set there?
vendor class: MSFT 5.0
When matching vendor-class, is it enough to match "MSFT" or do I need to
match "MSFT 5.0"?
DHCPREQUEST(wlan0) 192.168.3.5 00:25:d3:6d:ac:30
DHCPACK(wlan0) 192.168.3.5 00:25:d3:6d:ac:30 somebody
requested options: 1:netmask, 15:domain-name, 3:router, 6:dns-server,
requested options: 44:netbios-ns, 46:netbios-nodetype, 47:netbios-scope,
requested options: 31:router-discovery, 33:static-route, 249,
requested options: 43:vendor-encap
tags: wlan, known, wlan0
next server: 192.168.3.1
sent size: 1 option: 53:message-type 05
sent size: 4 option: 54:server-identifier 192.168.3.1
sent size: 4 option: 51:lease-time 00:00:07:08
sent size: 4 option: 58:T1 00:00:03:2c
sent size: 4 option: 59:T2 00:00:05:cf
sent size: 4 option: 1:netmask 255.255.255.240
sent size: 4 option: 28:broadcast 192.168.3.15
sent size: 25 option: 15:domain-name spotteswoode.dnsalias.org
sent size: 34 option: 81:FQDN 03:ff:ff:73:69:72:61:68:2e:73:70:6f:74...
sent size: 4 option: 3:router 192.168.3.1
sent size: 4 option: 6:dns-server 192.168.53.1
The xp box sees the wlan, connects and picks up its IP, but then asks
the host questions via netbios. Currently I have this is
etc/dnsmasq.conf:
# wlan 192.168.3.0/28
dhcp-range=wlan,192.168.3.2,192.168.3.14,255.255.255.240,192.168.3.15,1h
dhcp-option = net:wlan, option:dns-server, 192.168.53.1
dhcp-option = net:wlan, option:router, 192.168.3.1
#dhcp-host=id:bie,00:25:d3:6d:ac:30,sirah,192.168.3.5,30m
dhcp-host=xx:xx:xx:xx:xx:xx,somebody,192.168.3.5,30m,net:wlan
# vendor class: MSFT 5.0
dhcp-option=vendor:MSFT,2,1i
dhcp-option=44 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s)
dhcp-option=45 # netbios datagram distribution server
dhcp-option=46,8 # netbios node type
I'm going to convert the "net:x" tags to the new tagging system, in the
meantime: will xp understand the empty 44 and 45 dhcp options as "no
netbios here, just use regular DNS-over-UDP"?
clemens
More information about the Dnsmasq-discuss
mailing list