R7800 & iPhone: Wifi Problems

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
Giuliano1969
DD-WRT Novice


Joined: 16 Oct 2009
Posts: 43

PostPosted: Sun Oct 02, 2022 10:55    Post subject: R7800 & iPhone: Wifi Problems Reply with quote
I'm using a Netgear R7800 with ddwrt from years.
Using android the wifi seems good..

BUT
My sons that are using iPhone (11 and 13), are experimenting wifi disconnections.
These problems happened with the old kongat firmware, and are still present with the new r50176 , setting the wifi driver in vanilla.

They loose the wifi connection and it get back after few minutes.

KINDLY ASK
-Are there any problem known between ddwrt & iPhone or R7800 & iPhone ?
-Is there some way to log in ddwrt the problems that caused the disconnection, or a way to monitor wireless channels ?
-Any special settings that I may try in the wireless configuration ?

BR
Giuliano

_________________
Netgear R7800
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Sun Oct 02, 2022 13:46    Post subject: Reply with quote
nope there are no problems with R7800 WiFi... i have 50+ various clients, no complains as well im ibone user too...
the problem is you didn't expose settings you do have/use and its hard for the others to guess..or help you...
post a pic of your wi-fi settings...
other possible source of issues are congested network environment...
i guess as you didn't mention witch band is affected...very likely to be 5Ghz and very often bad configuration or wrong channels selected...
for more... to be continued..... Razz Cool

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Giuliano1969
DD-WRT Novice


Joined: 16 Oct 2009
Posts: 43

PostPosted: Mon Oct 03, 2022 18:49    Post subject: Reply with quote
Thanks Alozaros for your kind reply.

Here are the screenshot for :
-the lan status wifi signal
-the wireless config
-Channel Survey and Qualities

Hope this may help finding the problem.... and a solution. Smile

BR
Giuliano

_________________
Netgear R7800
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Mon Oct 03, 2022 19:26    Post subject: Reply with quote
On wlan0 (5GHz), make the following changes:

Code:
Network Mode: AC/N-Mixed
Channel Width: VHT80
Channel: PICK ONE, do NOT use AUTO
Extension Channel: will be dependent on chosen channel and regulatory domain
SSID: Cisco878-5GHz
TX Power: 26 (you can't override this that I know of?)
Short Preamble: Enable
Sensitivity Range / ACK Timing: 900 or 1350


On wlan1 (2.4GHz), make the following changes:

Code:
Channel Width: 20MHz or 40MHz
Channel: PICK ONE, do NOT use AUTO
Extension Channel: Upper or Lower
SSID: Cisco878-2.4GHz
Tx Power: 20 (again, don't think this can be modified as it is hard-coded?)
Short Preamble: Enable
Sensitivity Range: 900 or 1350


The above is the *minimum* changes needed to see a difference in your wifi. You didn't share your wireless security settings, which may need to be reviewed as well.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 259

PostPosted: Mon Oct 03, 2022 19:36    Post subject: Re: R7800 & iPhone: Wifi Problems Reply with quote
Giuliano1969 wrote:
I'm using a Netgear R7800 with ddwrt from years.
Using android the wifi seems good..

....

BR
Giuliano


Have had the same issue for a long period and haven't had much success in resolving this.
Happened with IP-12 and continues on IP-13 Shocked

See my post if you'd like
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=330257

that was for IP-12. My IP-13 behaves similarly.
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Mon Oct 03, 2022 20:32    Post subject: Re: R7800 & iPhone: Wifi Problems Reply with quote
nkaufman wrote:
Giuliano1969 wrote:
I'm using a Netgear R7800 with ddwrt from years.
Using android the wifi seems good..

....

BR
Giuliano


Have had the same issue for a long period and haven't had much success in resolving this.
Happened with IP-12 and continues on IP-13 Shocked

See my post if you'd like
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=330257

that was for IP-12. My IP-13 behaves similarly.


in order to make router better with Iphones try to change sysctl settings to:

tcp_low_latency = 1
tcp_timestamps = 0
tcp_slow_start_after_idle = 0

i guess you already did those...
tcp_tw_recycle = 0
tcp_tw_reuse = 0

ive done those ages ago but in fact i have no issues with wifi as i mentioned...
also things to try

add to wi-fi password page> hostapd(box) this line is to not disconnect the wi fi clients

ap_max_inactivity=600 try with 900 too...

use for 2,4Ghz NG mixed or mixed is you use NG mixed
add those to hostapd
basic_rates=60
supported_rates=60 90 120 180 240 360 480 540

i do not use Iphones private address future...as i gave those static leases...its close to mind why...
i do not use airtime fairness....
and ack time is 900

all those settings i found search in the forum read read, spend lots of time testing, exploring, but haven't complain a single time... now you have the free lunch... Razz
if those do not work for you hammer iphones and get new Razz bear in mind problem could be also bad drivers client side or bad app in the phone...malicious activity too...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 259

PostPosted: Mon Oct 03, 2022 22:06    Post subject: Re: R7800 & iPhone: Wifi Problems Reply with quote
Alozaros wrote:

in order to make router better with Iphones try to change sysctl settings to:
...


Thank you.
Your post has motivated me to make another attempt to see if I can resolve this now Wink

I'm using R7800, v3.0-r50308

iPhone - I've had the Private Wi-Fi Address disabled
I do have Limit IP Address Tracking - enabled
Haven't given a static IP but can certainly try that.

Under Admin->Sysctl,
I no longer see tcp_tw_recycle, was this taken away

and other settings are
tcp_tw_reuse = 0
tcp_low_latency = 0 --- need to change this per your post
tcp_timestamps = 1 --- need to change this per your post
tcp_slow_start_after_idle = 1 --- need to change this per your post


ap_max_inactivity=600 - Should I add to Wireless Security -> custom config box?

I have in custom config box for both 2.4GHz and 5GHz
basic_rates=60 120 240
supported_rates=60 90 120 180 240 360 480 540


Following are my wireless settings and security settings
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Mon Oct 03, 2022 23:55    Post subject: Re: R7800 & iPhone: Wifi Problems Reply with quote
nkaufman wrote:
Under Admin->Sysctl,
I no longer see tcp_tw_recycle, was this taken away

Yes.

nkaufman wrote:
ap_max_inactivity=600 - Should I add to Wireless Security -> custom config box?

Uh-huhm.

nkaufman wrote:
I have in custom config box for both 2.4GHz and 5GHz
basic_rates=60 120 240
supported_rates=60 90 120 180 240 360 480 540

Remove from 5GHz, that is only for 2.4 band.

nkaufman wrote:
Following are my wireless settings and security settings

On 2.4GHz band:

Code:
Channel 4 is not optimal, 1, 6, and 11 are.
Beacon Interval should be 100.
DTIM 1 or 2.
Sensitivity Range/ACK Timing should be 900 or 1350.

On 5GHz band:

Code:
Beacon Interval should be 100.
DTIM 1 or 2.
Sensitivity Range/ACK Timing should be 900 or 1350.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 259

PostPosted: Tue Oct 04, 2022 15:27    Post subject: Re: R7800 & iPhone: Wifi Problems Reply with quote
kernel-panic69 wrote:

nkaufman wrote:
ap_max_inactivity=600 - Should I add to Wireless Security -> custom config box?

Uh-huhm.


Was wondering if I need to add it to the following section (like I did just to show)
Under Wireless -> Wireless Security

If this is the place to add, do I add ap_max_inactivity=600 to both 5GHz and 24GHz Custom Config sections?

And if this is Not the place to add then please let me know which one is.

Thanks
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 259

PostPosted: Sat Nov 12, 2022 17:29    Post subject: Reply with quote
And now it seems that the 5GHZ network takes a long time to show up when Windows laptops are turned on etc, i.e. any Network Scanning shows 2.4GHz immediately and can take up to 5 min for 5GHz to show up
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Nov 12, 2022 17:40    Post subject: Reply with quote
Try not to use a DFS channel, the wiki has a warnings about this:
https://wiki.dd-wrt.com/wiki/index.php/QCA_wireless_settings#Extension_Channel

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 259

PostPosted: Sun Nov 13, 2022 14:30    Post subject: Reply with quote
egc wrote:
Try not to use a DFS channel, the wiki has a warnings about this:
https://wiki.dd-wrt.com/wiki/index.php/QCA_wireless_settings#Extension_Channel


I've tried several channels and my speedtest numbers seem to be best with channel - 132.

Is there something else in my config that could be causing an issue?

Also, I've been upgrading the versions every month and it has been a while since I reset all settings etc. Could that cause an issue?

thanks,
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sun Nov 13, 2022 15:08    Post subject: Reply with quote
Quote:
*WARNING ABOUT USING DFS Channels: Using DFS can significantly increase 5 GHz association times because devices (STAs) can only passively scan for available APs. So instead of being able to send out a probe request and waiting for APs to reply, a STA using DFS channels must wait until an AP announces itself. You wouldn't think this would make much difference, but when switching from running 2.4 to 5 GHz tests, it took over a minute to find and associate to the router's 5 GHz SSID. IF YOU USE DFS CHANNELS MAKE SURE TO TURN OFF RADAR DETECTION TO AVOID THIS REQUIREMENT. DON'T BREAK ANY LAWS IF YOU LIVE NEAR A RADAR STATION!

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
nkaufman
DD-WRT User


Joined: 21 Jun 2015
Posts: 259

PostPosted: Sun Nov 13, 2022 15:57    Post subject: Reply with quote
egc wrote:
Quote:
*WARNING ABOUT USING DFS Channels: Using DFS can significantly increase 5 GHz association times because devices (STAs) can only passively scan for available APs. So instead of being able to send out a probe request and waiting for APs to reply, a STA using DFS channels must wait until an AP announces itself. You wouldn't think this would make much difference, but when switching from running 2.4 to 5 GHz tests, it took over a minute to find and associate to the router's 5 GHz SSID. IF YOU USE DFS CHANNELS MAKE SURE TO TURN OFF RADAR DETECTION TO AVOID THIS REQUIREMENT. DON'T BREAK ANY LAWS IF YOU LIVE NEAR A RADAR STATION!



Yes I did read that.

My issue is - If I use other channels my speedtest results are half or worse than what I get when I'm using channel 132.
This suggests that perhaps there is some other setting(s) that's causing this issue.

Can certainly try using a channel with lower speed for a day or two and see if I see delayed connection
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sun Nov 13, 2022 16:00    Post subject: Reply with quote
Quote:
IF YOU USE DFS CHANNELS MAKE SURE TO TURN OFF RADAR DETECTION TO AVOID THIS REQUIREMENT.


So radar detection is done by the router, not the client.
Simply explained, the router is supposed to change the channel when it detects a primary user like TDWR.

The "radar detection" option has no influence on the clients.
The "radar detection" also does not force clients to scan passively, but this is the "NO IR" flag.
This means "no initiating radiation" and is in the firmware of the client.
The "NO IR" flag prohibits clients from sending probe requests on DFS channels....

You can set whatever you want on the router, but it has no effect on the clients.

So if the router is operated in router mode, this setting does not change the client behaviour.


Quote:
Old regulatory rule flags like passive-scan and no-beaconing were originally invented to help with World Roaming, these two are now combined into the one and only no-ir, for no-initiating-radiation.


Last edited by ho1Aetoo on Sun Nov 13, 2022 16:48; edited 1 time in total
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum