著者: Ilario 日付: To: libremesh 題目: Re: [lime] Enabled the Attendedsysupgrade Server (asu) on LibreMesh
firmware-selector
This is incredibly good, thanks Gothos!!!!!
On 1/31/24 12:26, gothos via LibreMesh wrote: > Ciao!
>
> As agreed at the last meeting,
> I have updated the firmware-selector to make it possible to build
> LibreMesh via the Attendedsysupgrade Server (asu) [0] that use the
> OpenWrt ImageBuilder.
>
> To try:
> https://downloads.libremesh.org/selector/?version=master-ow23.05.2 >
> Main notes:
> - it's possible to build only from latest release of openwrt-23.05.2
> - I've done a fork of asu: [1]
> - to allow passing additional configs (basically
> VERSION_DIST=LibreMesh and VERSION_NUMBER=master-ow23.05.2, and,
> optionally, the format of the output image)
> - to allow a custom timeout > 10m (otherwise the process of
> downloading a dockerized imagebuilder and then building the request,
> might timeout, if there is latency or low bandwidth)
> - I've done a fork of firmware-selector-openwrt-org: [2]
> - to specify the required repositories and repository_keys (e.g.
> https://feed.libremesh.org/)
> - to include known package substitutions by default (e.g. to work
> with 802.11s and avoid deaf radios on ath9k) [3]
> - to specify additional configs (not those related to
> kernel/packages as they are not recompiled) that could be useful to give
> a specific name to the output image
> - to match the selected version of libremesh with the corresponding
> of openwrt
> - the whole process is still a work in progress
> - i.e. it may have problems with auc (CLI client for
> attended-sysupgrade) but in case it should be not too complicated to
> program yourself a script that uses curl
>
> Notes about the attendedsysupgrade server
> - I've currently setup two instances:
> - https://sysupgrade.antennnine.campiinrete.org > - Intel(R) Celeron(R) CPU J3160 @ 1.60GHz
> - 4 cpus 4 core
> - 8GB RAM
> - 100mbps/100mbps with around 6ms of latency (last mile fiber)
> - https://sysupgrade0.antennine.campiinrete.org is the machine that
> we currently use also to build the various releases of libremesh
> - Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
> - 8 cpus 4 core
> - 16GB RAM
> - 20Mbps/10Mbps with around 20-40ms of latency (last mile airmax)
> - we are planning to setup a third in another place where moreover we
> don't pay for electricity (probably late February)
>
> As also agreed upon at the last meeting,
> I'm waiting for the next release of the lime-app and so the next release
> of libremesh (2024.1) to rebuild everything
>
> In the meanwhile I will proceed to finish the restyle of the website,
> Cristina will also help on this
>
> A greeting!
>
>
> [0] https://github.com/openwrt/asu > [1] https://github.com/a-gave/asu-libremesh > [2]
> https://gitlab.com/a-gave/firmware-selector-openwrt-org/-/commits/libremesh_dirty > [3] information for different targets is collected here, and then
> translated into json files to be used by the firmware selector
>
> https://gitlab.com/a-gave/libremesh-ansible-collection/-/tree/master/target/libremesh_master/openwrt_23.05.2 >
>
>