Asu

screenshot of Asu
flask

An image on demand server for OpenWrt based distributions

Overview

The Attendedsysupgrade Server project, developed during GSoC 2017, simplifies the sysupgrade process for upgrading firmware on devices running OpenWrt or similar distributions. It offers tools that allow a user to reflash the router with a new firmware version, including all packages, without the need for opkg.

Features

  • API for Custom Firmware Images: This project is based on an API that allows users to request custom firmware images with selected pre-installed packages.
  • Web Interface (OpenWrt Firmware Selector): Users can access a simple web interface developed in vanilla JavaScript for device search based on model names and to request firmware images via the ASU API.
  • luci-app-attendedsysupgrade Package: Provides a tool under System > Attended Sysupgrade that allows users to request and flash a new firmware image with the current set of packages.
  • CLI Tool (owut): With OpenWrt SNAPSHOT-r26792 or newer, the CLI app auc was replaced with owut to offer a comprehensive CLI tool for device upgrades.
  • Server Functionality: The project includes a server that listens for image requests, automatically generates valid images, and caches them in a Redis database for faster access.

Summary

The Attendedsysupgrade Server project simplifies the firmware upgrade process for OpenWrt devices by providing tools like a web interface, CLI tool, and server functionality. Users can request custom firmware images, flash them with pre-installed packages, and automate the upgrade process using this project. The installation guide using Podman and podman-compose makes it easy to set up the server for production or development environments.

flask
Flask

Flask is a lightweight and popular web framework for Python, known for its simplicity and flexibility. It is widely used to build web applications, providing a minimalistic approach to web development with features like routing, templates, and support for extensions.