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 libnm to access network information #3623

Closed
totaam opened this issue Sep 18, 2022 · 2 comments
Closed

use libnm to access network information #3623

totaam opened this issue Sep 18, 2022 · 2 comments
Labels
enhancement New feature or request linux network

Comments

@totaam
Copy link
Collaborator

totaam commented Sep 18, 2022

Using Python and NetworkManager to control the network

API docs: https://lazka.github.io/pgi-docs/#NM-1.0

@totaam totaam added enhancement New feature or request network linux labels Sep 18, 2022
totaam added a commit that referenced this issue Jul 15, 2023
@totaam
Copy link
Collaborator Author

totaam commented Jul 15, 2023

The commit above should be sufficient to improve device detection.
We re-use the same fuzzy adapter name mapping function for device names and NM adapter names.
Note: we assume that a main loop is installed when we find the Gdk or GLib modules.

Needs testing on more platforms and packaging for MS Windows and MacOS.

@totaam
Copy link
Collaborator Author

totaam commented Jan 29, 2024

Not available in mingw or macos, so this will do for now.

@totaam totaam closed this as completed Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request linux network
Projects
None yet
Development

No branches or pull requests

1 participant