CLI DD-WRT Upgrade

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 704
Location: Earth

PostPosted: Thu Mar 05, 2020 10:29    Post subject: CLI DD-WRT Upgrade Reply with quote
Hi

I've always upgraded my DD_WRT builds by downloading to pc and flash through gui.
i think i did upgrade once upon a time with a kong build with CLI before his builds were taken down once.
Found in wiki cli commands
cd /tmp
wget http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/{year}/{build}/{firmware}

so if i was to upgrade today's on R7800 would this be correct?
cd /tmp
wget http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/03-03-2020-r42602/netgear-r7800/dd-wrt-webupgrade.bin

cheers
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12838
Location: Netherlands

PostPosted: Thu Mar 05, 2020 10:54    Post subject: Reply with quote
wget only downloads the file

The next step is to write it to the linux partition

Code:
write dd-wrt-webupgrade.bin linux


Then
Code:
nvram erase && reboot


If you do not want to reset then skip the nvram erase

Some routers need
Code:
mtd write
or
Code:
write -f

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


Joined: 01 Oct 2017
Posts: 704
Location: Earth

PostPosted: Thu Mar 05, 2020 11:16    Post subject: Reply with quote
Cheers buddy
just needed to confirm the path was correct as it seemed different to the wiki /betas/{year}/{build}/{firmware}

/betas/2020/03-03-2020-r42602/netgear-r7800/dd-wrt-webupgrade.bin

shouldn't wiki read /betas/{year}/{build}/{router model}/{firmware}?
kernel-panic69
DD-WRT Guru


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

PostPosted: Thu Mar 05, 2020 12:57    Post subject: Reply with quote
Should read "/betas/{year}/{build}/{router model}/{firmware}" or "/betas/{year}/{build}/{platform}/{firmware} (i.e., broadcom, broadcom k2.6, or broadcom k3.x)", perhaps, but common sense would dictate that /{firmware} would include the appropriate sub-folder and file... maybe. Should I have @jwh7 edit the wiki since he's probably the last one to edit that one?
_________________
"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
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12838
Location: Netherlands

PostPosted: Thu Mar 05, 2020 13:11    Post subject: Reply with quote
Yeah good plan ask him to edit it

Another build up today again Smile

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


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Thu Mar 05, 2020 15:27    Post subject: Reply with quote
kernel-panic69 wrote:
Should I have @jwh7 edit the wiki since he's probably the last one to edit that one?
Done; 'platform' it is. Wink
https://wiki.dd-wrt.com/wiki/index.php/Installation#Method_3:_Flashing_with_Command_Line

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
kernel-panic69
DD-WRT Guru


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

PostPosted: Thu Mar 05, 2020 15:31    Post subject: Reply with quote
jwh7 wrote:
kernel-panic69 wrote:
Should I have @jwh7 edit the wiki since he's probably the last one to edit that one?
Done; 'platform' it is. Wink
https://wiki.dd-wrt.com/wiki/index.php/Installation#Method_3:_Flashing_with_Command_Line


Thanks. I'm sure we may have to edit it again to 'appropriate subfolder for device' or something more specific Cool

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


Joined: 01 Oct 2017
Posts: 704
Location: Earth

PostPosted: Thu Mar 05, 2020 16:44    Post subject: Reply with quote
jwh7 wrote:
kernel-panic69 wrote:
Should I have @jwh7 edit the wiki since he's probably the last one to edit that one?
Done; 'platform' it is. Wink
https://wiki.dd-wrt.com/wiki/index.php/Installation#Method_3:_Flashing_with_Command_Line
Very Happy thanks for the wiki update
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions 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