Unstable WLAN - Drops after 2-3 days

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
ripmyundies
Posts: 19
Joined: Fri Jul 15, 2011 6:55 am

Unstable WLAN - Drops after 2-3 days

Post by ripmyundies »

Hi All

I have a WRT64G (v2) and also tried a WRT54GS (v2) and get the same issue run 1.4.1

After about 1-4 days, it drops Wifi, the wired works fine but the only way to get Wifi back is to reboot the router. I thought it was the WRT65G (not as much memory) so got a cheap WRT54GS and have the same issue.

Any ideas?

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Unstable WLAN - Drops after 2-3 days

Post by pbix »

After your WAN has dropped post the output of 'logread' on this thread. Maybe that will give us a clue.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

ripmyundies
Posts: 19
Joined: Fri Jul 15, 2011 6:55 am

Re: Unstable WLAN - Drops after 2-3 days

Post by ripmyundies »

Hi...it did it again after a few hrs since a reboot. There was a fair amount of traffic going on wifi...lodread as below;



Sep 4 07:52:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 07:52:05 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 07:52:05 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 07:52:05 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 07:52:05 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 08:00:01 Gargoyle cron.err crond[2711]: USER root pid 3229 cmd /usr/bin/backup_quotas >/dev/ null 2>&1
Sep 4 08:00:01 Gargoyle cron.err crond[2711]: USER root pid 3230 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 08:00:02 Gargoyle cron.err crond[2711]: USER root pid 3231 cmd date -u +"%Y.%m.%d-%H:%M:%S" >/usr/data/time_backup
Sep 4 08:00:02 Gargoyle cron.err crond[2711]: USER root pid 3232 cmd /tmp/do_bw_backup.sh
Sep 4 08:01:01 Gargoyle cron.err crond[2711]: USER root pid 3261 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 08:02:02 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 08:02:02 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 08:02:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 08:02:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 08:11:01 Gargoyle cron.err crond[2711]: USER root pid 3277 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 08:12:02 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 08:12:02 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 08:12:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 08:12:04 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 08:21:01 Gargoyle cron.err crond[2711]: USER root pid 3293 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 08:22:02 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 08:22:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 08:22:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 08:22:04 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 08:31:01 Gargoyle cron.err crond[2711]: USER root pid 3313 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 08:32:02 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 08:32:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 08:32:05 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 08:32:05 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 08:32:05 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 08:32:06 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 08:33:46 Gargoyle daemon.info hostapd: wlan0: STA f0:7b:cb:4f:47:05 IEEE 802.11: authenticat ed
Sep 4 08:33:46 Gargoyle daemon.info hostapd: wlan0: STA f0:7b:cb:4f:47:05 IEEE 802.11: associated (aid 4)
Sep 4 08:33:47 Gargoyle daemon.info hostapd: wlan0: STA f0:7b:cb:4f:47:05 WPA: pairwise key handsh ake completed (WPA)
Sep 4 08:33:48 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPREQUEST(br-lan) 192.168.1.127 f0:7b:cb :4f:47:05
Sep 4 08:33:48 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPACK(br-lan) 192.168.1.127 f0:7b:cb:4f: 47:05 Adam
Sep 4 08:33:48 Gargoyle daemon.info hostapd: wlan0: STA f0:7b:cb:4f:47:05 WPA: group key handshake completed (WPA)
Sep 4 08:33:48 Gargoyle daemon.warn dnsmasq[1918]: not giving name Adam.lan to the DHCP lease of 1 92.168.1.127 because the name exists in /etc/hosts with address 192.168.1.128
Sep 4 08:33:48 Gargoyle daemon.warn dnsmasq[1918]: not giving name Adam to the DHCP lease of 192.1 68.1.127 because the name exists in /etc/hosts with address 192.168.1.128
Sep 4 08:33:48 Gargoyle daemon.warn dnsmasq[1918]: not giving name Iconia.lan to the DHCP lease of 192.168.1.130 because the name exists in /etc/hosts with address 192.168.1.129
Sep 4 08:33:48 Gargoyle daemon.warn dnsmasq[1918]: not giving name Iconia to the DHCP lease of 192 .168.1.130 because the name exists in /etc/hosts with address 192.168.1.129
Sep 4 08:36:56 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPINFORM(br-lan) 192.168.1.127 f0:7b:cb: 4f:47:05
Sep 4 08:36:56 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPACK(br-lan) 192.168.1.127 f0:7b:cb:4f: 47:05 AdamAcer
Sep 4 08:36:59 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPINFORM(br-lan) 192.168.1.127 f0:7b:cb: 4f:47:05
Sep 4 08:36:59 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPACK(br-lan) 192.168.1.127 f0:7b:cb:4f: 47:05 AdamAcer
Sep 4 08:41:01 Gargoyle cron.err crond[2711]: USER root pid 3355 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 08:42:02 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 08:42:02 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 08:42:03 Gargoyle daemon.info hostapd: wlan0: STA f0:7b:cb:4f:47:05 WPA: group key handshake completed (WPA)
Sep 4 08:42:04 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 08:42:04 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 08:51:01 Gargoyle cron.err crond[2711]: USER root pid 3375 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 08:51:13 Gargoyle daemon.info hostapd: wlan0: STA 98:4b:4a:7d:2d:b0 IEEE 802.11: authenticat ed
Sep 4 08:51:13 Gargoyle daemon.info hostapd: wlan0: STA 98:4b:4a:7d:2d:b0 IEEE 802.11: associated (aid 5)
Sep 4 08:51:18 Gargoyle daemon.info hostapd: wlan0: STA 98:4b:4a:7d:2d:b0 IEEE 802.11: deauthentic ated due to local deauth request
Sep 4 08:52:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 08:52:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 08:52:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 08:52:07 Gargoyle daemon.info hostapd: wlan0: STA f0:7b:cb:4f:47:05 IEEE 802.11: deauthentic ated due to local deauth request
Sep 4 09:00:01 Gargoyle cron.err crond[2711]: USER root pid 3415 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 09:01:01 Gargoyle cron.err crond[2711]: USER root pid 3419 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 09:02:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 09:02:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 09:02:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 09:06:35 Gargoyle daemon.info hostapd: wlan0: STA 00:21:6a:5f:db:58 IEEE 802.11: authenticat ed
Sep 4 09:06:35 Gargoyle daemon.info hostapd: wlan0: STA 00:21:6a:5f:db:58 IEEE 802.11: associated (aid 4)
Sep 4 09:06:35 Gargoyle daemon.info hostapd: wlan0: STA 00:21:6a:5f:db:58 WPA: pairwise key handsh ake completed (WPA)
Sep 4 09:06:35 Gargoyle daemon.info hostapd: wlan0: STA 00:21:6a:5f:db:58 WPA: group key handshake completed (WPA)
Sep 4 09:06:37 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPDISCOVER(br-lan) 192.168.1.121 00:21:6 a:5f:db:58
Sep 4 09:06:37 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPOFFER(br-lan) 192.168.1.121 00:21:6a:5 f:db:58
Sep 4 09:06:37 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPREQUEST(br-lan) 192.168.1.121 00:21:6a :5f:db:58
Sep 4 09:06:37 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPACK(br-lan) 192.168.1.121 00:21:6a:5f: db:58 Thinkpad
Sep 4 09:06:37 Gargoyle daemon.warn dnsmasq[1918]: not giving name Thinkpad.lan to the DHCP lease of 192.168.1.121 because the name exists in /etc/hosts with address 192.168.1.120
Sep 4 09:06:37 Gargoyle daemon.warn dnsmasq[1918]: not giving name Thinkpad to the DHCP lease of 1 92.168.1.121 because the name exists in /etc/hosts with address 192.168.1.120
Sep 4 09:06:37 Gargoyle daemon.warn dnsmasq[1918]: not giving name Adam.lan to the DHCP lease of 1 92.168.1.127 because the name exists in /etc/hosts with address 192.168.1.128
Sep 4 09:06:37 Gargoyle daemon.warn dnsmasq[1918]: not giving name Adam to the DHCP lease of 192.1 68.1.127 because the name exists in /etc/hosts with address 192.168.1.128
Sep 4 09:06:37 Gargoyle daemon.warn dnsmasq[1918]: not giving name Iconia.lan to the DHCP lease of 192.168.1.130 because the name exists in /etc/hosts with address 192.168.1.129
Sep 4 09:06:37 Gargoyle daemon.warn dnsmasq[1918]: not giving name Iconia to the DHCP lease of 192 .168.1.130 because the name exists in /etc/hosts with address 192.168.1.129
Sep 4 09:06:40 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPREQUEST(br-lan) 192.168.1.121 00:21:6a :5f:db:58
Sep 4 09:06:40 Gargoyle daemon.info dnsmasq-dhcp[1918]: DHCPACK(br-lan) 192.168.1.121 00:21:6a:5f: db:58 Thinkpad
Sep 4 09:06:40 Gargoyle daemon.warn dnsmasq[1918]: not giving name Thinkpad.lan to the DHCP lease of 192.168.1.121 because the name exists in /etc/hosts with address 192.168.1.120
Sep 4 09:06:40 Gargoyle daemon.warn dnsmasq[1918]: not giving name Thinkpad to the DHCP lease of 1 92.168.1.121 because the name exists in /etc/hosts with address 192.168.1.120
Sep 4 09:06:40 Gargoyle daemon.warn dnsmasq[1918]: not giving name Adam.lan to the DHCP lease of 1 92.168.1.127 because the name exists in /etc/hosts with address 192.168.1.128
Sep 4 09:06:40 Gargoyle daemon.warn dnsmasq[1918]: not giving name Adam to the DHCP lease of 192.1 68.1.127 because the name exists in /etc/hosts with address 192.168.1.128
Sep 4 09:06:40 Gargoyle daemon.warn dnsmasq[1918]: not giving name Iconia.lan to the DHCP lease of 192.168.1.130 because the name exists in /etc/hosts with address 192.168.1.129
Sep 4 09:06:40 Gargoyle daemon.warn dnsmasq[1918]: not giving name Iconia to the DHCP lease of 192 .168.1.130 because the name exists in /etc/hosts with address 192.168.1.129
Sep 4 09:11:01 Gargoyle cron.err crond[2711]: USER root pid 3467 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 09:12:03 Gargoyle daemon.info hostapd: wlan0: STA 00:21:6a:5f:db:58 WPA: group key handshake completed (WPA)
Sep 4 09:12:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 09:12:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 09:12:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 09:21:01 Gargoyle cron.err crond[2711]: USER root pid 3487 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 09:22:03 Gargoyle daemon.info hostapd: wlan0: STA 00:21:6a:5f:db:58 WPA: group key handshake completed (WPA)
Sep 4 09:22:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 09:22:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 09:22:04 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 09:22:04 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Sep 4 09:31:01 Gargoyle cron.err crond[2711]: USER root pid 3507 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 09:32:03 Gargoyle daemon.info hostapd: wlan0: STA 00:21:6a:5f:db:58 WPA: group key handshake completed (WPA)
Sep 4 09:32:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 09:32:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 09:32:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 09:41:01 Gargoyle cron.err crond[2711]: USER root pid 3529 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 09:42:03 Gargoyle daemon.info hostapd: wlan0: STA 00:21:6a:5f:db:58 WPA: group key handshake completed (WPA)
Sep 4 09:42:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e WPA: group key handshake completed (WPA)
Sep 4 09:42:03 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d WPA: group key handshake completed (WPA)
Sep 4 09:42:03 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 WPA: group key handshake completed (WPA)
Sep 4 09:51:01 Gargoyle cron.err crond[2711]: USER root pid 3549 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Sep 4 09:52:07 Gargoyle daemon.info hostapd: wlan0: STA 00:21:6a:5f:db:58 IEEE 802.11: deauthentic ated due to local deauth request
Sep 4 09:52:07 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:89:a7:6d IEEE 802.11: deauthentic ated due to local deauth request
Sep 4 09:52:07 Gargoyle daemon.info hostapd: wlan0: STA e0:b9:a5:4e:54:6e IEEE 802.11: deauthentic ated due to local deauth request
Sep 4 09:52:07 Gargoyle daemon.info hostapd: wlan0: STA b4:07:f9:c1:12:b9 IEEE 802.11: deauthentic ated due to local deauth request
root@Gargoyle:~#

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Unstable WLAN - Drops after 2-3 days

Post by pbix »

I see the errors "deauthenticated due to local deauth request" in your output. This seems to be an issue with the hostapd deamon and not a Gargoyle specific issue. Your best shot will be to take this up over at OpenWrt.org. Start a new thread there and post your logread output. Hopefully someone who knows something about hostapd will take up the issue.

Now I did some reading and saw that some folks are able to recover such wifi issues by typing 'wifi' at the command line. This will re-init your wifi and is less dramatic than a reboot. It would also indicate that we are on the right track by accusing hostapd.

Good luck.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

mix
Posts: 292
Joined: Sun Feb 27, 2011 11:18 am

Re: Unstable WLAN - Drops after 2-3 days

Post by mix »

Speaking of logread, is it normal to see this message reoccurring every 10 minutes? logread is full of them.

Sep 4 11:31:01 Gargoyle cron.err crond[2159]: USER root pid 4233 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
WRT54GL v1.1
Gargoyle 1.4.7

Post Reply