bug - is sysctl missing?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
tedm
DD-WRT User


Joined: 13 Mar 2009
Posts: 431

PostPosted: Sun May 16, 2021 1:02    Post subject: bug - is sysctl missing? Reply with quote
Router #1:

telnet x.x.x.x
Trying x.x.x.x...
Connected to x.x.x.x.
Escape character is '^]'.

DD-WRT v3.0-r46640 std (c) 2021 NewMedia-NET GmbH
Release: 05/13/21
Board: Netgear AC1450

DD-WRT-A login: root
Password:
==========================================================

___ ___ _ _____ ______ ____ ___
/ _ \/ _ \___| | /| / / _ \/_ __/ _ __|_ / / _ \
/ // / // /___/ |/ |/ / , _/ / / | |/ //_ <_/ // /
/____/____/ |__/|__/_/|_| /_/ |___/____(_)___/

DD-WRT v3.0
https://www.dd-wrt.com


==========================================================


BusyBox v1.33.1 (2021-05-13 16:14:52 +07) built-in shell (ash)

root@DD-WRT-A:~# sysctl -a

(bountiful spewing of parameters)



Router #2:

telnet x.x.x.x
Trying x.x.x.x...
Connected to x.x.x.x.
Escape character is '^]'.

DD-WRT v3.0-r46640 giga (c) 2021 NewMedia-NET GmbH
Release: 05/13/21
Board: Netgear WNDR4500

DD-WRT-B login: root
Password:
==========================================================

___ ___ _ _____ ______ ____ ___
/ _ \/ _ \___| | /| / / _ \/_ __/ _ __|_ / / _ \
/ // / // /___/ |/ |/ / , _/ / / | |/ //_ <_/ // /
/____/____/ |__/|__/_/|_| /_/ |___/____(_)___/

DD-WRT v3.0
https://www.dd-wrt.com


==========================================================


BusyBox v1.33.1 (2021-05-13 16:14:08 +07) built-in shell (ash)

root@DD-WRT-B:~# sysctl -a
-sh: sysctl: not found
root@DD-WRT-B:~#


Say what? Don't tell me it was deleted to "save space" on Giga!!!
Sponsor
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 5432
Location: Texas

PostPosted: Sun May 16, 2021 3:01    Post subject: Reply with quote
sysctl -a is not on the Netgear WNDR3700 V4 (r42813)
but is on the EA8500 (r46380) & (r44786)
size wise:
WNDR3700v4 (r42813) = 24.4 MB (24,403,996 bytes)
EA8500 (r46380) = 23.8 MB (23,789,568 bytes)
EA8500 (r44786) = 22.8 MB (22,847,488 bytes)

so I just don't know what to tell ya Rolling Eyes Cool
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun May 16, 2021 4:12    Post subject: Reply with quote
"Inconsistencies in DD-WRT". One of these years, someone is going to get a group collaboration together to update the features matrix for all supported devices... but I ain't gonna hold my breath.
_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 8719

PostPosted: Sun May 16, 2021 4:26    Post subject: Reply with quote
Yeah, inconsistencies, pretty much normal.

https://svn.dd-wrt.com/ticket/7274

_________________
ddwrt-ovpn-split-basic.sh * ddwrt-ovpn-split-advanced.sh * ddwrt-ovpn-kill-switch.sh (new) * ddwrt-ovpn-watchdog.sh (new) * ddwrt-ovpn-remote-access.sh * ddwrt-ovpn-client-backup.sh * ddwrt-mount-usb-drives.sh
tedm
DD-WRT User


Joined: 13 Mar 2009
Posts: 431

PostPosted: Sun May 16, 2021 6:18    Post subject: Reply with quote
OK, bug ticket opened:

https://svn.dd-wrt.com/ticket/7415#ticket

In the meantime the echo/cat workaround is available:

root@DD-WRT-B:~# cat /proc/sys/net/ipv4/ip_forward_use_pmtu
0
root@DD-WRT-B:~# echo 1 > /proc/sys/net/ipv4/ip_forward_use_pmtu
root@DD-WRT-B:~# cat /proc/sys/net/ipv4/ip_forward_use_pmtu
1
root@DD-WRT-B:~#
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun May 16, 2021 11:59    Post subject: Reply with quote
Opening tickets about devices not having certain features that may have been left out due to flash space restrictions is sometimes pointless. I can email BrainSlayer about it, but I cannot promise that it will be fixed.
_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 5432
Location: Texas

PostPosted: Sun May 16, 2021 16:02    Post subject: Reply with quote
see ---> https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1236804#1236804
tedm
DD-WRT User


Joined: 13 Mar 2009
Posts: 431

PostPosted: Fri May 21, 2021 4:07    Post subject: Reply with quote
kernel-panic69 wrote:
Opening tickets about devices not having certain features that may have been left out due to flash space restrictions is sometimes pointless. I can email BrainSlayer about it, but I cannot promise that it will be fixed.


The WNDR4500 has ample flash. 128MB of it while the Giga build is only around 24MB so far. Since makers seem to like to use even multiples for flash I would guess there's devices with 16MB flash chips that are too small for Giga, and devices with 32MB of flash that are plenty large for Giga, but I suspect there's no devices with 24MB flash and that Giga just barely fits into where saving a few K for omitting the sysctl program is significant.
kernel-panic69
DD-WRT Guru


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

PostPosted: Fri May 21, 2021 4:32    Post subject: Reply with quote
I seem to recall reading about devices with large flash space still only being able to have firmware images that were only a certain size. Consider that all 'identical' hardware using identical SoCs usually get the same firmware image recipe for compiling and building the firmware image, and there is likely a sister device with a restriction, there you are. That's my best semi-educated guess explanation. On that note, see @mrjcd's post above about the sysctl page in the webUI and feel free to give it a look-see.
_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
tedm
DD-WRT User


Joined: 13 Mar 2009
Posts: 431

PostPosted: Fri May 21, 2021 5:04    Post subject: Reply with quote
kernel-panic69 wrote:
I seem to recall reading about devices with large flash space still only being able to have firmware images that were only a certain size.


Yes, I have 3 of those devices. Sad The EA6300 and it's friends are like that - Linksys split the flash into 2 partitions and halved the size of the nvram from 64k to 32k. The ASUS N16 is another. All very brain-dead devices since they have plenty of CPU and flash but due to the nvram issue are almost worthless to use as anything other than access points. Someone figured out a hack for the ASUS devices and there's instructions to fix the CFE for several of the EAs buried in the archives. None are Giga candidates, though.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking 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