Сотовый телефон nokia не принимает IP с сервера dnsmasq dhcp

У меня проблема с подключением сотового телефона NOkia к моей домашней сети Wi-Fi.

Сеть Wi-Fi предоставляется беспроводной картой на компьютере, на котором выполняется тестирование Debian и ядро ​​2.6.26-2-686. Это D-Link DWL-G520, работающий в режиме ap, с включенным шифрованием WPA.

Беспроводная сеть предоставляется hostapd с использованием драйвера madwifi. Компьютеры с Windows и Mac работают должным образом с этой сетью Wi-Fi.

Когда я пытаюсь подключить телефон Nokia к сети Wi-Fi, я получаю эти строки в своем журнале dnsmasq (чтобы просмотреть строки без переноса, вот ссылка для вставки для удобства - 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

Кто-нибудь знает, что проблема может быть?

Если я отключаю ведение журнала dnsmasq dhcp, то есть, если я уменьшу детализацию журнала, все, что я вижу, - это две строки DHCPDISCOVER(ath0) и DHCPOFFER(ath0) в журнале несколько раз без принятия сотовым телефоном.

Похоже, что телефон не принимает предложение DHCP.

Однако, если я дам телефону статический IP-адрес в своей конфигурации, он будет работать правильно в сети Wi-Fi. Таким образом, кажется, что проблема связана с DHCP.

Советы? Предложения?

Установленные вещи:


$> 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/

Благодарю. PS: вот дамп DHCP tcp для получения дополнительной информации (с измененными mac-адресами):




$> sudo dhcpdump -i ath0 -h ^11:22:33:44:55:66
  TIME: 2009-10-30 12:15:32.916
IP: 0.0.0.0 (1:22:33:44:55:66) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: c3f93d53
SECS: 0
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 50 ( 4) Request IP address 0.0.0.0
OPTION: 61 ( 7) Client-identifier 01:11:22:33:44:55:66
OPTION: 55 ( 7) Parameter Request List 12 (Host name)
6 (DNS server)
15 (Domainname)
1 (Subnet mask)
3 (Routers)
28 (Broadcast address)
120 (SIP Servers DHCP Option)

OPTION: 57 ( 2) Maximum DHCP message size 576

TIME: 2009-10-30 12:15:32.918 IP: 0.0.0.0 (1:22:33:44:55:66) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: c3f93d53
SECS: 0
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 50 ( 4) Request IP address 0.0.0.0
OPTION: 61 ( 7) Client-identifier 01:11:22:33:44:55:66
OPTION: 55 ( 7) Parameter Request List 12 (Host name)
6 (DNS server)
15 (Domainname)
1 (Subnet mask)
3 (Routers)
28 (Broadcast address)
120 (SIP Servers DHCP Option)

OPTION: 57 ( 2) Maximum DHCP message size 576

TIME: 2009-10-30 12:15:32.918 IP: 192.168.5.1 (a:bb:cc:dd:ee:ff) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: c3f93d53
SECS: 0
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 192.168.5.21
SIADDR: 192.168.5.1
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER)
OPTION: 54 ( 4) Server identifier 192.168.5.1
OPTION: 51 ( 4) IP address leasetime 18000 (5h)
OPTION: 58 ( 4) T1 9000 (2h30m)
OPTION: 59 ( 4) T2 15750 (4h22m30s)
OPTION: 1 ( 4) Subnet mask 255.255.255.0
OPTION: 28 ( 4) Broadcast address 192.168.5.255
OPTION: 3 ( 4) Routers 192.168.5.1
OPTION: 6 ( 4) DNS server 192.168.5.1
OPTION: 15 ( 8) Domainname home.pvt

OPTION: 12 ( 3) Host name Nokia_E63

TIME: 2009-10-30 12:15:34.922 IP: 0.0.0.0 (1:22:33:44:55:66) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: c3f93d53
SECS: 2
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 50 ( 4) Request IP address 0.0.0.0
OPTION: 61 ( 7) Client-identifier 01:11:22:33:44:55:66
OPTION: 55 ( 7) Parameter Request List 12 (Host name)
6 (DNS server)
15 (Domainname)
1 (Subnet mask)
3 (Routers)
28 (Broadcast address)
120 (SIP Servers DHCP Option)

OPTION: 57 ( 2) Maximum DHCP message size 576

TIME: 2009-10-30 12:15:34.922 IP: 0.0.0.0 (1:22:33:44:55:66) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: c3f93d53
SECS: 2
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 50 ( 4) Request IP address 0.0.0.0
OPTION: 61 ( 7) Client-identifier 01:11:22:33:44:55:66
OPTION: 55 ( 7) Parameter Request List 12 (Host name)
6 (DNS server)
15 (Domainname)
1 (Subnet mask)
3 (Routers)
28 (Broadcast address)
120 (SIP Servers DHCP Option)

OPTION: 57 ( 2) Maximum DHCP message size 576

