Opened 5 years ago

Closed 20 months ago

#360 closed (invalid)

A possibility to upgrade dd-wrt directly from internet.

Reported by: anonymous Owned by: Sash / Eko / Brainslayer
Keywords: Cc:

Description

It would be nice to have a feature to upgrade the dd-wrt version directly from the internet, without having to separatedly download the .bin to the computer before upgrading.

dd-wrt would automatically download the latest version from the dd-wrt server in the internet, and then upgrade it..

Change History (10)

comment:1 Changed 5 years ago by jaarli@…

Sounds good idea.

So developers should need to make some symbolic links to point allways to newest release, and depending on hardware it would point to correct firmware... But also there needs to be solved the fact that what type of download peoples will get, I mean VOIP, VPN, nokaid, etc...

But still good idea, if nothing else, point customer to newest firmware directory that contains firmware variants working on that particular device.

comment:2 Changed 5 years ago by soulstace

This feature doesn't sound very feasible, especially when you look at all the different router versions and dd-wrt versions. Plus...where would the router download the bin file to?

There would also need to be code in the firmware to verify the checksum of the downloaded bin file, or else it could be upgrading to a corrupted firmware, thus bricking the device.

Good idea, but BrainSlayer? would probably just consider it a waste of flash space.

comment:3 Changed 5 years ago by jaarli@…

Sure there is some quirks to sort out, but it would download the flash to same place it puts it with manual insertion...

comment:4 Changed 5 years ago by soulstace

Now the question is not "Where", but "What" downloads it... The OS (Linux) is what runs the router's main functions, including downloading of files (for example with the wget utility). The OS resides in flash, so how do you run the OS, yet upgrade it at the same time? There is not enough memory in 99% of routers to accomplish this.

comment:5 Changed 5 years ago by soulstace

I'm not saying that it's impossible, just impracticable.

I think the developers would agree... but I have been wrong before ;)

comment:6 Changed 5 years ago by redhawk

Not to mention that to do a proper firmware update you need to reset the router's nvram to defaults. This would prohibit this idea from coming to fruition. For every firmware update you still would need to reconfigure the router for your network needs.

comment:7 Changed 5 years ago by jaarli@…

soulstace: Again, just the same place where router does put the file within manual file insertion, AFAIK it doesn't blindly just write any random file to flash, it needs to be correctly structured etc, also I am under impression it is downloaded to ram, and then possibly checked against checksum also in the file itself, and who know what kind of structure checks is done... Anyways I see no problem or diffirence in getting an firmwarefile from internet compared to current "manual" way.

redhawk: Yes, an reset is at least recommended, but this method would still be most convenient way for peoples to upgrade their firmwares... Instead of finding the way in DD-WRT confusing downloadsite, user would get correct type of firmware automatically.

Generally there would be need to decide at least does the update get same variant of firmware as one has now, like VOIP, or is user pointed to some download directory in DD-WRT site, or most programming required way: GUI selectable variant that checks avaibility of variants available for router in question, either show newest version variants or show newest version available from that variant...

But generally I'd "just" put firmware to get automatically same variant of the firmware, users could manually still ofcourse put any variant to the device.

Also need to be figured out is there possibility for user to select somewhere that does the router look only stable versions or include betas etc too...

comment:8 Changed 5 years ago by anonymous

My original idea was exactly what jaarli mentioned: To just automatically get the latest version of same variant of the firmware.

Basically the idea would be just to bypass the need to download the file manually first to PC and then upload it to the dd-wrt box for upgrading. Everything else in the upgrade could be done just in the same way it's done now. Only difference would be that the bin file would come directly from internet instead of needing to be uploaded by the admin.

A selection whether the box gets the latest beta or a stable version sounds good as well.

comment:9 Changed 3 years ago by Sash

  • Owner changed from somebody to Sash / Eko / Brainslayer

comment:10 Changed 20 months ago by Sash

  • Resolution set to invalid
  • Status changed from new to closed

imho its to dangerous and would cause many bricked units (especially when there is low ram) so it would cause to much trouble

Note: See TracTickets for help on using tickets.