dnsmasq problem: nokia cell phone does not accept dhcp offer
Hello,
I am trying to connect a nokia cell phone to my home wifi network. The
same phone has reportedly worked properly on another home wifi network
which has a Belkin wireless router. The phone is set to acquire an IP
address automatically, i.e. via dhcp.
BTW, my home wifi network is provided by a wireless card in a machine
running Debian Testing and 2.6.26-2-686 kernel.
The wireless is network provided by hostapd using madwifi driver.
Windows and Mac machines work properly with this wifi network (at least
no big problems noted, certainly not in Windows clients).
When I try to get the Nokia phone to connect to the wifi network, I get
these lines in my dnsmasq log (to see lines without wrapping, here is
the pastebin link for convenience - http://pastebin.com/m466c8fd2):
-----------------------------------------------------------
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 IEEE 802.11:
disassociated
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 IEEE 802.11:
associated
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 RADIUS:
starting accounting session 4AE664FA-00000036
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 WPA: pairwise
key handshake completed (WPA)
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 WPA: group key
handshake completed (WPA)
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 Available DHCP
range: 192.168.5.150 -- 192.168.5.199
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 DHCPDISCOVER(ath0)
0.0.0.0 11:22:33:44:55:66
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 DHCPOFFER(ath0)
192.168.5.21 11:22:33:44:55:66
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 requested options:
12:hostname, 6:dns-server, 15:domain-name,
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 requested options:
1:netmask, 3:router, 28:broadcast, 120:sip-server
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 tags: known, ath0
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 next server:
192.168.5.1
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 1
option: 53:message-type 02
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 4
option: 54:server-identifier 192.168.5.1
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 4
option: 51:lease-time 00:00:46:50
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 4
option: 58:T1 00:00:23:28
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 4
option: 59:T2 00:00:3d:86
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 4
option: 1:netmask 255.255.255.0
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 4
option: 28:broadcast 192.168.5.255
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 4
option: 3:router 192.168.5.1
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 4
option: 6:dns-server 192.168.5.1
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 8
option: 15:domain-name home.pvt
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size: 3
option: 12:hostname NokiaCellPhone
---------------------------------------------------------------
Anybody know the problem might be?
If I switch off dnsmasq dhcp queries logging, all I see are two lines of
DHCPDISCOVER(ath0) and DHCPOFFER(ath0) repeatedly in the log with no
acceptance by the cell phone.
It appears as though the phone is not accepting the dhcp offer.
However, if I give the phone a static IP address in its configuration,
it works properly on the wifi network. So it appears as though the
problem is dhcp related.
Hints? Suggestions?
Installed stuff:
$> dpkg -l *dnsmasq* hostap* | grep ^i
ii dnsmasq 2.50-1 A small caching DNS proxy and DHCP/TFTP server
ii dnsmasq-base 2.50-1 A small caching DNS proxy and DHCP/TFTP server
ii hostapd 1:0.6.9-3 user space IEEE 802.11 AP and IEEE 802.1X/WPA/
Thanks.
--
Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.
Reply to: