New Build - 03/05/2023 - r51937

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
twindragon6
DD-WRT User


Joined: 29 Jun 2008
Posts: 332

PostPosted: Wed Mar 08, 2023 12:30    Post subject: Re: Netgear Nighthawk R7000 Reply with quote
Tectonic Plates wrote:
twindragon6 wrote:

Reset: Nope, ran remove unused NVRAM parameters script.


Can you please elaborate on how you did?

Q1. What is unused NVRAM parameters and how do you know if it is unused?
Q2. Would it be OK to share the script?


https://wiki.dd-wrt.com/wiki/index.php/Useful_Scripts#Remove_unused_NVRAM_parameters

for line in $(nvram show | grep '=$'); do var=${line%=*}; nvram unset "$var"; done &&
nvram commit
Sponsor
citiot
DD-WRT Novice


Joined: 08 Mar 2023
Posts: 1

PostPosted: Wed Mar 08, 2023 22:04    Post subject: Reply with quote
Router/Version: Netgear R6400 v2
Firmware Version: DD-WRT v3.0-r51937 std (03/05/23)
Kernel Version: Linux DD-WRT 4.4.302-st37 #8841 SMP Sun Mar 5 04:35:14 +06 2023 armv7l DD-WRT
Previous/Reset: r51935 / No Reset
Mode/Status: Gateway / Working
Issues/Errors : no LAN IPv6 with XFinity (same as issue that PaulGo has)

Shortcut Forwarding Engine:CFE

Flow Acceleration: CTF and FA

I can only obtain a WAN IPv6 address with a firewall modification, but no LAN address. Just using IPV4 now. Tried settings that PaulGo used. No joy.
mj666
DD-WRT User


Joined: 26 Nov 2010
Posts: 58

PostPosted: Thu Mar 09, 2023 10:23    Post subject: Reply with quote
My RT-AC88U gateway router still did not reconnect to the Internet after an random reboot. Have this random reboots already since a long time for the two RT-AC88U routers. The reconnect problem is new since a few builds now. Will going to update and hope the problem will go away again.
_________________
Asus AC-RT88U (Gateway, asus_rt-ac88u-firmware_52459.trx)
Asus AC-RT88U (AP, asus_rt-ac88u-firmware_52459.trx)
Asus AC-RT68U (AP, asus_rt-ac68u-firmware_52459.trx)
Asus AC-RT66U (AP, dd-wrt-52459-Asus_RT-AC66U.trx)
Linksys E3000 (AP, dd-wrt.v24-52459_NEWD-2_K3.x_mega-e3000.bin)
Linksys E4200 V2 (openwrt-18.06.5-kirkwood-linksys_viper-squashfs-sysupgrade.bin) not used at the moment
wabe
DD-WRT Guru


Joined: 17 Jun 2006
Posts: 889

PostPosted: Fri Mar 10, 2023 15:17    Post subject: Re: Netgear Nighthawk R7000 Reply with quote
egc wrote:
Tectonic Plates wrote:
twindragon6 wrote:

Reset: Nope, ran remove unused NVRAM parameters script.


Can you please elaborate on how you did?

Q1. What is unused NVRAM parameters and how do you know if it is unused?
Q2. Would it be OK to share the script?


If you are not NVRAM constraint there is no need to run a script like this.
It was developed for routers with 32 K NVRAM see:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=291230&start=1
Look under " How to mitigate the 32KB bug "

The script looks for nvram entries which are empty e.g. nothing behind =

Note if you are using WireGuard you need the updated script otherwise the WireGuard keys are removed (those keys end always with =)

The last sentence, about Wireguard, ought to be in bold characters. Happened to me once, fortunately the keys were stored in a backupl

_________________
Netgear R7000 on Build 55109
Asus AC-AC68U rev. C1 (AP) on Build 55109
Asus AC-68U rev. A1 on Build 54604
Asus AC-68U rev. A1 on Build 53339
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11564
Location: Wherever the wind blows- North America

PostPosted: Fri Mar 10, 2023 15:36    Post subject: Re: Netgear Nighthawk R7000 Reply with quote
wabe wrote:

The last sentence, about Wireguard, ought to be in bold characters. Happened to me once, fortunately the keys were stored in a backupl


Yeah...been there too....the killer is that you can't use the web GUI to put the original Local Public Key back in...it won't let you edit that field...it has to be done via command line.

I learned the hard way too...keeping a plain text file of the "oet1" nvram variables can save you a lot of time.

redhawk
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Fri Mar 10, 2023 16:03    Post subject: Reply with quote
That is by design, you do not have to put the public key back only the private key.

The public key is calculated from the the private key Smile

But it does need an apply and a screen refresh to show.

_________________
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
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11564
Location: Wherever the wind blows- North America

PostPosted: Fri Mar 10, 2023 20:32    Post subject: Reply with quote
egc wrote:
That is by design, you do not have to put the public key back only the private key.

The public key is calculated from the the private key Smile

But it does need an apply and a screen refresh to show.


This may be true...but I tried hitting the Generate Key button...it gave me a new key...but it would no longer connect. I tried Apply and Reboot but the only way I could reconnect to the wg server was to set the original key by "nvram set" command through CLI.

I agree...it shouldn't change the way it connects...but....it sure did for me.

redhawk
Alozaros
DD-WRT Guru


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

PostPosted: Fri Mar 10, 2023 22:15    Post subject: Re: Netgear Nighthawk R7000 Reply with quote
twindragon6 wrote:
Tectonic Plates wrote:
twindragon6 wrote:

Reset: Nope, ran remove unused NVRAM parameters script.


Can you please elaborate on how you did?

Q1. What is unused NVRAM parameters and how do you know if it is unused?
Q2. Would it be OK to share the script?


https://wiki.dd-wrt.com/wiki/index.php/Useful_Scripts#Remove_unused_NVRAM_parameters

for line in $(nvram show | grep '=$'); do var=${line%=*}; nvram unset "$var"; done &&
nvram commit


this one will wipe some other stuff along with the unused nvram variables...like saved in GUI static leases...and ect. so be careful when using it... Laughing

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 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 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 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
Brimmy
DD-WRT User


Joined: 29 Mar 2015
Posts: 398

PostPosted: Fri Mar 10, 2023 23:36    Post subject: Reply with quote
Router/Version: Buffalo WZR-1750DHP/DHPD
Firmware: DD-WRT v3.0-r51937 std (03/05/23) (04/14/19
Kernel: Linux 4.4.302-st37 #8841 SMP Sun Mar 5 04:35:14 +06 2023 armv7l
Previous: r51530
Mode/Status: Gateway / WIFI = AP / Seems ok
CPU overclocked to 1400mhz from default 800mhz via r33006
Reset: No but i did power cycle after flashing
Issues/Errors: fq_codel_fast can not be set via QoS or startup/shutdown script
UpTime: 2h

My listed error has been happening since r51679 to this build but i had no problems enabling fq_codel_fast via QoS and a startup/shutdown script.

sysctl -w net.core.default_qdisc=fq_codel_fast is what i use for the startup/shutdown script.

Queuing Discipline stays on SFQ regardless of any changes via QoS or scripts. Going back to r51530
twindragon6
DD-WRT User


Joined: 29 Jun 2008
Posts: 332

PostPosted: Sat Mar 11, 2023 17:38    Post subject: Re: Netgear Nighthawk R7000 Reply with quote
Alozaros wrote:
twindragon6 wrote:
Tectonic Plates wrote:
twindragon6 wrote:

Reset: Nope, ran remove unused NVRAM parameters script.


Can you please elaborate on how you did?

Q1. What is unused NVRAM parameters and how do you know if it is unused?
Q2. Would it be OK to share the script?


https://wiki.dd-wrt.com/wiki/index.php/Useful_Scripts#Remove_unused_NVRAM_parameters

for line in $(nvram show | grep '=$'); do var=${line%=*}; nvram unset "$var"; done &&
nvram commit


this one will wipe some other stuff along with the unused nvram variables...like saved in GUI static leases...and ect. so be careful when using it... Laughing


Noted, I don't use DHCP for anything except WAN so it's not an issue for me.
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Mar 12, 2023 1:25    Post subject: Reply with quote
This script is no replacement to a reconfiguration after hardware reset, factory defaults, or nvram erase && reboot.
If you have no issues fine but with some years old configuration with unexplainable build results time to start over.
Of course you are free to fix your existing configuration but for testing builds to reproduce problems different story.
Alozaros
DD-WRT Guru


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

PostPosted: Sun Mar 12, 2023 8:21    Post subject: Reply with quote
blkt wrote:
This script is no replacement to a reconfiguration after hardware reset, factory defaults, or nvram erase && reboot.
If you have no issues fine but with some years old configuration with unexplainable build results time to start over.
Of course you are free to fix your existing configuration but for testing builds to reproduce problems different story.


i second blkt...! To get rid of all gremlins and old nvram variables...nothing better than reset and manual reconfigure...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 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 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 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
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT 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