cd /tmp
wget http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/08-15-2022-r49741/broadcom/dd-wrt.v24_mini_generic.bin
write dd-wrt.v24_mini_generic.bin linux &
cd /tmp
wget http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/08-15-2022-r49741/broadcom/dd-wrt.v24_mini_generic.bin
write dd-wrt.v24_mini_generic.bin linux &
Using the ampersand may not show output of the flash process in the terminal because it puts the process in the background. It may be flashing fine. Only way to tell is to do a tail -f /var/log/messages in another terminal window. The amount of free memory is a factor as to whether or not the file downloads to /tmp as stated, but if it's downloading just fine, it's a matter of waiting until the write/erase process completes. _________________ "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
yep on my 1043v2 as im running a VPN client, along with some advanced set up, I'm running on very low ram, and even thou, i download the file to /opt where is my flash drive...and still get "not nuff mem" .....
So, yep in order to clear some ram and flash via cli, i run htop/or top and shut down some processes/services, but not always...where via GUI its always safer...
i was told .... _________________ 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
Last edited by Alozaros on Sat Aug 20, 2022 8:51; edited 2 times in total
Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Tue Aug 16, 2022 19:49 Post subject:
Not enough RAM is not enough RAM no matter where you flash from. The flash process requires resources, if they aren't available and even considering both Web interface/CLI flashes stops processes anyway, these are limited to a selection of such processes it is not I dont think anything that could possible be shut down consuming RAM/CPU time just the ones that are likely to be most resource consuming.
Which method has a smaller overhead resource wise, well.
It doesn't matter how you flash it, webUI or CLI, not enough free ram is accounted for and the only thing that will stop a flash is if the image is too big. See attached file; first bits are webUI flash from r49677 to r49681 and second is via wget and write commands from r49681 to r49741 on a TL-WR1043ND v1.8.
Code:
Aug 16 15:19:53 TL-WR1043ND user.info : [flash] : freeram=[1388544] bufferram=[3960832]
Aug 16 15:19:53 TL-WR1043ND user.info : [flash] : The free memory is not enough, writing image per 65536 bytes.
Code:
[flash] : freeram=[2203648] bufferram=[1650688]
[flash] : The free memory is not enough, writing image per 65536 bytes.
_________________ "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
Firmware: v3.0-r49741 std (08/15/22)
Router/Version: Netgear R7000 Kernel: Linux 4.4.302-st20 #6948 SMP Mon Aug 15 02:19:32 +07 2022 armv7l
Previous: v3.0-r49677 std (08/10/22)
Mode/Status: AP wired and wireless / Up and running for 2 days
Reset: Soft boot before and after upgrade
Temperatures: CPU 62.5 °C / WL0 47.1 °C / WL1 52.2 °C
Issues/Errors: Nothing significant
Updated via webif. No 'nvram erase' this time, last one was in July 2018 (r36325).
Upload and Download speeds are to ISP spec (500/500 Mbps).
Current basic R7000 setup (subject to change of course):
- Static WAN IP
- Shortcut Forwarding Engine: CTF, Flow Acceleration: Disabled
- STP - Enabled
- IPv4 only, both WAN and LAN
- LAN DHCP Enabled
- Not currently forwarding any ports
- Wireless: AP, Regulatory Domain = CANADA, wl0 Mixed (ch. 6), wl1 AC/N-Mixed (ch. 36, VHT80), AES
- 1 wireless VLAN on wl0
- SNMP disabled, SSH enabled, Telnet disabled
- Firewall enabled, Log Level high
- Syslog: to local server. klogd: disabled.
- USB support - Off
- No custom scripts
- No: ttraf, Tor, VNC, Zabbix, VPN, Radius, OpenVPN
- No: UPnP, DMZ, QoS
- No: Samba, CIFS, JFFS2, miniDLNA, Entware, Optware _________________ Netgear R7000: v3.0-r54248 std (11/29/23)
EdgeRouter-X: EdgeOS v2.0.9-hotfix 7
Router/Version:Asus RT-AC68U Rev A2 File/Kernel:Linux 4.4.302-st20 #6948 SMP Mon Aug 15 02:19:32 +07 2022 armv7l Previous/Reset:47182/Yes after upgrade from GUI Mode/Status:AP + NAS/Ok Issues/Errors:Seems to disconnect 5ghz after any major changes in the gui
No matter what the change is. These do make the issue: insert usb drive to atleast usb3 port. Turn on samba and insert settings and press apply.
I have 5ghz in AC only, VHT80 and lower lower.
There is no issues with cable connection.
Wait, it does not make it anymore. It was very fustrating to insert initial settings when after apply settings, wifi connection was disconnected and settins werent saved always. Switched to the cable connection and it was fine. Have to look for this if it re appears.