Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapting LibreMesh to OpenWrt 22.03 #951

Open
ilario opened this issue Nov 30, 2022 · 3 comments
Open

Adapting LibreMesh to OpenWrt 22.03 #951

ilario opened this issue Nov 30, 2022 · 3 comments
Milestone

Comments

@ilario
Copy link
Member

ilario commented Nov 30, 2022

Up to now, LibreMesh works with OpenWrt 19.07 and 18.06.
The tests on OpenWrt 21.02 and 22.03 were not very successful yet.
Some comments from the mailing list can be read here: (mailing list server is down, adding once it gets up again)

Very likely, we will have to adapt to support DSA way to configuring switches rather than the traditional swconfig, see the last part of this comment #944 (comment)

Here I report the outcome of lime-config configurations when running them on OpenWrt 19.07 and on OpenWrt 22.03.
At a first sight, some differences in /etc/config/network can be spotted and are likely the source of our problems.

On OpenWrt 19.07

Output of lime-report on clean OpenWrt 19.07:

OpenWrt19-plain.txt

Console output during the lime-system installation:

install-lime-system.txt

Output of lime-report on OpenWrt 19.07 after installing lime-system and rebooting:

OpenWrt19-with_lime-system.txt

On OpenWrt 22.03

Output of lime-report on clean OpenWrt 22.03:

OpenWrt22-plain.txt

Console output during the lime-system installation:

install-lime-system.txt

Output of lime-report on OpenWrt 22.03 after installing lime-system and rebooting:

OpenWrt22-with_lime-system.txt

@ilario
Copy link
Member Author

ilario commented Dec 12, 2022

Here go more outputs from lime-report when installing more packages:

On OpenWrt 19.07

Output of lime-report on OpenWrt 19.07 after installing lime-system and lime-proto-anygw:

OpenWrt19-with_lime-system_lime-proto-anygw.txt

Output of lime-report on OpenWrt 19.07 after installing lime-system and lime-proto-anygw and lime-proto-batadv and lime-proto-babeld:

OpenWrt19-with_lime-system_lime-proto-anygw-batadv-babeld.txt

On OpenWrt 22.03

Output of lime-report on OpenWrt 22.03 after installing lime-system and lime-proto-anygw:

OpenWrt22-with_lime-system_lime-proto-anygw.txt

Output of lime-report on OpenWrt 22.03 after installing lime-system and lime-proto-anygw and lime-proto-batadv and lime-proto-babeld:

OpenWrt22-with_lime-system_lime-proto-anygw-batadv-babeld.txt

@ilario
Copy link
Member Author

ilario commented Feb 15, 2023

An update from the mailing list https://lists.autistici.org/message/20230215.104531.08767d53.en.html :

support for OpenWrt 22.03, updates about:
#959 ?

When I wrote that pull request, I thought that the new configuration format was due to the swconfig-DSA migration.
But instead it is due to the OpenWrt 19.07 vs >19.07 versions, so I have to rewrite the pull request.

Considering this small issue (would be easy to rewrite that) and the big issue of the new firewall used in OpenWrt 22.03 (iptables and ebtables have been abandoned in favor of nftables) we had a short discussion in the Element chat and in the linked pull request about supporting only OpenWrt 22.03 in the lime-packages' "master" branch. So we would create a "target_OpenWrt_19.07" branch for the extended support to OpenWrt 19.07 and a tag with a minor release "2020.2" which can be considered as an updated version of the 2020.1 LibreMesh release "Expansive Emancipation".
Can you discuss also this in the meeting?

Other relevant issues for using OpenWrt 22.03 are:
#971 (Dnsmasq now can access only specific folders)
#950 (we were creating a file that now is provided by an OpenWrt package)

And the need to migrate all our iptables and ebtables commands and dependencies to nftables (supposedly, nftables commands are backcompatible in OpenWrt with iptables commands, but the dependencies are quite different, and the result is that installing a trivial package like lime-proto-wan pulls a crazy amount of dependencies).

@FreifunkUFO
Copy link
Member

yes, old ticket: nice brunch names would be conventional!
i heard, in leipzig some libremesh nodes are running OpenWrt 21.02 since months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants