The ampersand (&) is not required, but is a safety measure as the write process may kick you off in some builds.
The easiest way to flash an upgrade, provided all goes well is to:
The ampersand (&) is not required, but is a safety measure as the write process may kick you off in some builds.
The easiest way to flash an upgrade, provided all goes well is to:
i get it, i get it... just making sure. I have zero experience networking and linux. only what i poke around with on my own. a lot of what i read on cmd's may be easy for the experienced user, but not for all of us. just don't want to break the installation because of a inexperienced cmd thrown at it.
CLI Flash: 'cd /tmp' then 'wget {file URL}' (httponly) or 'curl -O {file URL}' (http, https, ftp). 'write {file} linux' then 'reboot'.
wget lost ftp support so use http without s, or use curl. Broadcom SoC based Hardware -> New Build - 08/15/2022 - r49741
If the build you are flashing from is r47381 or older it should have wget ftp support but as well get used to another method.
Another neat trick is after download to /tmp rename the file to firmware.bin and simply wait for automatic flash and reboot.
You may have to rename the file first before moving it to /tmp. Anyway, I do not use this method but it should be available.
Joined: 16 Nov 2015 Posts: 6407 Location: UK, London, just across the river..
Posted: Mon Aug 15, 2022 8:52 Post subject:
blkt wrote:
CLI Flash: 'cd /tmp' then 'wget {file URL}' (httponly) or 'curl -O {file URL}' (http, https, ftp). 'write {file} linux' then 'reboot'.
wget lost ftp support so use http without s, or use curl. Broadcom SoC based Hardware -> New Build - 08/15/2022 - r49741
If the build you are flashing from is r47381 or older it should have wget ftp support but as well get used to another method.
Another neat trick is after download to /tmp rename the file to firmware.bin and simply wait for automatic flash and reboot.
You may have to rename the file first before moving it to /tmp. Anyway, I do not use this method but it should be available.
there is a small detail to write command.....& at the end
write dd-wrt-webupgrade.bin linux & _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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
CLI Flash: 'cd /tmp' then 'wget {file URL}' (httponly) or 'curl -O {file URL}' (http, https, ftp). 'write {file} linux' then 'reboot'.
wget lost ftp support so use http without s, or use curl. Broadcom SoC based Hardware -> New Build - 08/15/2022 - r49741
If the build you are flashing from is r47381 or older it should have wget ftp support but as well get used to another method.
Another neat trick is after download to /tmp rename the file to firmware.bin and simply wait for automatic flash and reboot.
You may have to rename the file first before moving it to /tmp. Anyway, I do not use this method but it should be available.
I have done this a couple of times already on both of my routers and everything has worked fine. What is the importance of adding the & after 'write'? Also, what about the 5 minute wait? It is not part of the WIKI. And then there is the '-O '. Does it matter if it goes before or after the web address? I've seen it both ways. So far, I've just used the way that @blkt has in his post and it has worked fine for me. _________________ Netgear XR500 - Gateway
R6700 v3 - Station Bridge
CLI Flash: 'cd /tmp' then 'wget {file URL}' (httponly) or 'curl -O {file URL}' (http, https, ftp). 'write {file} linux' then 'reboot'.
wget lost ftp support so use http without s, or use curl. Broadcom SoC based Hardware -> New Build - 08/15/2022 - r49741
If the build you are flashing from is r47381 or older it should have wget ftp support but as well get used to another method.
Another neat trick is after download to /tmp rename the file to firmware.bin and simply wait for automatic flash and reboot.
You may have to rename the file first before moving it to /tmp. Anyway, I do not use this method but it should be available.
I have done this a couple of times already on both of my routers and everything has worked fine. What is the importance of adding the & after 'write'? Also, what about the 5 minute wait? It is not part of the WIKI. And then there is the '-O '. Does it matter if it goes before or after the web address? I've seen it both ways. So far, I've just used the way that @blkt has in his post and it has worked fine for me.
This was what i found on -O
O, --remote-name Specify that the local file should have the name of the remote file that was downloaded.
Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Tue Aug 16, 2022 0:24 Post subject:
strange wrote:
What is the importance of adding the & after 'write'?
The & at the end of the full command, ensures the command is ran even if terminal is closed, its the short explanation, but other ways of achieving same can include using screen
strange wrote:
Also, what about the 5 minute wait? It is not part of the WIKI.
The wiki is outdated if you have not yet noticed that nugget of golden sunshine, some slower end devices may take a long ass time to flash and complete said flash, so the arbitrary 5 minutes is a precaution to prevent those of us who are so inpatient that may end up interrupting the process and bricking the device.
strange wrote:
And then there is the '-O '. Does it matter if it goes before or after the web address?
You should read man wget same for man curl. man stands for man-ual i.e. RTFM, you can google any command manual like that, full blow distros you just type man <command> on terminal and it will show you that info, DD-WRT doesn't include man pages to keep FW small..