linux - dnsmasq with iPhone failing -


i trying use dnsmasq on linux serve wifi access point. windows 7 , android smart phone can connect fine linux system iphone cannot. both windows , iphone authenticate fine wpa_supplicant, problem iphone never gets ip address.

my config file simple dnsmasq.conf:

# listen dhcp on wlan0 interface=wlan0  # create dhcp range on /24 wlan0 network lease time dhcp-range=192.168.1.6,192.168.1.15,255.255.255.0,5m # configure dhcp         dhcp-option=3 dhcp-option=6 # authoritative windows  dhcp-authoritative 

the dnsmasq debug log shows windows , can see successful:

dnsmasq: started, version 2.65 cachesize 150 dnsmasq: compile time options: no-ipv6 gnu-getopt dbus no-i18n no-idn dhcp no-dhcpv6 no-lua tftp no-conntrack dnsmasq-dhcp: dhcp, ip range 192.168.1.6 -- 192.168.1.15, lease time 5m dnsmasq: failed access /etc/resolv.conf: no such file or directory dnsmasq: failed load names /etc/hosts: no such file or directory dnsmasq-dhcp: dhcprequest(wlan0) 192.168.1.14 24:77:03:2b:79:20  dnsmasq-dhcp: ignoring domain global.tektronix.net dhcp host name pc-msp-183b dnsmasq-dhcp: dhcpack(wlan0) 192.168.1.14 24:77:03:2b:79:20 pc-msp-183b dnsmasq-dhcp: dhcpinform(wlan0) 192.168.1.14 24:77:03:2b:79:20  dnsmasq-dhcp: dhcpack(wlan0) 192.168.1.14 24:77:03:2b:79:20 pc-msp-183b 

however, shows iphone:

dnsmasq: started, version 2.65 cachesize 150 dnsmasq: compile time options: no-ipv6 gnu-getopt dbus no-i18n no-idn dhcp no-dhcpv6 no-lua tftp no-conntrack dnsmasq-dhcp: dhcp, ip range 192.168.1.6 -- 192.168.1.15, lease time 5m dnsmasq: failed access /etc/resolv.conf: no such file or directory dnsmasq: failed load names /etc/hosts: no such file or directory dnsmasq-dhcp: dhcprequest(wlan0) 192.168.1.15 84:38:35:df:5f:c2  dnsmasq-dhcp: dhcpack(wlan0) 192.168.1.15 84:38:35:df:5f:c2 iphone dnsmasq-dhcp: dhcprequest(wlan0) 192.168.1.15 84:38:35:df:5f:c2  dnsmasq-dhcp: dhcpack(wlan0) 192.168.1.15 84:38:35:df:5f:c2 iphone 

and sits there!

any suggestions or help? thanks!

it works iphone if remove following option:

dhcp-option=3 

comment out , iphone can connect.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -