New Build - 09/03/2022 - r50057

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


Joined: 29 Sep 2020
Posts: 260
Location: United States

PostPosted: Sat Sep 03, 2022 17:17    Post subject: Reply with quote
ho1Aetoo wrote:
Can you please post your current not working config?

I would like to try something.
And of course that's a bit annoying when a fix breaks something else.


similar to this
Code:
mkdir -p /jffs/etc/unbound
curl --output /tmp/override https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
grep '^0\.0\.0\.0' /tmp/override | sed '1d' | awk '{print "local-zone: \""$2"\" always_null"}' > /tmp/overriden.conf
mv /tmp/overriden.conf /jffs/etc/unbound
rm /tmp/override
curl --output /jffs/etc/unbound/named.cache https://www.internic.net/domain/named.cache
cp /etc/unbound/root.key /jffs/etc/unbound
cp /etc/unbound/unbound.conf /jffs/etc/unbound
> /jffs/etc/unbound.conf
cat << EOF > /jffs/etc/unbound.conf
server:
verbosity: 1
num-threads: 2
interface: 0.0.0.0@7053
interface: 0.0.0.0@853
outgoing-range: 950
msg-buffer-size: 8192
msg-cache-slabs: 1
num-queries-per-thread: 512
rrset-cache-slabs: 1
infra-cache-slabs: 1
do-ip6: no
access-control: 127.0.0.0/8 allow
access-control: 192.168.1.1/24 allow
chroot: "/jffs/etc"
username: ""
directory: "/jffs/etc/unbound"
pidfile: "/var/run/unbound.pid"
root-hints: "/jffs/etc/unbound/named.cache"
hide-identity: yes
hide-version: yes
harden-large-queries: yes
module-config: "validator iterator"
auto-trust-anchor-file: "/jffs/etc/unbound/root.key"
key-cache-slabs: 1
local-data: "localhost A 127.0.0.1"
local-data: "DD-WRT A 192.168.1.1"
include: "/jffs/etc/unbound/overriden.conf"
tls-cert-bundle: "/etc/ssl/ca-bundle.crt"
remote-control:
control-enable: yes
control-use-cert: no
forward-zone:
name: "."
forward-addr: 9.9.9.9@853#dns.quad9.net
forward-tls-upstream: yes
auth-zone:
name: "."
primary: 199.9.14.201         # b.root-servers.net
primary: 192.33.4.12          # c.root-servers.net
primary: 199.7.91.13          # d.root-servers.net
primary: 192.5.5.241          # f.root-servers.net
primary: 192.112.36.4         # g.root-servers.net
primary: 193.0.14.129         # k.root-servers.net
primary: 192.0.47.132         # xfr.cjr.dns.icann.org
primary: 192.0.32.132         # xfr.lax.dns.icann.org
fallback-enabled: yes
for-downstream: no
for-upstream: yes
EOF
stopservice unbound
startservice unbound

switching chroot to disabled made it work
Code:
chroot: ""


*
Save Startup
Code:
is-mounted.sh /jffs
stopservice unbound
startservice unbound

added more info


Last edited by itwontbewe on Sun Nov 20, 2022 16:00; edited 3 times in total
Sponsor
RobrPatty
DD-WRT User


Joined: 06 Jun 2016
Posts: 174

PostPosted: Sat Sep 03, 2022 17:42    Post subject: Reply with quote
Netgear R8500
Firmware Version DD-WRT v3.0-r50057 std (09/03/22)
Kernel Version Linux 4.4.302-st25 #7241 SMP Sat Sep 3 04:05:02 +07 2022 armv7l
Current Time Sat, 03 Sep 2022 11:36:42
Uptime 1 min
GUI over 50012
Reset: no
Issues: none

Thank you BS & Devs
itwontbewe
DD-WRT User


Joined: 29 Sep 2020
Posts: 260
Location: United States

PostPosted: Sat Sep 03, 2022 19:54    Post subject: Reply with quote
in
Code:
/etc/unbound/unbound.conf

chroot is enabled as a default setting to the tmp directory
Code:
chroot: "/tmp"

maybe that caused an issue? especially if the user didn't include the chroot setting?
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Sep 03, 2022 20:13    Post subject: Reply with quote
All of the chroot code has been made irrelevant:

https://svn.dd-wrt.com/changeset/50040
https://svn.dd-wrt.com/changeset/50041
https://svn.dd-wrt.com/changeset/50042
https://svn.dd-wrt.com/changeset/50043
https://svn.dd-wrt.com/changeset/50044

Might need to remove any references to chroot or chown in your configs/settings Wink

_________________
"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
KACTET
DD-WRT User


Joined: 01 May 2022
Posts: 235

PostPosted: Sat Sep 03, 2022 21:23    Post subject: Reply with quote
Router/Version: Linksys WRT54GL v1.1
File/Kernel: dd-wrt.v24 mini generic r50057 / Linux 2.4.37 #69453 Sat Sep 3 02:29:38 +07 2022 mips
Previous/Reset: dd-wrt.v24 mini generic r49547 / yes
Mode/Status: AP wired and wireless / Up and running for 1 day
Issues/Errors: Nothing significant

Thanks to everyone who took part in the development of the new firmware version and bug fixes. Thanks BS and gurus.
My dinosaur came to life Twisted Evil
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sun Sep 04, 2022 8:50    Post subject: Reply with quote
itwontbewe wrote:
in
Code:
/etc/unbound/unbound.conf

chroot is enabled as a default setting to the tmp directory
Code:
chroot: "/tmp"

maybe that caused an issue? especially if the user didn't include the chroot setting?


Well I tried it once, in builds < 50044 a custom config in /jffs/etc/ only works if you use "service unbound stop && service unbound start" or configure chroot.

But the variable chroot: "/jffs/etc" is not enough.
You also have to move the root.key , the root.hints to /etc/jffs and set the variable "directory: "/jffs/etc/".

So in builds < 50044 unbound only works if you fully configure chroot.

And actually that was not the point when the possibility to use a custom config was created.

Well as I said the problem or the current problems are due to the switch to the new "restart method".

The restart method does not stop and start unbound but sends a "hang up" to the process and it only reloads the configuration -- which it then no longer has access to in the chroot jail.


Last edited by ho1Aetoo on Sun Sep 04, 2022 13:09; edited 1 time in total
sanjonny
DD-WRT Novice


Joined: 24 Jul 2021
Posts: 21

PostPosted: Sun Sep 04, 2022 10:21    Post subject: Reply with quote
Router Model: Netgear R7000P
Firmware Version: DD-WRT v3.0-r50057 std (09/03/22)
Kernel Version: Linux 4.4.302-st25 #7241 SMP Sat Sep 3 04:05:02 +07 2022 armv7l
Reset: no
Operating Mode/Setup: Gateway and Primary / 2 and 5 GHz AP / Wireguard Server OpenVPN Client via Nord
Status: errors with DDNS

I think the last 4 versions i have started having authentication issues with dnsomatic. And by last 4 versions, I mean the last four updates, which i have tried, i tend to update when new ones come out so 49934 to current..
I didnt catch the issue till now, but it might go back even further. It seems my login to dnsomatic is no longer working. I tried several ways to check if this was a dnsomatic problem but all seems well there and could not find any changes or news of changes...that doesnt mean they dont exist, just that i didnt see them.
I always retain a backup, but have not had a chance to revert to say 2 weeks ago to say for sure but im guessing im not the only one using it so either way, someone can let me know if its dnsomatic or the error is in ddwrt. I did see the stuff about unbound but dont run that, the only complication i can think of is i use an external pi to serve adguard as my dnslookup, but no changes made to anything but ddwrt...and all the normal dns lookup and wireguard stuff is working. I just now thought i might have to make sure in their provided blocklist they didnt add dnsomatic, but that would be pretty dumb, so ill verify that but i'm assuming that is not the case.

config for ddns has not changed but FYI
service ///// custom
dydns server ///// updates.dnsomatic.com
users and password the same
hostname ///// all.dnsomatic.com
url ///// https://updates.dnsomatic.com:443/nic/update?hostname=
additional options ///// no
external ip check ///// no
force update interval ///// 10


Code:
Sun Sep 4 02:25:45 2022: INADYN: Started 'INADYN Advanced version 1.96-ADV' - dynamic DNS updater.
Sun Sep 4 02:25:45 2022: INADYN: IP read from cache file is 'blah'. No update required.
Sun Sep 4 02:25:45 2022: I:INADYN: IP address for alias 'all.dnsomatic.com' needs update to 'blah2'
Sun Sep 4 02:25:46 2022: W:INADYN: Response Code: 1
Sun Sep 4 02:25:46 2022: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname! (HTTP/1.0 403 Forbidden
content-length: 9
content-type: text/plain
date: Sun, 04 Sep 2022 09:25:45 GMT
server: opendns
connection: close

Forbidden)
Sun Sep 4 02:35:53 2022: I:INADYN: IP address for alias 'all.dnsomatic.com' needs update to 'blah2'
Sun Sep 4 02:35:54 2022: W:INADYN: Response Code: 1
Sun Sep 4 02:35:54 2022: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname! (HTTP/1.0 403 Forbidden
content-length: 9
content-type: text/plain
date: Sun, 04 Sep 2022 09:35:53 GMT
server: opendns
connection: close

Forbidden)
Sun Sep 4 02:46:01 2022: I:INADYN: IP address for alias 'all.dnsomatic.com' needs update to 'blah2'
Sun Sep 4 02:46:02 2022: W:INADYN: Response Code: 1
Sun Sep 4 02:46:02 2022: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname! (HTTP/1.0 403 Forbidden
content-length: 9
content-type: text/plain
date: Sun, 04 Sep 2022 09:46:01 GMT
server: opendns
connection: close



Thats basically the errors im getting. I can provide any more info if needed...No settings changes or anything else recently, so just firmware updates. and yes i changed the ip address to blah and blah2

Thanks in advance
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Sun Sep 04, 2022 11:24    Post subject: Reply with quote
Use http, INADYN does not use https. There has been a flip-flop of what works currently:

http://updates.dnsomatic.com:443/nic/update?hostname=

Did something happen with OpenDNS or DNS-O-Matic recently?
[SOLVED] DDNS updater error with OpenDNS/DNS-O-Matic

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
fox95
DD-WRT Novice


Joined: 08 Aug 2022
Posts: 35

PostPosted: Sun Sep 04, 2022 20:37    Post subject: Netgear R8500 Reply with quote
updated R8500 to 50057,

ssh connection refused when trying to SCP file to router for updating from CLI.

update from web GUI works

WIFI speed are terrible.

when tested side by side to a ASUS RT-AX86U (stock firmware) the ASUS router achieves near 800mbs. the R8500 barely gets over 95mbs on any firmwares tested so far.

prior versions of ddwrt firmware have dropped clients off randomly. this version has not been running long enough to see if it still does the same thing. uptime is only about an hour now.
r7000-2
DD-WRT User


Joined: 23 May 2022
Posts: 61

PostPosted: Sun Sep 04, 2022 23:20    Post subject: Reply with quote
Router/Version: Netgear R8000
File/Kernel: netgear-r8000-webflash.bin / Linux 4.4.302-st25 #7240 SMP Sat Sep 3 03:58:21 +07 2022 armv7l
Previous/Reset: 08-29-2022-r49976 / No
Mode/Status: RIP2 router, wireguard / Working
Issues/Errors: none

_________________
Several NetGears with Broadcom and with Atheros
Mode: RIP2 Router, 2G/5G radios are active, Routed WiFi multiple SSID's/separated by IP subnets.
Remote Syslog, NTP, IPv6 management, WireGuard routed Site-2-Site VPNs
twindragon6
DD-WRT User


Joined: 29 Jun 2008
Posts: 332

PostPosted: Sun Sep 04, 2022 23:56    Post subject: Re: Netgear R8500 Reply with quote
fox95 wrote:
updated R8500 to 50057,

ssh connection refused when trying to SCP file to router for updating from CLI.

update from web GUI works

WIFI speed are terrible.

when tested side by side to a ASUS RT-AX86U (stock firmware) the ASUS router achieves near 800mbs. the R8500 barely gets over 95mbs on any firmwares tested so far.

prior versions of ddwrt firmware have dropped clients off randomly. this version has not been running long enough to see if it still does the same thing. uptime is only about an hour now.


I'm having similar issues on my R7000. For me the last builds that worked well are 07-04-2022-r49418 and 07-09-2022-r49467 after that I have had weird performance issues with wireless clients, especially if they use and older chip.
fmuntean
DD-WRT Novice


Joined: 30 Jan 2020
Posts: 49

PostPosted: Sun Sep 04, 2022 23:57    Post subject: ASUS RT-N16 Reply with quote
Router/Version: Asus RT-N16
File/Kernel: dd-wrt.v24-50057_NEWD-2_K3.x-big-RT-N16.trx
Previous/Reset: dd-wrt.v24-47608_NEWD-2_K3.x-big-RT-N16.trx, reset
Mode/Status: Not Working
Issues/Errors: Port status shows down

Trying to setup VLAN on port 4 bricked the router. Currently the router does not respond to any ping even in the boot load mode. no TTL=100 no TTL=64. Nothing. (I have static IP setup on my laptop)

I attached the Serial Logs after this.
I also tried to erase the NVRAM from the CFE but router still bricked.

I need help please unbricking the router.



rtn16-r50057-portstatus-down.png
 Description:
switch config port always down
 Filesize:  51.96 KB
 Viewed:  2161 Time(s)

rtn16-r50057-portstatus-down.png



rt-n16_serial_boot.txt
 Description:
serial log

Download
 Filename:  rt-n16_serial_boot.txt
 Filesize:  12.14 KB
 Downloaded:  60 Time(s)

sanjonny
DD-WRT Novice


Joined: 24 Jul 2021
Posts: 21

PostPosted: Mon Sep 05, 2022 8:56    Post subject: Reply with quote
dale_gribble39 wrote:
Use http, INADYN does not use https. There has been a flip-flop of what works currently:

http://updates.dnsomatic.com:443/nic/update?hostname=

Did something happen with OpenDNS or DNS-O-Matic recently?
[SOLVED] DDNS updater error with OpenDNS/DNS-O-Matic


Insanity. It worked but anything Cisco corporate runs.....and according to those threads it was last year or 2 ago, wonder why mine still worked till a week or 2 ago..

Thanks so much Dale...had read several posts and the pages related but didnt think it would revert to the reversion, or whatever crazy thing they got going on over there.
Black Tiger
DD-WRT Novice


Joined: 05 Sep 2022
Posts: 2

PostPosted: Mon Sep 05, 2022 22:02    Post subject: Reply with quote
Hello.

I'm quite new and flashed a Linksys EA6400 to DD-WRT last month.

Today I upgrade from an august version to the today version which went fine except for some error notices which don't seem to have caused issues.

I just have 1 quick question. I always loose all settings after a firmware upgrade.
Probably because I always do a erase nvram command before reboot (seeing it advised somewhere).

In the beginning of this thread I see this command:
Code:
CLI Flash: 'cd /tmp' then 'wget {file URL}' (http only) or 'curl -O {file URL}' (http, https, ftp). 'write {file} linux' then 'reboot'.


However, in the installation guide for future upgrades, there it says there to write to linux2 first.

Is it still best to write to linux2 first and afterwards to linux? Or has the writing command to linux2 become obsolete? Since I don't see it in the mentioned command here in this thread.

Just asking because I don't want to brick things by not doing maybe necessary commands on upgrades.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Tue Sep 06, 2022 0:41    Post subject: Reply with quote
Follow the EA6400 device wiki and forum thread post.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
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