Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
thelordabdo
Posts: 33
Joined: Thu Aug 27, 2015 6:25 pm

Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by thelordabdo »

I am using Gargoyle 1.10.0 , Sometimes I got a Disconnection spikes ( usually for few second ) and I can feel that this is happening many times a day for all of my devices , I have captured the log at the moment of the disconnection now (about 5 seconds of disconnection ) :

Code: Select all

Thu Oct 24 02:26:27 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: authenticated
Thu Oct 24 02:26:27 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: associated (aid 2)
Thu Oct 24 02:26:27 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb RADIUS: starting accounting session EFE9566181978ED4
Thu Oct 24 02:26:27 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb WPA: pairwise key handshake completed (RSN)
Thu Oct 24 02:26:27 2019 daemon.info dnsmasq-dhcp[2304]: DHCPREQUEST(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb 
Thu Oct 24 02:26:27 2019 daemon.info dnsmasq-dhcp[2304]: DHCPACK(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb Abdo_Asus_Wireless
and if I go back at the log I can see that this is happening so many times at a very short interval :

Code: Select all

Wed Oct 23 23:08:45 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: authenticated
Wed Oct 23 23:08:45 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: associated (aid 2)
Wed Oct 23 23:08:45 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb RADIUS: starting accounting session EFE9566181978ED4
Wed Oct 23 23:08:45 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb WPA: pairwise key handshake completed (RSN)
Wed Oct 23 23:08:45 2019 daemon.info dnsmasq-dhcp[2304]: DHCPREQUEST(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb 
Wed Oct 23 23:08:45 2019 daemon.info dnsmasq-dhcp[2304]: DHCPACK(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb Abdo_Asus_Wireless
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Wed Oct 23 23:13:07 2019 daemon.err uhttpd[1472]: sh: write error: Broken pipe
Thu Oct 24 00:15:09 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: authenticated
Thu Oct 24 00:15:09 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: associated (aid 2)
Thu Oct 24 00:15:09 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb RADIUS: starting accounting session EFE9566181978ED4
Thu Oct 24 00:15:09 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb WPA: pairwise key handshake completed (RSN)
Thu Oct 24 00:15:09 2019 daemon.info dnsmasq-dhcp[2304]: DHCPREQUEST(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb 
Thu Oct 24 00:15:09 2019 daemon.info dnsmasq-dhcp[2304]: DHCPACK(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb Abdo_Asus_Wireless
Thu Oct 24 00:33:05 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: authenticated
Thu Oct 24 00:33:05 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: associated (aid 2)
Thu Oct 24 00:33:05 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb RADIUS: starting accounting session EFE9566181978ED4
Thu Oct 24 00:33:05 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb WPA: pairwise key handshake completed (RSN)
Thu Oct 24 00:33:05 2019 daemon.info dnsmasq-dhcp[2304]: DHCPREQUEST(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb 
Thu Oct 24 00:33:05 2019 daemon.info dnsmasq-dhcp[2304]: DHCPACK(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb Abdo_Asus_Wireless
Thu Oct 24 00:49:30 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: authenticated
Thu Oct 24 00:49:30 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: associated (aid 2)
Thu Oct 24 00:49:30 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb RADIUS: starting accounting session EFE9566181978ED4
Thu Oct 24 00:49:30 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb WPA: pairwise key handshake completed (RSN)
Thu Oct 24 00:49:31 2019 daemon.info dnsmasq-dhcp[2304]: DHCPREQUEST(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb 
Thu Oct 24 00:49:31 2019 daemon.info dnsmasq-dhcp[2304]: DHCPACK(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb Abdo_Asus_Wireless
Thu Oct 24 01:03:26 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: authenticated
Thu Oct 24 01:03:26 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: associated (aid 2)
Thu Oct 24 01:03:26 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb RADIUS: starting accounting session EFE9566181978ED4
Thu Oct 24 01:03:26 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb WPA: pairwise key handshake completed (RSN)
Thu Oct 24 01:03:26 2019 daemon.info dnsmasq-dhcp[2304]: DHCPREQUEST(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb 
Thu Oct 24 01:03:26 2019 daemon.info dnsmasq-dhcp[2304]: DHCPACK(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb Abdo_Asus_Wireless
Thu Oct 24 02:26:27 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: authenticated
Thu Oct 24 02:26:27 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb IEEE 802.11: associated (aid 2)
Thu Oct 24 02:26:27 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb RADIUS: starting accounting session EFE9566181978ED4
Thu Oct 24 02:26:27 2019 daemon.info hostapd: wlan0: STA dc:85:de:e4:a2:fb WPA: pairwise key handshake completed (RSN)
Thu Oct 24 02:26:27 2019 daemon.info dnsmasq-dhcp[2304]: DHCPREQUEST(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb 
Thu Oct 24 02:26:27 2019 daemon.info dnsmasq-dhcp[2304]: DHCPACK(br-lan) 192.168.0.50 dc:85:de:e4:a2:fb Abdo_Asus_Wireless
this is my Wireless settings :

Code: Select all

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'platform/qca955x_wmac'
	option country 'JP3'
	option channel '13'
	option noscan '1'
	option hwmode '11g'
	option htmode 'HT40-'
	option txpower '24'

config wifi-iface 'ap_g'
	option device 'radio0'
	option mode 'ap'
	option network 'lan'
	option disassoc_low_ack '0'
        option wpa_strict_rekey '1'
        option wpa_group_rekey '86400'
	option wds '1'
	option ssid 'Abdo-Gargoyle'
	option encryption 'psk2'
	option key 'hidden'
For weeks I am trying to modify configuration using WinSCP , but this disconnections keep happening , any ideas ?
Archer C7 V5 / Gargoyle 1.12.0
TL-WR1043ND V2 / Gargoyle 1.10.0
TL-WR841ND V9 / GArgoyle 1.10.0

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by Lantis »

Is this the only client that has this issue?
Also JP3 is not a valid country setting that I'm aware of.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

thelordabdo
Posts: 33
Joined: Thu Aug 27, 2015 6:25 pm

Re: Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by thelordabdo »

Lantis wrote:Is this the only client that has this issue?
Also JP3 is not a valid country setting that I'm aware of.
No , this was with my Laptop because its the only active device at this time interval , but I saw this happening before with my phone and many other family devices , they are all Complaining from disconnection spikes sometimes , its just hardly to notice because the recover takes just few seconds (sometimes alot more) .
For JP3 its for Japan Code , as I found this Country code has the most stable channel 13
Archer C7 V5 / Gargoyle 1.12.0
TL-WR1043ND V2 / Gargoyle 1.10.0
TL-WR841ND V9 / GArgoyle 1.10.0

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by RomanHK »

Linux (OpenWrt - Gargoyle) does not support "JP3" (also "EU") see: https://git.kernel.org/pub/scm/linux/ke ... ree/db.txt

Changing the country does not affect stability. Changing the country changes only the power, frequency range and 5GHz DFS.

:!: Please observe the country's statutory performance and do not violate standards (eg IEEE 802.11n-2009)!
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by RomanHK »

:idea: I assume frequent reconnections due to key reinstallation. Try deleting these rows:

Code: Select all

option wpa_strict_rekey '1'
option wpa_group_rekey '86400'
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by ispyisail »

Are you trying to use a country that your not in?

thelordabdo
Posts: 33
Joined: Thu Aug 27, 2015 6:25 pm

Re: Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by thelordabdo »

RomanHK wrote:Linux (OpenWrt - Gargoyle) does not support "JP3" (also "EU") see:
Thank for the information , I have changed the country code to JP , but I am wondering if JP3 is not valid option , how could the Wifi worked all this time with a non valid country code , also I remember I could get the frequency list by running 'iw reg get' with the JP3 !

I have removed :

Code: Select all

option wpa_strict_rekey '1'
option wpa_group_rekey '86400'
to see if the disconnection problem would be fixed , although I have added these two lines one week ago while trying to fix stability problem as per some guides at openwrt forums .
Archer C7 V5 / Gargoyle 1.12.0
TL-WR1043ND V2 / Gargoyle 1.10.0
TL-WR841ND V9 / GArgoyle 1.10.0

thelordabdo
Posts: 33
Joined: Thu Aug 27, 2015 6:25 pm

Re: Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by thelordabdo »

ispyisail wrote:Are you trying to use a country that your not in?
Yes for many reasons :
first : at my country many of the routers and wifi devices are sold without my country code option .
second : although channel 13 is available for my country code , but the channels has a slightly different range for different country codes ( I am not very sure ) , so some of my devices cant see the wifi at all for some codes while other codes are working at the same channel .
Third : where I live most of the people are not using the country code or don't even know about it , and for the Wifi Authorities _ dont think they are exit here :roll: _ I don't think they even care about it .
The only authorities here I can imagine they may look for wifi frequencies are the National Security and the Military intelligence and they don't care about commercial frequences .
Archer C7 V5 / Gargoyle 1.12.0
TL-WR1043ND V2 / Gargoyle 1.10.0
TL-WR841ND V9 / GArgoyle 1.10.0

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by ispyisail »

From my understanding the firmware has some smarts build it to detect where you actually live.

It then won't let you............

Lantis will have a better answer

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Wifi/Internet Disconnection spikes TL-WR1043N/ND v2

Post by Lantis »

You're not supposed to use the wrong country code is the long and short of it.

Your Wi-Fi disconnections are likely not a Gargoyle only problem and exist in the upstream project.
You can try a later version for a hopeful fix, or try OpenWrt to see if if behaves better.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply