Ddup.

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7221
Location: Columbus, Ohio

PostPosted: Sat May 23, 2015 0:54    Post subject: Reply with quote
How is this ddup used?
_________________
I am far from a guru, I'm barely a novice.
Sponsor
dpeters11
DD-WRT User


Joined: 01 Apr 2010
Posts: 77

PostPosted: Sat May 23, 2015 1:25    Post subject: Reply with quote
Malachi wrote:
How is this ddup used?


I just telnet in using PuTTY (username is always root, then your dd-wrt password). Enter the command that SimulationMan gives, tell it to upgrade and it does it.

Very simple and can be done via wifi. In some ways, it's actually safer than updating through the GUI as it verifies the checksum etc.
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7221
Location: Columbus, Ohio

PostPosted: Sat May 23, 2015 1:28    Post subject: Reply with quote
That's what I did but the response back was ddup invalid command or something to that effect.
_________________
I am far from a guru, I'm barely a novice.
dpeters11
DD-WRT User


Joined: 01 Apr 2010
Posts: 77

PostPosted: Sat May 23, 2015 2:33    Post subject: Reply with quote
Are you currently on a really old version? I think he added it around May of last year.
jheide44
DD-WRT Guru


Joined: 03 Sep 2013
Posts: 729

PostPosted: Sat May 23, 2015 2:38    Post subject: Reply with quote
@Malachi

ddup is one of the few differences btw Kong/BS builds (ddup and transmission are the only 2 real differences i've been able to identify).

I'd wager it is a play of the "svn up" command Smile


...the manual appears below...


root@DD-WRT:~# ddup -h

-----------------------------------------------------
| DD-WRT Firmware update utility |
-----------------------------------------------------

Console utility to update dd-wrt router firmware.

Note: Before the flash process is started all ssh
connections will be terminated

Once the flash process has been completed your
router will be automatically rebooted. Do not power
off until the unit has been rebooted.

options:
-h, --help show brief help

--flash-local FILE specify path to *.bin fw

--flash-remote URL downloads firmware from specified URL
validates checksum and allows to flash it

--flash-latest checks for an update validates checksum
and allows to flash it

root@DD-WRT:~#

_________________
reenignE esreveR
Resistance is NOT futile... It's Voltage divided by Current!

[size=9]
_.-:Curently Deployed Devices:-._
Loc_1.0: R6400 -- Kong PTB 35550M 03-28-2018
Loc_2.0: R6300v2 -- Kong PTB 35550M 03-28-2018
Loc_3.0: R6300v2 -- Kong PTB 35030M 02-19-2018
Loc_4.0: R6300v2 -- Kong PTB 28600M 12-31-2015 (Radios OFF) & 5 Ubiquity UniFi APs
Loc_4.1: E4200 -- BrainSlayer K2.6 30880
Others: too many others to list

UNofficial Repo Kong's old builds HERE.

R7000 (& similar HW) Tips/Tricks HERE.

Assumptions:
1. Everyone on the forum has read the relevant forum section announcements.
2. For Broadcom section we have ALL at least tried to understand the "Peacock" thread,
HERE
SimulationMan32
DD-WRT User


Joined: 28 Aug 2014
Posts: 135
Location: Winnipeg, MB, Canada

PostPosted: Sat May 23, 2015 2:50    Post subject: Reply with quote
I recommend using
Code:
ddup --flash-latest
rather than the -remote. It is easier and it will automatically do the hard stuff for you Smile Also, it will always get it right. As mentioned, this can only be done from an existing Kong build.
_________________
KONG Builds for R7000, AC68U
Brainslayer for everything else
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7221
Location: Columbus, Ohio

PostPosted: Sat May 23, 2015 10:47    Post subject: Reply with quote
I was on BS latest build. You said it works only on kong builds. I thought kong was including all of his fixes to the main releases.
_________________
I am far from a guru, I'm barely a novice.


Last edited by Malachi on Sat Nov 14, 2015 22:36; edited 1 time in total
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1404

PostPosted: Sat May 23, 2015 15:05    Post subject: Reply with quote
Malachi wrote:
I was on BS latest build. You said it works only on monk builds. I thought kong was including all of his fixes to the main releases.


Ddup is Kong's own utilty for updating his builds and is not part of the svn. I copied ddup to my usb /opt drive then added a couple of scripts to simplify
firmware loads from both Kong and BS. I manually download the new code, copy it to /opt and only have to enter ddb or ddk to have it loaded. As part of the operation the script copies the code to a common name which is used for the actual update because ddup erases it when finished. This leaves the original code file available if I feel the need to reload.

When new Kong code is available I check to see if ddup has changed and if so I update the /opt drive.

No network hassles since the code is local on the router. Yes, I am lazy. I'll happily spend an hour writing code for a 5 minute job when it saves me time and less aggravation later on.

Since I have 2 R7000's (thanks to you) it's twice as easy.
Dave

_________________
Segment 1 R9000 10Gb LAN, 1Gb ISP BS
Test Bed R9000 10Gb LAN
Wired AP 1 Unifi UAP AC PRO 1Gb LAN
Wired AP 2 Unifi UAP AC PRO 1Gb LAN
Wired AP 3 Unifi UAP AC PRO 1Gb LAN
Test Bed R7800 1Gb LAN OpenWRT Kong
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
www.desipro.de/openwrt/ (Kong's)
YAMon
https://usage-monitoring.com/index.php
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Sat May 23, 2015 17:43    Post subject: Reply with quote
Malachi wrote:
I was on BS latest build. You said it works only on monk builds. I thought kong was including all of his fixes to the main releases.


Before I commit new features or bigger changes I discuss things with BS. In this case BS said he doesn't need it, since he has his own solution for his paying customers. That's why it is not included in svn and since it is only a script the code is available in clear text.
bushmills
DD-WRT Novice


Joined: 26 Feb 2009
Posts: 10

PostPosted: Sat Nov 14, 2015 22:21    Post subject: Reply with quote
I've tried the ddup process several times now (ddup --flash-latest), but all it does is "think" for a minute, then displays:

New release 28000 for Netgear R7000 available.
Do you want to update (y/n) [default=n]:
Aborting.

It displays all of the above text immediately, without giving me time or ability to type "y".

I've done a search on these boards, but can't find anything similar. Apologies in advance, if this has already been discussed and resolved. Could anyone shed some light or provide input? Thanks in advance!
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Sat Nov 14, 2015 23:06    Post subject: Reply with quote
bushmills wrote:
I've tried the ddup process several times now (ddup --flash-latest), but all it does is "think" for a minute, then displays:

New release 28000 for Netgear R7000 available.
Do you want to update (y/n) [default=n]:
Aborting.

It displays all of the above text immediately, without giving me time or ability to type "y".

I've done a search on these boards, but can't find anything similar. Apologies in advance, if this has already been discussed and resolved. Could anyone shed some light or provide input? Thanks in advance!


Well if it says "Aborting", then you or your terminal send command "Enter".
bushmills
DD-WRT Novice


Joined: 26 Feb 2009
Posts: 10

PostPosted: Sat Nov 14, 2015 23:08    Post subject: Reply with quote
As always, thanks for the quick reply and help Kong, you are much appreciated.

I just found my issue - as usual, user error. I was trying to execute the command from the gui window, instead of telneting in through a cmd prompt. I tried to telnet via cmd and it worked fine. Apologies for the dumb post.
dssboss
DD-WRT Novice


Joined: 17 Oct 2016
Posts: 2

PostPosted: Mon Oct 17, 2016 17:40    Post subject: Kong - latest Stable build Reply with quote
Which Kong Build is most stable at this point. In other words , requires less frequent reboots?

29300m??
Xeon2k8
DD-WRT Guru


Joined: 11 Feb 2016
Posts: 1281

PostPosted: Mon Oct 17, 2016 18:15    Post subject: Re: Kong - latest Stable build Reply with quote
dssboss wrote:
Which Kong Build is most stable at this point. In other words , requires less frequent reboots?

29300m??

Your comment hasn't got anything to do with topic. Also you haven't even given your router model, is not the same for every router. Do a search on ddwrt forum, read stickies, read peacock. This is a year old thread god sake.
dssboss
DD-WRT Novice


Joined: 17 Oct 2016
Posts: 2

PostPosted: Mon Oct 17, 2016 18:57    Post subject: Sorry - I have a R7000 Reply with quote
Which version is currently proven to be most stable for r7000?
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum 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