After reset and update to Kong latest, Wifi is very unstable

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
baxtex
DD-WRT User


Joined: 30 Dec 2014
Posts: 58

PostPosted: Wed Dec 12, 2018 6:40    Post subject: After reset and update to Kong latest, Wifi is very unstable Reply with quote
I usually only upgrade my Netgear R7000 once or twice every year. My last install was from May and was super stable and working perfectly even 100 days without reboot. I did a reset and flashed Kong's latest (3 december) and are having very weird issues regarding wifi. Every now and then the speed (when doing speedtest) is reduced to 0.5 Mbit/s. However if I turn off and on the wifi on the client (phone for example) I got my 100 Mbit/s back again, for a little while. Mind you that I would still have a "Excellent" connection to the network, its just the speed that is reduced.

It seems to me that wifi has gotten very unstable and maybe more specifically, the radios.

Is this the famous VAP bug I have encountered? I have read a little about it but I don't understand its consequences.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 3491
Location: Netherlands

PostPosted: Wed Dec 12, 2018 9:07    Post subject: Reply with quote
Have you erased NVRAM and put settings in manually?
The VAP bug only has an effect on a VAP besides Kong has gone back to different drivers in the 37900 build which should be better.
in the build thread there is no one else reporting this (yet, which does not mean it is not real and maybe a bug )

_________________
Routers: Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
Simple PBR (Policy Based Routing) script: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318662
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN server setup guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
baxtex
DD-WRT User


Joined: 30 Dec 2014
Posts: 58

PostPosted: Wed Dec 12, 2018 14:15    Post subject: Reply with quote
egc wrote:
Have you erased NVRAM and put settings in manually?
The VAP bug only has an effect on a VAP besides Kong has gone back to different drivers in the 37900 build which should be better.
in the build thread there is no one else reporting this (yet, which does not mean it is not real and maybe a bug )


Alright, no I just used the Reset option when updating firmware in the UI. I will do a NVRAM reset tonight and try again and report back.
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4342
Location: Germany

PostPosted: Wed Dec 12, 2018 14:31    Post subject: Reply with quote
I see a lot of people that still try to reset by running command:

erase nvram

this is not working anymore due to several changes in nvram handling.

Builds after 04/18 need:

nvram erase

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 3491
Location: Netherlands

PostPosted: Wed Dec 12, 2018 14:58    Post subject: Reply with quote
@Kong thanks for this, I tried both not long ago and both were resetting to default.

Correct me if I am wrong but does "erase nvram" not erases the nvram partition?
Which although resets but is not safe to use on all routers.

And what does "nvram erase" do? Is it just iterating through all the nvram parameters and set them to ""?
Is this safe to use on all routers?

Just curious Smile

_________________
Routers: Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
Simple PBR (Policy Based Routing) script: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318662
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN server setup guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4342
Location: Germany

PostPosted: Wed Dec 12, 2018 16:58    Post subject: Reply with quote
egc wrote:
@Kong thanks for this, I tried both not long ago and both were resetting to default.

Correct me if I am wrong but does "erase nvram" not erases the nvram partition?
Which although resets but is not safe to use on all routers.

And what does "nvram erase" do? Is it just iterating through all the nvram parameters and set them to ""?
Is this safe to use on all routers?

Just curious Smile


How did you verify, that nvram was erased?

If you call erase nvram then nvram mtd gets erased, but on reboot or any other action nvram is saved to mtd from ram. Thus unless you power off via button right after you called erase nvram you have not cleared anything. nvram erase however clears nvram in ram and then writes to flash.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 3491
Location: Netherlands

PostPosted: Wed Dec 12, 2018 17:26    Post subject: Reply with quote
This is what I just did:
Code:
BusyBox v1.29.3 (2018-12-03 01:21:24 CET) built-in shell (ash)

root@R6400v2:~# erase nvram
Flash is NAND
erase[1572864]
root@R6400v2:~# reboot