TIME: 2009-10-30 12:15:34.923 IP: 192.168.5.1 (a:bb:cc:dd:ee:ff) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: c3f93d53
SECS: 2
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 192.168.5.21
SIADDR: 192.168.5.1
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER)
OPTION: 54 ( 4) Server identifier 192.168.5.1
OPTION: 51 ( 4) IP address leasetime 18000 (5h)
OPTION: 58 ( 4) T1 9000 (2h30m)
OPTION: 59 ( 4) T2 15750 (4h22m30s)
OPTION: 1 ( 4) Subnet mask 255.255.255.0
OPTION: 28 ( 4) Broadcast address 192.168.5.255
OPTION: 3 ( 4) Routers 192.168.5.1
OPTION: 6 ( 4) DNS server 192.168.5.1
OPTION: 15 ( 8) Domainname home.pvt

OPTION: 12 ( 3) Host name Nokia_E63

TIME: 2009-10-30 12:15:38.919 IP: 0.0.0.0 (1:22:33:44:55:66) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: c3f93d53
SECS: 6
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 50 ( 4) Request IP address 0.0.0.0
OPTION: 61 ( 7) Client-identifier 01:11:22:33:44:55:66
OPTION: 55 ( 7) Parameter Request List 12 (Host name)
6 (DNS server)
15 (Domainname)
1 (Subnet mask)
3 (Routers)
28 (Broadcast address)
120 (SIP Servers DHCP Option)

OPTION: 57 ( 2) Maximum DHCP message size 576

TIME: 2009-10-30 12:15:38.920 IP: 0.0.0.0 (1:22:33:44:55:66) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: c3f93d53
SECS: 6
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 50 ( 4) Request IP address 0.0.0.0
OPTION: 61 ( 7) Client-identifier 01:11:22:33:44:55:66
OPTION: 55 ( 7) Parameter Request List 12 (Host name)
6 (DNS server)
15 (Domainname)
1 (Subnet mask)
3 (Routers)
28 (Broadcast address)
120 (SIP Servers DHCP Option)

OPTION: 57 ( 2) Maximum DHCP message size 576

TIME: 2009-10-30 12:15:38.921 IP: 192.168.5.1 (a:bb:cc:dd:ee:ff) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: c3f93d53
SECS: 6
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 192.168.5.21
SIADDR: 192.168.5.1
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER)
OPTION: 54 ( 4) Server identifier 192.168.5.1
OPTION: 51 ( 4) IP address leasetime 18000 (5h)
OPTION: 58 ( 4) T1 9000 (2h30m)
OPTION: 59 ( 4) T2 15750 (4h22m30s)
OPTION: 1 ( 4) Subnet mask 255.255.255.0
OPTION: 28 ( 4) Broadcast address 192.168.5.255
OPTION: 3 ( 4) Routers 192.168.5.1
OPTION: 6 ( 4) DNS server 192.168.5.1
OPTION: 15 ( 8) Domainname home.pvt

OPTION: 12 ( 3) Host name Nokia_E63

TIME: 2009-10-30 12:15:46.944 IP: 0.0.0.0 (1:22:33:44:55:66) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: ccafe769
SECS: 14
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 50 ( 4) Request IP address 0.0.0.0
OPTION: 61 ( 7) Client-identifier 01:11:22:33:44:55:66
OPTION: 55 ( 7) Parameter Request List 12 (Host name)
6 (DNS server)
15 (Domainname)
1 (Subnet mask)
3 (Routers)
28 (Broadcast address)
120 (SIP Servers DHCP Option)

OPTION: 57 ( 2) Maximum DHCP message size 576

TIME: 2009-10-30 12:15:46.944 IP: 0.0.0.0 (1:22:33:44:55:66) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: ccafe769
SECS: 14
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 50 ( 4) Request IP address 0.0.0.0
OPTION: 61 ( 7) Client-identifier 01:11:22:33:44:55:66
OPTION: 55 ( 7) Parameter Request List 12 (Host name)
6 (DNS server)
15 (Domainname)
1 (Subnet mask)
3 (Routers)
28 (Broadcast address)
120 (SIP Servers DHCP Option)

OPTION: 57 ( 2) Maximum DHCP message size 576

TIME: 2009-10-30 12:15:46.945 IP: 192.168.5.1 (a:bb:cc:dd:ee:ff) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: ccafe769
SECS: 14
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 192.168.5.21
SIADDR: 192.168.5.1
GIADDR: 0.0.0.0
CHADDR: 11:22:33:44:55:66:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER)
OPTION: 54 ( 4) Server identifier 192.168.5.1
OPTION: 51 ( 4) IP address leasetime 18000 (5h)
OPTION: 58 ( 4) T1 9000 (2h30m)
OPTION: 59 ( 4) T2 15750 (4h22m30s)
OPTION: 1 ( 4) Subnet mask 255.255.255.0
OPTION: 28 ( 4) Broadcast address 192.168.5.255
OPTION: 3 ( 4) Routers 192.168.5.1
OPTION: 6 ( 4) DNS server 192.168.5.1
OPTION: 15 ( 8) Domainname home.pvt

OPTION: 12 ( 3) Host name Nokia_E63

TIME: 2009-10-30 12:15:48.952 IP: 0.0.0.0 (1:22:33:44:55:66) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
... and so on ...

1 ответ

Ваш телефон запрашивает опцию 120 (sip-сервер), среди прочего. Другие значения возвращаются, но это не так.

Насколько я знаю, такие запросы являются необязательными, но вполне возможно, что Nokia не справится с тем, что не получит значение для этой опции.

Другие вопросы по тегам