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

ffac-autoupdater-wifi-fallback: remove requirement of wpa-supplicant #137

Merged
merged 2 commits into from
Nov 3, 2024

Conversation

maurerle
Copy link
Member

@maurerle maurerle commented Nov 1, 2024

This finally fixes the additional wpa-supplicant-mini requirement for the ffac-autoupdater-wifi-fallback (see issue #33 (comment) for more information).

As the functionality is quite handy to have it on all devices, it should not be bloated.
The package does now works again with gluon releases v2022.x and v2023.x (and should still work on older releases) without additional wpasupplicant packages.

It uses ubus call add_dynamic to add a network at runtime and then attach it to a network device.

@maurerle maurerle changed the title Improve autoupdater wifi fallback ffac-autoupdater-wifi-fallback: remove requirement of wpasupplicant Nov 1, 2024
@maurerle maurerle changed the title ffac-autoupdater-wifi-fallback: remove requirement of wpasupplicant ffac-autoupdater-wifi-fallback: remove requirement of wpa-supplicant Nov 1, 2024
@maurerle maurerle force-pushed the improve_autoupdater_wifi_fallback branch from fdc001a to 6577d3a Compare November 1, 2024 11:45
@maurerle maurerle marked this pull request as ready for review November 2, 2024 00:17
@maurerle
Copy link
Member Author

maurerle commented Nov 2, 2024

Tested with v2023.2.x on o2-6431.
disabled some runtime checks by hand in /usr/sbin/autoupdater-wifi-fallback so that the autoupdater does execute when run as autoupdater-wifi-fallback -f.

Worked fine, did connect to another Freifunk AP successfully..

@maurerle maurerle requested review from rotanid and grische November 2, 2024 00:20
@maurerle
Copy link
Member Author

maurerle commented Nov 2, 2024

@mbaumga is this PR fine for you as well? :)

@mbaumga
Copy link

mbaumga commented Nov 2, 2024

@mbaumga is this PR fine for you as well? :)

Sure. Looks fine to me. :)

@rotanid
Copy link
Member

rotanid commented Nov 2, 2024

@maurerle am i wrong or is the indentation broken with your changes?

@maurerle maurerle force-pushed the improve_autoupdater_wifi_fallback branch from 6577d3a to ff62ced Compare November 2, 2024 01:12
Copy link
Member

@rotanid rotanid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discussed some nitpicks in the comments but it should be fine even without changes

@maurerle maurerle force-pushed the improve_autoupdater_wifi_fallback branch from ff62ced to 8dca97b Compare November 3, 2024 10:20
@maurerle maurerle merged commit 1172a9c into master Nov 3, 2024
5 checks passed
@maurerle maurerle deleted the improve_autoupdater_wifi_fallback branch November 3, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants