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

Use iw to allow wifi-connect to refresh networks while connected #521

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

meelash
Copy link

@meelash meelash commented Nov 27, 2023

This is an improvement on #492. I found on my raspberry pi 4 hardware/software configuration that Network Manager's list of networks did not update after calling iw. The list of access points from network manager while in AP mode was just the AP ssid itself.
Therefore, I updated the code to use iw's response to populate the network list live when the AP has been created. Of course, I had to use a version of wifiscanner that included the security information from iw for linux. The wifiscanner repo had a pull request by @booyaa that added it.

tomasgareau and others added 4 commits November 26, 2023 18:24
This uses wifiscanner (which in turn uses iw) to scan for networks. This
means we can refresh our list of networks while still providing an AP
via NetworkManager.

Unfortunately, wifiscanner does not currently parse security for
networks on Linux, so we can't use its results. Fortunately, just doing
the scan seems to be enough for NetworkManager to pick up the results!
@hupster
Copy link

hupster commented Jan 5, 2024

Works well for me. Merged upstream changes in this branch.

@hupster hupster mentioned this pull request Jan 30, 2024
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