Centralized Firmware Upgrader for OpenWrt

Hi everyone,

the latest OpenWISP 2020-12 release which was just released today includes the first version of the new Firmware Upgrader module, which at the time of writing supports only OpenWRT and provides the following features:

  • Stores information of each upgrade operation which can be seen from the device page
  • Automatic retries for recoverable failures (eg: firmware image upload issues because of intermittent internet connection)
  • Performs a final check to find out if the upgrade completed successfully or not
  • Prevents accidental repeated upgrades
  • Single device upgrade
  • Mass upgrades
  • Possibility to divide firmware images in categories
  • REST API
  • Possibility of writing custom upgraders for other firmware OSes or for custom OpenWRT based firmwares
  • Configurable timeouts
  • Extensible

There's still work to do to improve this module, but at least the first version is now available in the official release and we can start collecting feedback.

See also:

I publish it here in the hope that it will be useful to some OpenWRT users.

Cheers!
Federico Capoano

8 Likes

great work.
i would love to see it upstreamed into Openwrt

quality code... thanks for sharing! ( and all the effort behind the scenes )

Thanks for your support.

What do you mean exactly for being upstreamed?

The agent (openwisp-config) is present in the official packages but needs to be updated.
OpenWISP needs to be installed on at least one server.

1 Like

Didn't know that. Thanks