chilli dhcp helper no ACK!
Thomas Baumann
tom at tiri.li
Sat Jul 26 07:57:26 UTC 2008
It did not work :-( Here is my debug session:
Any more ideas ? The syslog on both systems is the same as before.
chilli.c: 3409: 0 (Debug) ChilliSpot version 1.0.12 started.
tun.c: 482: 0 (Debug) TX queue length set to 100
ippool.c: 218: 0 (Debug) Hashlog 8 253 256
chilli.c: 3564: 0 (Debug) Waiting for client request...
chilli.c: 2195: 0 (Debug) Received access request confirmation from
radius server
dhcp.c: 1861: 0 (Debug) dhcp/bootps request being processed
dhcp.c: 1861: 0 (Debug) dhcp/bootps request being processed
dhcp.c: 1861: 0 (Debug) dhcp/bootps request being processed
dhcp.c: 1861: 0 (Debug) dhcp/bootps request being processed
dhcp.c: 2363: 0 (Debug) arp_decaps: dst=ff:ff:ff:ff:ff:ff
src=00:04:23:82:b8:df prot=0806
dhcp.c: 2254: 0 (Debug) Address not found: 169.254.178.182
chilli.c: 2694: 0 (Debug) New DHCP request from MAC=00-04-23-82-B8-DF
chilli.c: 2697: 0 (Debug) New DHCP connection established
dhcp.c: 2363: 0 (Debug) arp_decaps: dst=ff:ff:ff:ff:ff:ff
src=00:04:23:82:b8:df prot=0806
dhcp.c: 2363: 0 (Debug) arp_decaps: dst=ff:ff:ff:ff:ff:ff
src=00:04:23:82:b8:df prot=0806
dhcp.c: 1846: 0 (Debug) dropping packet; not for our MAC or broadcast
chilli.c: 2573: 0 (Debug) DHCP request for IP address
ippool.c: 324: 0 (Debug) Requesting new static ip: 169.254.178.182
ippool.c: 344: 0 (Debug) Static IP address not allowed
ippool.c: 324: 0 (Debug) Requesting new dynamic ip: 169.254.178.182
chilli.c: 2661: 0 (Debug) Client MAC=00-04-23-82-B8-DF assigned IP
192.168.252.2
dhcp.c: 1846: 0 (Debug) dropping packet; not for our MAC or broadcast
dhcp.c: 1861: 0 (Debug) dhcp/bootps request being processed
dhcp.c: 1861: 0 (Debug) dhcp/bootps request being processed
dhcp.c: 1861: 0 (Debug) dhcp/bootps request being processed
dhcp.c: 1861: 0 (Debug) dhcp/bootps request being processed
dhcp.c: 1846: 0 (Debug) dropping packet; not for our MAC or broadcast
dhcp.c: 1846: 0 (Debug) dropping packet; not for our MAC or broadcast
dhcp.c: 1846: 0 (Debug) dropping packet; not for our MAC or broadcast
dhcp.c: 1846: 0 (Debug) dropping packet; not for our MAC or broadcast
Zitat von wlanmac <wlan at mac.com>:
> Try adding:
>
> case DHCPACK:
>
> in the switch block at about line 1681 of dhcp.c
>
> David
>
>
> On Fri, 2008-07-25 at 23:56 +0200, Thomas Baumann wrote:
>> Hello list,
>>
>> I use Version 1.0.12.
>>
>> When I define a dhcp gateway (e.g. 192.168.178.10:67) with
>> option dhcpgateway and dhcpgatewayport the all requests of
>> the client go to the dhcp-server. this is correct.
>> BUT there never comes an ACK!
>>
>> I hope sb. can give me a hint how to solve this problem.
>> That's why I cant use a third party dhcp server :-/
>>
>> setup:
>> 192.168.178.10 = dhcpserver
>> 192.168.252.1 = chillispot at chilli0
>> 192.168.178.21 = chillispot at eth0
>>
>>
>> syslog at 192.168.178.10
>>
>> Jul 25 19:48:07 dhcp-server dhcpd: DHCPOFFER on 192.168.252.249 to
>> 00:04:23:82:b8:df (winclient)
>> via 192.168.252.1
>> Jul 25 19:48:10 dhcp-server dhcpd: DHCPDISCOVER from 00:04:23:82:b8:df
>> (winclient) via 192.168.252.1
>> Jul 25 19:48:10 dhcp-server dhcpd: DHCPOFFER on 192.168.252.249 to
>> 00:04:23:82:b8:df (winclient)
>> via 192.168.252.1
>> Jul 25 19:48:19 dhcp-server dhcpd: DHCPDISCOVER from 00:04:23:82:b8:df
>> (winclient) via 192.168.252.1
>> Jul 25 19:48:19 dhcp-server dhcpd: DHCPOFFER on 192.168.252.249 to
>> 00:04:23:82:b8:df (winclient)
>> via 192.168.252.1
>> Jul 25 19:48:34 dhcp-server dhcpd: DHCPDISCOVER from 00:04:23:82:b8:df
>> (winclient) via 192.168.252.1
>> Jul 25 19:48:34 dhcp-server dhcpd: DHCPOFFER on 192.168.252.249 to
>> 00:04:23:82:b8:df (winclient)
>> via 192.168.252.1
>>
>> syslog at chilli-accesspoint
>> Jul 25 19:43:28 chilli-accesspoint kernel: [77032.310794] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:43:40 chilli-accesspoint kernel: [77044.257305] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:43:42 chilli-accesspoint kernel: [77046.121562] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:43:57 chilli-accesspoint kernel: [77061.076492] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:21 chilli-accesspoint kernel: [77085.101844] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:25 chilli-accesspoint kernel: [77089.046526] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:29 chilli-accesspoint kernel: [77092.991370] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:31 chilli-accesspoint kernel: [77095.027715] IN=chilli0
>> OUT= PHYSIN=wlan1
>> MAC=ff:ff:ff:ff:ff:ff:00:04:23:82:b8:df:08:00 SRC=169.254.178.182
>> DST=169.254.255.255
>> LEN=96 TOS=0x00 PREC=0x00 TTL=128 ID=12375 PROTO=UDP SPT=137 DPT=137 LEN=76
>> Jul 25 19:44:31 chilli-accesspoint kernel: [77095.032067] IN=
>> OUT=chilli0 PHYSIN=wlan1
>> PHYSOUT=eth1 SRC=169.254.178.182 DST=169.254.255.255 LEN=96 TOS=0x00
>> PREC=0x00 TTL=128
>> ID=12375 PROTO=UDP SPT=137 DPT=137 LEN=76
>> Jul 25 19:44:32 chilli-accesspoint kernel: [77096.092961] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:34 chilli-accesspoint kernel: [77097.764413] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:35 chilli-accesspoint kernel: [77098.710027] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:40 chilli-accesspoint kernel: [77103.006176] IN=eth0 OUT=
>> MAC=ff:ff:ff:ff:ff:ff:00:0b:5d:04:72:e5:08:00 SRC=192.168.100.127
>> DST=192.168.100.255
>> LEN=239 TOS=0x00 PREC=0x00 TTL=128 ID=12397 PROTO=UDP SPT=138
>> DPT=138 LEN=219
>> Jul 25 19:44:40 chilli-accesspoint kernel: [77103.012566] IN=chilli0
>> OUT= PHYSIN=wlan1
>> MAC=ff:ff:ff:ff:ff:ff:00:04:23:82:b8:df:08:00 SRC=169.254.178.182
>> DST=169.254.255.255
>> LEN=204 TOS=0x00 PREC=0x00 TTL=128 ID=12395 PROTO=UDP SPT=138
>> DPT=138 LEN=184
>> Jul 25 19:44:40 chilli-accesspoint kernel: [77103.012566] IN=
>> OUT=chilli0 PHYSIN=wlan1
>> PHYSOUT=eth1 SRC=169.254.178.182 DST=169.254.255.255 LEN=204 TOS=0x00
>> PREC=0x00 TTL=128
>> ID=12395 PROTO=UDP SPT=138 DPT=138 LEN=184
>> Jul 25 19:44:40 chilli-accesspoint kernel: [77103.474933] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:45 chilli-accesspoint kernel: [77108.418662] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:47 chilli-accesspoint kernel: [77110.364099] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>> Jul 25 19:44:55 chilli-accesspoint kernel: [77118.677339] IN=eth0 OUT=
>> MAC=ff:ff:ff:ff:ff:ff:00:0b:5d:04:72:e5:08:00 SRC=192.168.100.127
>> DST=192.168.100.255
>> LEN=239 TOS=0x00 PREC=0x00 TTL=128 ID=12418 PROTO=UDP SPT=138
>> DPT=138 LEN=219
>> Jul 25 19:45:03 chilli-accesspoint kernel: [77126.250382] IN= OUT=eth0
>> SRC=192.168.178.21
>> DST=192.168.178.10 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
>> SPT=68 DPT=67
>> LEN=308
>>
--
http://www.1-search.de -- http://www.tiri.li
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the Chilli
mailing list