Two OpenWrt updates
OpenWrt 19.07.10 is the final release of the 19.07 release branch, this branch is now end of life and we will not fix problems on this branch any more, not even severe security problems. We encourage all users still using OpenWrt 19.07 to upgrade to OpenWrt 21.02 or more recent OpenWrt versions.
Router distributions are easy to forget about; now might be a good time to
check any relevant systems and, if needed, doing an upgrade.
Posted Apr 21, 2022 12:31 UTC (Thu)
by arekm (guest, #4846)
[Link] (21 responses)
No simple and sane way. Wiki [1] is full of various methods, including custom hacks, additional scripts to do (and figuring out which are needed, when, why).
1. https://openwrt.org/docs/guide-user/installation/generic....
Posted Apr 21, 2022 15:15 UTC (Thu)
by fatso (guest, #156951)
[Link]
Posted Apr 21, 2022 15:19 UTC (Thu)
by lutchann (subscriber, #8872)
[Link] (2 responses)
It is true that the documentation could be better, but there are few volunteers willing to keep the documentation current with all the idiosyncrasies of the hundreds of platforms OpenWrt runs on...
Posted Apr 21, 2022 16:10 UTC (Thu)
by Nahor (subscriber, #51583)
[Link] (1 responses)
Posted Apr 21, 2022 18:30 UTC (Thu)
by Thalience (subscriber, #4217)
[Link]
Doing something smarter about config files where the defaults have changed would be a desirable feature, although I don't think that automatically accepting the new defaults is always the right answer.
I believe that patches would be welcome in support of either of these ideas.
Posted Apr 21, 2022 16:25 UTC (Thu)
by rfunk (subscriber, #4054)
[Link] (1 responses)
Posted Apr 22, 2022 0:04 UTC (Fri)
by sjj (guest, #2020)
[Link]
Posted Apr 21, 2022 16:32 UTC (Thu)
by pizza (subscriber, #46)
[Link]
[1] Even the console UART isn't generating output, but I still need to confirm the serial adapter I'm using is okay. [2]
Posted Apr 21, 2022 17:25 UTC (Thu)
by hrw (subscriber, #44826)
[Link] (2 responses)
My AP runs snapshot as it was too new for 21.02 release. For snapshot to snapshot updates auc is enough.
Posted Apr 21, 2022 18:22 UTC (Thu)
by arekm (guest, #4846)
[Link] (1 responses)
Posted Apr 21, 2022 18:52 UTC (Thu)
by hrw (subscriber, #44826)
[Link]
At least this is how I understood that tool.
Posted Apr 21, 2022 17:32 UTC (Thu)
by bmork (subscriber, #88411)
[Link]
This will build and install a customized image with all your packages. More docs on https://github.com/openwrt/asu
Posted Apr 22, 2022 0:10 UTC (Fri)
by sjj (guest, #2020)
[Link] (1 responses)
Posted Apr 22, 2022 3:45 UTC (Fri)
by champtar (subscriber, #128673)
[Link]
Posted Apr 22, 2022 5:54 UTC (Fri)
by pabs (subscriber, #43278)
[Link] (4 responses)
Posted Apr 22, 2022 6:12 UTC (Fri)
by arekm (guest, #4846)
[Link] (3 responses)
OpenWrt is like in stone age of package managers and upgrade path (and yes, everyone knows "patches welcome"). Small size is not a reason for this but probably lack of capable people interested in improving this, including devs.
Posted Apr 22, 2022 8:47 UTC (Fri)
by pbaum (subscriber, #4514)
[Link]
But comparing the hardware of the Mox and the hardware of my APs, which run pure OpenWrt, make it very clear that you have to reduce some features to make such a powerful system run on such small hardware.
I just say thank you OpenWrt dev team for your hard work which allows me to run an open source system on this critical infrastructure.
Posted Apr 22, 2022 18:42 UTC (Fri)
by bmork (subscriber, #88411)
[Link] (1 responses)
Sure it is. There is a vast difference between devices like the Turris routers - designed for software flexibility with plenty of flash, and the average OpenWrt device - designed for a feature limited vendor firmware with price tag as the first (and only?) priority.
OpenWrt also strives to maintain compatibility with the vendor firmware, which often means that only a fraction of the small flash chip is available for OpenWrt. The original boot-loader decides the flash partition layout. Many devices with almost no flash at all still use dual system images for some sort of "failsafe".
Cramming all you need into such devices means compromising. One very important compromise is to put as much as possible of the required software in a compressed read-only file system, and use an overlay file system for configuration and optional packages. Software installed in the overlay will waste much more flash than software installed in the initial read-only file system. For this reason it's not obvious that such packages should be automatically re-installed on upgrades. And I believe the OpenWrt default is intentional. The OpenWrt base system comes with everything required for common use cases. Most users are much better off carefully reviewing their list of optional packages on every upgrade, than accumulating flash waste. Automatic re-install would also come with a significant risk of running out of space, since everything tends to grow.
Users wanting a large number of optional packages should consider the auc tool and sysupgrade server. This both ensures automatic upgrades of all packages, and saves as much flash space as possible by moving everything to the compressed image.
In the old days, before the sysupgrade server, you had to build your own image to achieve that.
Posted Apr 22, 2022 19:30 UTC (Fri)
by nybble41 (subscriber, #55106)
[Link]
Add-on packages could also be installed as discrete compressed read-only filesystem images to be overlayed on top of the root filesystem, rather than unpacking them into the uncompressed read/write filesystem.
Posted Apr 24, 2022 11:00 UTC (Sun)
by pharm (guest, #22305)
[Link] (1 responses)
This is true, but for some reason the most straightforward & least hassle upgrade method isn’t mentioned on the main website.
The sysupgrade service will take your package list & build you a custom image that can then be used to automatically upgrade your system, preserving the currently installed packages & then re-using the existing configuration. It “just works” (tm).
1) Go to https://sysupgrade.openwrt.org/ & follow the instructions.
(Full versions will still require a re-install IIRC - this method doesn’t support upgrades across major release versions.)
Posted May 5, 2022 11:45 UTC (Thu)
by Gollum (guest, #25237)
[Link]
Posted May 14, 2022 16:56 UTC (Sat)
by anatolik (guest, #73797)
[Link]
Two OpenWrt updates
sysupgrade wipes out installed additional packages and other upgrade "fun".
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
OpenWrt update fun
OpenWrt update fun
Two OpenWrt updates
[2] As usual my stash of dongles and spare parts (including two identical APs) will require a 2.5-hour round trip to retrieve...
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
Two OpenWrt updates
2) Never suffer the pain of OpenWRT point release upgrades ever again.
Two OpenWrt updates
Two OpenWrt updates