Re: [OpenWrt-Devel] continuously requesting IP

2012-01-03 Thread Nerijus Baliunas
On Tue, 3 Jan 2012 02:08:42 +0200 Nerijus Baliunas 
neri...@users.sourceforge.net wrote:

  It seems to correlate with the WPA rekeying. You could try to lower the
  group rekey interval and see if it helps.
 
 Do you mean wpa_group_rekey? It seems to be 600 by default, what should I set 
 it to?

I seem to not have this problem anymore with a Win7 client (maybe wmm_enabled=0 
helped).
Now tried setting wpa_group_rekey=300, but android phone is still continuously 
getting IP,
disconnecting, coneecting again, getting IP, disconnecting and so on. Any ideas?

Jan  3 18:54:11 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPDISCOVER(br-lan) 
84:a8:e4:59:39:c1 
Jan  3 18:54:11 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPOFFER(br-lan) 
192.168.1.145 84:a8:e4:59:39:c1 
Jan  3 18:54:11 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPREQUEST(br-lan) 
192.168.1.145 84:a8:e4:59:39:c1 
Jan  3 18:54:11 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPACK(br-lan) 
192.168.1.145 84:a8:e4:59:39:c1 android_68627afa6176d7c0
Jan  3 18:54:32 OpenWrt daemon.info hostapd: wlan0: STA 84:a8:e4:59:39:c1 IEEE 
802.11: authenticated
Jan  3 18:54:32 OpenWrt daemon.info hostapd: wlan0: STA 84:a8:e4:59:39:c1 IEEE 
802.11: associated (aid 2)
Jan  3 18:54:32 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPDISCOVER(br-lan) 
84:a8:e4:59:39:c1 
Jan  3 18:54:32 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPOFFER(br-lan) 
192.168.1.145 84:a8:e4:59:39:c1 
Jan  3 18:54:32 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPREQUEST(br-lan) 
192.168.1.145 84:a8:e4:59:39:c1 
Jan  3 18:54:32 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPACK(br-lan) 
192.168.1.145 84:a8:e4:59:39:c1 android_68627afa6176d7c0
Jan  3 18:54:53 OpenWrt daemon.info hostapd: wlan0: STA 84:a8:e4:59:39:c1 IEEE 
802.11: authenticated
Jan  3 18:54:53 OpenWrt daemon.info hostapd: wlan0: STA 84:a8:e4:59:39:c1 IEEE 
802.11: associated (aid 2)
Jan  3 18:54:53 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPDISCOVER(br-lan) 
84:a8:e4:59:39:c1 
Jan  3 18:54:53 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPOFFER(br-lan) 
192.168.1.145 84:a8:e4:59:39:c1 
Jan  3 18:54:53 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPREQUEST(br-lan) 
192.168.1.145 84:a8:e4:59:39:c1 
Jan  3 18:54:53 OpenWrt daemon.info dnsmasq-dhcp[17560]: DHCPACK(br-lan) 
192.168.1.145 84:a8:e4:59:39:c1 android_68627afa6176d7c0

Disabling wifi encryption didn't help.

Regards,
Nerijus
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] continuously requesting IP

2012-01-02 Thread Weedy
On 31/12/11 06:17 PM, Nerijus Baliunas wrote:
 Hello,
 
 Latest trunk, the client is re-requesting its IP addr continuously every 5-20 
 seconds:

I have seen this for months, it only happens with one of the clients at
that installation. I just filtered it out, but it would be nice if it
was fixed.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] continuously requesting IP

2012-01-02 Thread Jo-Philipp Wich
Hi.

 Is it because of dnsmasq (I didn't change its settings) or hostapd?

It seems to correlate with the WPA rekeying. You could try to lower the
group rekey interval and see if it helps.


~ Jow
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] continuously requesting IP

2012-01-02 Thread Nerijus Baliunas
On Mon, 02 Jan 2012 16:00:26 +0100 Jo-Philipp Wich x...@subsignal.org wrote:

 It seems to correlate with the WPA rekeying. You could try to lower the
 group rekey interval and see if it helps.

Do you mean wpa_group_rekey? It seems to be 600 by default, what should I set 
it to?

Regards,
Nerijus
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel