New Build - 03/30/2020 - r42819

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4  Next
Author Message
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Thu Apr 02, 2020 10:45    Post subject: Reply with quote
From page two of the first thread I linked (3 pages of goodies there).

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1184257#1184256

egc wrote:
It does the same Smile
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Thu Apr 02, 2020 10:45    Post subject: Reply with quote
nickant wrote:
To: mrjcd & blkt:

My startup commands:
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n ondemand > $CPUFREQ; done
echo 35 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor

Should I change the first command to be the same as blkt?
How is it CPUGOV different to CPUFREQ for the EA8500?

Cheers


It is the same it is just the name of a variable you can also call it CAT or DOG Smile

@blkt , the fastest forum guru on earth Very Happy

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


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Thu Apr 02, 2020 10:56    Post subject: Reply with quote
Here is mine and it suits me.
my 'sampling_down_factor' = 1 which is default if you set to 'ondemand'
Code:
mrjcd@Will-Be-Was:~$ ssh root@citadel-station-homeworld.mrjcd.com
DD-WRT v3.0-r42819 std (c) 2020 NewMedia-NET GmbH
Release: 03/30/20
Board: Linksys EA8500
==========================================================
 
     ___  ___     _      _____  ______       ____  ___
    / _ \/ _ \___| | /| / / _ \/_  __/ _  __|_  / / _ \
   / // / // /___/ |/ |/ / , _/ / /   | |/ //_ <_/ // /
  /____/____/    |__/|__/_/|_| /_/    |___/____(_)___/
                                                     
                       DD-WRT v3.0
                   http://www.dd-wrt.com
 
==========================================================


BusyBox v1.31.1 (2020-03-30 02:14:48 +03) built-in shell (ash)

root@Citadel-Station-Homeworld:~# cat /sys/devices/system/cpu/cpufreq/policy*/scaling_governor
ondemand
ondemand
root@Citadel-Station-Homeworld:~# cat /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
35
root@Citadel-Station-Homeworld:~# cat /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
1
root@Citadel-Station-Homeworld:~# uptime
 05:54:43 up 1 day, 16:05,  load average: 0.00, 0.01, 0.00
root@Citadel-Station-Homeworld:~# date
Thu Apr  2 05:54:45 CDT 2020
root@Citadel-Station-Homeworld:~#
ArjenR49
DD-WRT Guru


Joined: 05 Oct 2008
Posts: 666
Location: Helsinki, Finland / nr. Alkmaar, Netherlands

PostPosted: Thu Apr 02, 2020 10:56    Post subject: Reply with quote
blkt wrote:
for CPUGOV in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUGOV ] || continue; echo -n ondemand > $CPUGOV; done
echo 35 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=322305

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=311146


So, common threshold and sampling_down_factor settings for all CPU's.
Thank you very much, blkt.
Corona anguish is my only excuse for not searching first ;-(
nickant
DD-WRT User


Joined: 09 Feb 2016
Posts: 320

PostPosted: Thu Apr 02, 2020 11:07    Post subject: Reply with quote
Thanks guys!
I've resisted the urge to make the variable CATS!
Stay safe - I'm stuck at home apart from weekly shopping.

_________________
------------------------------------
Netgear XR500 OpenWrt-23.05.3 (Gateway)
Linksys EA8500 OpenWrt-23.05.3 (Wired AP)
Linksys WRT3200ACM DD-WRT r55819 (spare Wired AP)
Netgear WNDR3700v4 DD-WRT r55779 (spare Gateway)
Photos: https://www.flickr.com/photos/nickant44/albums
KellyGAllen
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 22
Location: Las Vegas, NV, United States

PostPosted: Thu Apr 02, 2020 13:05    Post subject: Wan, Switch, or vlanm or ... Reply with quote
Linksys EA8500
Lessor WiFi and Lan performance than i am used to.


Last edited by KellyGAllen on Sat Apr 04, 2020 3:48; edited 1 time in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Thu Apr 02, 2020 15:23    Post subject: Reply with quote
Router Model: Netgear R7800

Firmware Version: DD-WRT v3.0-r42819 std (03/30/20)
Kernel Version: Linux 4.9.217 #536 SMP Mon Mar 30 02:08:38 +03 2020 armv7l

Upgraded from: DD-WRT v3.0-r42729 std (03/18/20)

Reset: No, not this time

Status: Up and running for 8 hours, basic setup as Gateway, static leases, OpenVPN client (on PIA) with Policy Based Routing up and running, 2,4GHz, 5Ghz, USB storage NAS working with errors

Errors:
1. Since the introduction of ksmbd, I cannot save to an ntfs partition on the routers USB drive: wrong parameter.
2. DNS leak see: http://svn.dd-wrt.com/ticket/6020

Otherwise build is fine

Resolved:
1. Pushed DNS servers from VPN provider are used starting with build 41120, if you do not want that, add the following to the Additional Config of the VPN client:
pull-filter ignore "dhcp-option DNS"
2. Build 41174 has an improved VPN Policy Based Routing, it is now possible to use the VPN route command i.e. to route a DNS server via the VPN (in this way you will get rid of the DNS leak), see: https://svn.dd-wrt.com/ticket/6815#comment:1 , and for DNS leaks the second posting of this thread: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318662
3. Another improvement on PBR is that local routes are now copied over to the alternate routing table so there is communication if you have unbridged VAP's and you can set the router's IP on PBR.
See: https://svn.dd-wrt.com/ticket/6821#comment:3
4. Starting with build 41174, the PBR has become more versatile, you can now use " from [IP address] to [IP address] ", so if you enter the following in the PBR field:
192.168.1.124 to 95.85.16.212 #ipleak.net, it will only route IP address 95.85.16.212 (which is ip leak.net) from my IP address 192.168.1.124 via the VPN everything else from this IP address will route via the WAN (this is just an example).
See: https://svn.dd-wrt.com/ticket/6822
Although this command itself supports routing per port this is however only available starting from K 4.17 so we have to rely on scripting for per port routing until then.
5. New OpenVPN TLS ciphers are added in 41308 see: https://svn.dd-wrt.com/changeset/41308
6. Starting with build 41304 you can now choose which TLS Key you want to use: TLS Auth or the newer/better TLS Crypt. See https://svn.dd-wrt.com/ticket/6845#comment:17
7. Builds from 41786 onwards, when using an OVPN server to connect to your local LAN clients, access might be prevented because of a patch which should solve a recent vulnerability ( see: https://svn.dd-wrt.com/ticket/6928)
This can be mitigated with the following firewall rule:

Code:
iptables -t nat -I POSTROUTING -o br0 -s $(nvram get openvpn_net)/$(nvram get openvpn_tunmask) -j MASQUERADE

When using WireGuard you can run into the same trouble,i.e. not being able to access your local LAN clients. For WireGuard this is the workaround:
Code:
iptables -t nat -I POSTROUTING -o br0 -s $(nvram get oet1_ipaddr)/$(nvram get oet1_netmask) -j MASQUERADE

This method described above also has security and logging concerns as all traffic has the same source address (your router)
An alternate method is using the following rule but it only works if the VPN or Wireguard interface is up and if your VPN or Wireguard interface goes down you have to reapply or run a continuous script checking/applying:
OpenVPN server:

Code:
iptables -t raw -I PREROUTING -i br0 -d $(nvram get openvpn_net)/$(nvram get openvpn_tunmask) -j ACCEPT

WireGuard:
Code:
iptables -t raw -I PREROUTING -i br0 -d $(nvram get oet1_ipaddr)/$(nvram get oet1_netmask) -j ACCEPT

This rule can expose your LAN side to the CVE attack, but if you have your IOT things separated and tight control over your LAN you should be good, if your LAN is hacked you have got bigger problems.

Builds starting with 41813 have an option button in OpenVPN and Wireguard for disabling the CVE-patch 14899


Big Thanks to BS!!

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


Joined: 10 Jan 2014
Posts: 504

PostPosted: Thu Apr 02, 2020 18:24    Post subject: Reply with quote
Does cpu freq scaling really help significantly? I suppose this can be done on the R7800 but I'm wondering if it's worth the effort.
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Thu Apr 02, 2020 18:56    Post subject: Reply with quote
johnnyNobody999 wrote:
I'm wondering if it's worth the effort.

Not sure what you really want answered Rolling Eyes

johnnyNobody999 wrote:
Does cpu freq scaling really help significantly? I suppose this can be done on the R7800

NO, NOT better than CPU set to performance (max CPU)
AND
All IPQ806x units are set to max CPU by default --- been that way for long time now. Cool
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Thu Apr 02, 2020 18:56    Post subject: Reply with quote
this is just a power saving feature, not more

my r7800 are wall-mounted and have no thermal problems at full CPU speed

CPU 43.562 °C / ath0 38 °C / ath1 34 °C


43°C @ idle is great
KellyGAllen
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 22
Location: Las Vegas, NV, United States

PostPosted: Thu Apr 02, 2020 19:18    Post subject: Re: Wan, Switch, or vlanm or ... Reply with quote
After Reboot and upgrade to GB COX.
200down[out of about 800] 35up.
https://www.speedtest.net/result/9227286396.png
The up is at CIR. The Down is at 1/4th [1/5 from cox official test]...


Last edited by KellyGAllen on Sat Apr 04, 2020 3:49; edited 1 time in total
KellyGAllen
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 22
Location: Las Vegas, NV, United States

PostPosted: Thu Apr 02, 2020 20:50    Post subject: Reply with quote
I am getting a tremendous amount of
and even across reboots.
randomly thousands of
1 UDP 34 127.0.0.1 127.0.0.1 6053 ASSURED
From within router, strangley.


Last edited by KellyGAllen on Sat Apr 04, 2020 3:50; edited 1 time in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Thu Apr 02, 2020 21:12    Post subject: Reply with quote
ESP Home assistant or other iot device spamming you ?
_________________
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
Alozaros
DD-WRT Guru


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

PostPosted: Thu Apr 02, 2020 22:27    Post subject: Reply with quote
6053 on loopback interface is the new smartdns turn it off
Or there must be someting buggy on your build
If anyone has the same router to check his log too
Im fine but im using dot

_________________
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
KellyGAllen
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 22
Location: Las Vegas, NV, United States

PostPosted: Fri Apr 03, 2020 6:22    Post subject: Reply with quote
Everything is so awesome.
Wireless 5g for chrome-cast negotiated to 20 manual.
Still awesome.


Last edited by KellyGAllen on Sat Apr 04, 2020 3:51; edited 2 times in total
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 3 of 4
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