new chilli release / [Chillispot] Problem assigning dhcp addresses

wlan at mac.com wlan at mac.com
Tue Aug 21 06:14:21 UTC 2007


Hi,

No, chilli does not detect AP disassociations itself (though, perhaps  
in a shell script that checks the arp table; check your crontab).

It could be that the client actually released the dhcp lease when it  
disassociated.

david


On Aug 20, 2007, at 9:17 PM, lc wrote:

> Cool David, thanks!
>
> Will start to try it soon.
>
> Meanwhile I would like to continue something from the chillispot  
> mailing list:
>
>
> --- snip ---
>
> Hi,
>
> I ran into the same problem (see below).
> While one client was having this problem there were other clients  
> connected to this WRT at the same time using chilli having no such  
> problems at all. Doing more analysis I found that the client was  
> really sometimes not associated with the WRT. Seems that some  
> clients disassociate for unknown reason even when they shouldn't.  
> This client was probably only 5m away from the WRT. And when they  
> re-associate they have to re-login - which would (in my case) not  
> the big issue - the bigger issue is that because of the new IP  
> address certain web-apps (gmail etc) get interrupted.
>
> DHCP lease time is not set (=chilli standard is used). I currently  
> run Coova-chilli SVN 70. The question I have:  does chilli detect  
> when a client is not connected anymore using another method than  
> the DHCP lease time? Because e.g. in the 3rd paragraph you can see  
> that chilli released the IP only after 6 minutes (and chilli uses  
> 10 minutes as default I think). Is there a way to tell chilli to be  
> more tolerant; i.e. to wait a little if a client will get  
> associated again before releasing a DHCP address?
>
> thanks,
> lc
>
>
>
>
> Chilli-Log:
> Jul 26 14:29:20 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2905: Successful UAM login from username=00-18-DE-77-9B-43  
> IP=192.168.100.25
> Jul 26 14:33:09 OpenWRT kern.info chillispot[841]: chilli.c: 2690:  
> DHCP addr released by MAC=00-18-DE-77-9B-43 IP=192.168.100.25
>
> Jul 26 14:33:12 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2608: New DHCP request from MAC=00-18-DE-77-9B-43
> Jul 26 14:33:12 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2570: Client MAC=00-18-DE-77-9B-43 assigned IP 192.168.100.27
> Jul 26 14:35:42 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2905: Successful UAM login from username=00-18-DE-77-9B-43  
> IP=192.168.100.27
> Jul 26 15:03:30 OpenWRT kern.info chillispot[841]: chilli.c: 2690:  
> DHCP addr released by MAC=00-18-DE-77-9B-43 IP=192.168.100.27
>
> Jul 26 15:06:36 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2608: New DHCP request from MAC=00-18-DE-77-9B-43
> Jul 26 15:06:36 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2570: Client MAC=00-18-DE-77-9B-43 assigned IP 192.168.100.30
> Jul 26 15:12:55 OpenWRT kern.info chillispot[841]: chilli.c: 2690:  
> DHCP addr released by MAC=00-18-DE-77-9B-43 IP=192.168.100.30
>
> Jul 26 15:13:30 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2608: New DHCP request from MAC=00-18-DE-77-9B-43
> Jul 26 15:13:30 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2570: Client MAC=00-18-DE-77-9B-43 assigned IP 192.168.100.31
> Jul 26 15:14:41 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2905: Successful UAM login from username=00-18-DE-77-9B-43  
> IP=192.168.100.31
> Jul 26 15:19:49 OpenWRT kern.info chillispot[841]: chilli.c: 2690:  
> DHCP addr released by MAC=00-18-DE-77-9B-43 IP=192.168.100.31
>
> Jul 26 15:23:22 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2608: New DHCP request from MAC=00-18-DE-77-9B-43
> Jul 26 15:23:22 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2570: Client MAC=00-18-DE-77-9B-43 assigned IP 192.168.100.33
> Jul 26 15:28:24 OpenWRT kern.info chillispot[841]: chilli.c: 2690:  
> DHCP addr released by MAC=00-18-DE-77-9B-43 IP=192.168.100.33
>
> Jul 26 15:30:42 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2608: New DHCP request from MAC=00-18-DE-77-9B-43
> Jul 26 15:30:42 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2570: Client MAC=00-18-DE-77-9B-43 assigned IP 192.168.100.34
> Jul 26 15:32:54 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2905: Successful UAM login from username=00-18-DE-77-9B-43  
> IP=192.168.100.34
> Jul 26 15:42:15 OpenWRT kern.info chillispot[841]: chilli.c: 2690:  
> DHCP addr released by MAC=00-18-DE-77-9B-43 IP=192.168.100.34
>
> Jul 26 15:42:17 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2608: New DHCP request from MAC=00-18-DE-77-9B-43
> Jul 26 15:42:17 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2570: Client MAC=00-18-DE-77-9B-43 assigned IP 192.168.100.36
> Jul 26 15:44:28 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2905: Successful UAM login from username=00-18-DE-77-9B-43  
> IP=192.168.100.36
> Jul 26 15:49:39 OpenWRT kern.info chillispot[841]: chilli.c: 2690:  
> DHCP addr released by MAC=00-18-DE-77-9B-43 IP=192.168.100.36
>
> Jul 26 15:50:00 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2608: New DHCP request from MAC=00-18-DE-77-9B-43
> Jul 26 15:50:00 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2570: Client MAC=00-18-DE-77-9B-43 assigned IP 192.168.100.37
> Jul 26 15:52:07 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2905: Successful UAM login from username=00-18-DE-77-9B-43  
> IP=192.168.100.37
> Jul 26 16:29:56 OpenWRT kern.info chillispot[841]: chilli.c: 2690:  
> DHCP addr released by MAC=00-18-DE-77-9B-43 IP=192.168.100.37
>
> Jul 26 16:30:18 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2608: New DHCP request from MAC=00-18-DE-77-9B-43
> Jul 26 16:30:18 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2570: Client MAC=00-18-DE-77-9B-43 assigned IP 192.168.100.40
> Jul 26 16:36:48 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2905: Successful UAM login from username=00-18-DE-77-9B-43  
> IP=192.168.100.40
> Jul 26 16:50:15 OpenWRT kern.info chillispot[841]: chilli.c: 2690:  
> DHCP addr released by MAC=00-18-DE-77-9B-43 IP=192.168.100.40
>
> Jul 26 16:51:42 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2608: New DHCP request from MAC=00-18-DE-77-9B-43
> Jul 26 16:51:42 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2570: Client MAC=00-18-DE-77-9B-43 assigned IP 192.168.100.41
> Jul 26 16:55:22 OpenWRT kern.notice chillispot[841]: chilli.c:  
> 2905: Successful UAM login from username=00-18-DE-77-9B-43  
> IP=192.168.100.41
>
>
>
> Am 15.08.2007 um 10:20 schrieb Yannick Deltroo:
>
>
>> Alex,
>>
>> I've seen that you've changed the DHCP range of IPs from the default.
>> Check that the three parameters net/dynip/statip are correctly set  
>> (in
>> particular the netmask part).
>>
>> Also check that the lease parameter is not too short for the client
>> operating system to accept the DHCP lease returned by Chilli.
>>
>> By the way, Chillispot is going to NAT your public addresses in the
>> default configuration.
>> For more info, see this thread,
>> http://coova.org/phpBB3/viewtopic.php? 
>> f=4&t=157&sid=6d5907c41c5aa11b528345295892dff9
>>
>> Cheers
>>
>> On 8/15/07, Alex Nderitu <anderitu at africaonline.co.ke> wrote:
>>
>>>
>>>  Hi All,
>>>  I have a problem where wireless clients are not allocated dhcp  
>>> addresses on accessing chillispot. However from the log files I  
>>> can see chillispot is issuing the addresses on accessing the  
>>> wireless network. Has anyone come across this and whats the work  
>>> around.
>>>
>>>  Logs from chilli
>>>  -----------------------
>>>  Aug 14 15:40:03 hotspot chillispot[7333]: chilli.c: 3082: DHCP  
>>> addr released by MAC=00-16-6F-C3-7E-5F IP=41.207.76.34
>>>  Aug 14 15:40:05 hotspot chillispot[7333]: chilli.c: 3041: New  
>>> DHCP request from MAC=00-16-6F-C3-7E-5F
>>>  Aug 14 15:40:05 hotspot chillispot[7333]: chilli.c: 3011: Client  
>>> MAC=00-16-6F-C3-7E-5F assigned IP 41.207.76.35
>>>  Aug 14 15:40:18 hotspot chillispot[7333]: chilli.c: 3082: DHCP  
>>> addr released by MAC=00-16-6F-C3-7E-5F IP=41.207.76.35
>>>  Aug 14 15:40:21 hotspot chillispot[7333]: chilli.c: 3041: New  
>>> DHCP request from MAC=00-16-6F-C3-7E-5F
>>>  Aug 14 15:40:21 hotspot chillispot[7333]: chilli.c: 3011: Client  
>>> MAC=00-16-6F-C3-7E-5F assigned IP 41.207.76.36
>>>  Aug 14 15:41:31 hotspot chillispot[7333]: chilli.c: 3041: New  
>>> DHCP request from MAC=00-19-D2-30-B3-A1
>>>  Aug 14 15:41:31 hotspot chillispot[7333]: chilli.c: 3011: Client  
>>> MAC=00-19-D2-30-B3-A1 assigned IP 41.207.76.37
>>>  Aug 14 15:45:49 hotspot chillispot[7333]: chilli.c: 3082: DHCP  
>>> addr released by MAC=00-16-6F-C3-7E-5F IP=41.207.76.36
>>>  Aug 14 15:45:51 hotspot chillispot[7333]: chilli.c: 3041: New  
>>> DHCP request from MAC=00-16-6F-C3-7E-5F
>>>  Aug 14 15:45:51 hotspot chillispot[7333]: chilli.c: 3011: Client  
>>> MAC=00-16-6F-C3-7E-5F assigned IP 41.207.76.38
>>>  Aug 14 15:48:32 hotspot chillispot[7333]: chilli.c: 3041: New  
>>> DHCP request from MAC=00-16-6F-55-01-21
>>>  Aug 14 15:48:32 hotspot chillispot[7333]: chilli.c: 3011: Client  
>>> MAC=00-16-6F-55-01-21 assigned IP 41.207.76.39
>>>  Aug 14 15:49:10 hotspot chillispot[7333]: chilli.c: 3041: New  
>>> DHCP request from MAC=00-06-F4-0D-4B-DA
>>>  Aug 14 15:49:10 hotspot chillispot[7333]: chilli.c: 3011: Client  
>>> MAC=00-06-F4-0D-4B-DA assigned IP 41.207.76.40
>>>  Aug 14 15:52:12 hotspot chillispot[7333]: chilli.c: 3082: DHCP  
>>> addr released by MAC=00-16-6F-C3-7E-5F IP=41.207.76.38
>>>  Aug 14 15:52:14 hotspot chillispot[7333]: chilli.c: 3041: New  
>>> DHCP request from MAC=00-16-6F-C3-7E-5F
>>>  Aug 14 15:52:14 hotspot chillispot[7333]: chilli.c: 3011: Client  
>>> MAC=00-16-6F-C3-7E-5F assigned IP 41.207.76.41
>>>  Aug 14 15:53:46 hotspot chillispot[7333]: chilli.c: 3082: DHCP  
>>> addr released by MAC=00-16-6F-C3-7E-5F IP=41.207.76.41
>>>  Aug 14 15:53:53 hotspot chillispot[7333]: chilli.c: 3082: DHCP  
>>> addr released by MAC=00-19-D2-30-B3-A1 IP=41.207.76.37
>>>  Aug 14 15:53:59 hotspot chillispot[7333]: chilli.c: 3041: New  
>>> DHCP request from MAC=00-16-6F-C3-7E-5F
>>>  Aug 14 15:53:59 hotspot chillispot[7333]: chilli.c: 3011: Client  
>>> MAC=00-16-6F-C3-7E-5F assigned IP 41.207.76.43
>>>  Aug 14 15:55:04 hotspot chillispot[7333]: chilli.c: 3082: DHCP  
>>> addr released by MAC=00-16-6F-C3-7E-5F IP=41.207.76.43
>>>  Aug 14 15:55:06 hotspot chillispot[7333]: chilli.c: 3041: New  
>>> DHCP request from MAC=00-16-6F-C3-7E-5F
>>>
>>>
>>> --
>>>
>>>  Regards,
>>>
>>>  Alex Nderitu
>>>  Systems Administration
>>>  Africa Online, Kenya
>>>  Tel: +254 (20) 27 92 253
>>>  Fax: +254 (20) 27 100 10
>>>  Email: anderitu at africaonline.co.ke
>>>  AIM: nderitualex
>>>
>>>
>>>    A member of the Telkom South Africa Group
>>>
>>> Africa Online Disclaimer and Confidentiality Note
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: chilli-unsubscribe at coova.org
> For additional commands, e-mail: chilli-help at coova.org
> Wiki: http://coova.org/wiki/index.php/CoovaChilli
> Forum: http://coova.org/phpBB3/viewforum.php?f=4
>




More information about the Chilli mailing list