On reboot my settings where all gone and the router starts with asking for username/password, so that leds me to the conclusion that nvram was erased, but I did not check all nvram parameters.

But I will do and advise to do "nvram erase" in the future.
Thanks again for all your work.

_________________
Routers: Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
Simple PBR (Policy Based Routing) script: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318662
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN server setup guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 4558
Location: Texas

PostPosted: Wed Dec 12, 2018 17:49    Post subject: Reply with quote
egc wrote:
This is what I just did:
Code:
BusyBox v1.29.3 (2018-12-03 01:21:24 CET) built-in shell (ash)

root@R6400v2:~# erase nvram
Flash is NAND
erase[1572864]
root@R6400v2:~# reboot


On reboot my settings where all gone and the router starts with asking for username/password, so that leds me to the conclusion that nvram was erased, but I did not check all nvram parameters.

But I will do and advise to do "nvram erase" in the future.
Thanks again for all your work.

The only thing with 'nvram erase' it will not show --
Flash is NAND
erase[xxxxxx]

but after reboot it should be clean so might as well just do 'nvram erase && reboot'
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4342
Location: Germany

PostPosted: Wed Dec 12, 2018 20:19    Post subject: Reply with quote
egc wrote:
This is what I just did:
Code:
BusyBox v1.29.3 (2018-12-03 01:21:24 CET) built-in shell (ash)

root@R6400v2:~# erase nvram
Flash is NAND
erase[1572864]
root@R6400v2:~# reboot


On reboot my settings where all gone and the router starts with asking for username/password, so that leds me to the conclusion that nvram was erased, but I did not check all nvram parameters.


No only some of your settings where gone, the ones that don't get read very often. In RAM there is a certain amount of reserved space for nvram vars/keys, when reads/writes occur, they get cached and flushed out when a commit is called, e.g. reboot now calls a commit. That's also the reason why you have to call a commit to make a setting permananent:-)

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 3491
Location: Netherlands

PostPosted: Wed Dec 12, 2018 22:14    Post subject: Reply with quote
Thanks that clarifies a lot
_________________
Routers: Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
Simple PBR (Policy Based Routing) script: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318662
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN server setup guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4342
Location: Germany

PostPosted: Wed Dec 12, 2018 22:55    Post subject: Reply with quote
It could be probably worked around by a reset somewhere along the boot process or some other register hack.
_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Alozaros
DD-WRT Guru


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

PostPosted: Thu Dec 13, 2018 0:10    Post subject: Reply with quote
Kong is it on all the routers or only those you support?
thanks

_________________
Atheros
TP-Link WR1043NDv2 ------DD-WRT 40009 BS (AP,PPPoE,NAT,AD Blocking,AP Isolation,Firewall,Local DNS,Forced DNS,DoT)
TP-Link WR1043NDv2 ------DD-WRT 40352 BS (AP,NAT,AD Blocking,Firewall,Wi-Fi OFF,Local DNS,Forced DNS,DoT)
TP-Link WR1043NDv2.......... Gargoyle OS 1.11.0 (AP,NAT,QoS,Quotas)
Qualcomm/IPQ8065
Netgear R7800 ------------DD-WRT 40270M 4.9 Kong (AP,NAT,AD-Blocking,AP Isolation,Firewall,Local DNS,Forced DNS,DNSCrypt x2)
Broadcom
Netgear R7000 ---------DD-WRT 40270M Kong (AP,NAT,AD-Blocking,Firewall,Local DNS,Forced DNS,DoT)
Others
Netgear ProSAFE-GS105Ev2 ----(LAN Switch)

----------------------------------------------------------------------------------------------------
Stubby for DNS over TLS
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 3491
Location: Netherlands

PostPosted: Thu Dec 13, 2018 8:27    Post subject: Reply with quote
Interesting: https://svn.dd-wrt.com/changeset/37957
_________________
Routers: Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
Simple PBR (Policy Based Routing) script: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318662
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN server setup guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum