{"id":13577690,"url":"https://github.com/NetworkManager/NetworkManager","last_synced_at":"2025-04-05T12:31:10.381Z","repository":{"id":37550221,"uuid":"42934521","full_name":"NetworkManager/NetworkManager","owner":"NetworkManager","description":"Read-only Mirror of the freedesktop.org repository. Please make pull requests against freedesktop.org.","archived":false,"fork":false,"pushed_at":"2024-10-29T10:21:51.000Z","size":250451,"stargazers_count":395,"open_issues_count":0,"forks_count":177,"subscribers_count":21,"default_branch":"main","last_synced_at":"2024-10-29T11:48:54.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NetworkManager.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-22T13:12:35.000Z","updated_at":"2024-10-29T03:53:42.000Z","dependencies_parsed_at":"2023-09-22T23:15:44.850Z","dependency_job_id":"5fa93f82-e6e6-4390-9df5-979f83e1207d","html_url":"https://github.com/NetworkManager/NetworkManager","commit_stats":null,"previous_names":[],"tags_count":571,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkManager%2FNetworkManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkManager%2FNetworkManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkManager%2FNetworkManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkManager%2FNetworkManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetworkManager","download_url":"https://codeload.github.com/NetworkManager/NetworkManager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247338671,"owners_count":20922994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:01:23.617Z","updated_at":"2025-04-05T12:31:05.357Z","avatar_url":"https://github.com/NetworkManager.png","language":"C","readme":"NetworkManager\n==============\n\nNetworking that Just Works\n--------------------------\n\nNetworkManager attempts to keep an active network connection available at all\ntimes.  The point of NetworkManager is to make networking configuration and\nsetup as painless and automatic as possible.  NetworkManager is intended to\nreplace default route, replace other routes, set IP addresses, and in general\nconfigure networking as NM sees fit (with the possibility of manual override as\nnecessary).  In effect, the goal of NetworkManager is to make networking Just\nWork with a minimum of user hassle, but still allow customization and a high\nlevel of manual network control.  If you have special needs, we'd like to hear\nabout them, but understand that NetworkManager is not intended for every\nuse-case.\n\nNetworkManager will attempt to keep every network device in the system up and\nactive, as long as the device is available for use (has a cable plugged in,\nthe killswitch isn't turned on, etc).  Network connections can be set to\n'autoconnect', meaning that NetworkManager will make that connection active\nwhenever it and the hardware is available.\n\n\"Settings services\" store lists of user- or administrator-defined \"connections\",\nwhich contain all the settings and parameters required to connect to a specific\nnetwork.  NetworkManager will _never_ activate a connection that is not in this\nlist, or that the user has not directed NetworkManager to connect to.\n\n\nHow it works\n------------\n\nThe NetworkManager daemon runs as a privileged service (since it must access\nand control hardware), but provides a D-Bus interface on the system bus to\nallow for fine-grained control of networking.  NetworkManager does not store\nconnections or settings, it is only the mechanism by which those connections\nare selected and activated.\n\nTo store pre-defined network connections, two separate services, the \"system\nsettings service\" and the \"user settings service\" store connection information\nand provide these to NetworkManager, also via D-Bus.  Each settings service\ncan determine how and where it persistently stores the connection information;\nfor example, the GNOME applet stores its configuration in GConf, and the system\nsettings service stores its config in distro-specific formats, or in a distro-\nagnostic format, depending on user/administrator preference.\n\nA variety of other system services are used by NetworkManager to provide\nnetwork functionality: wpa_supplicant for wireless connections and 802.1x\nwired connections, pppd for PPP and mobile broadband connections, DHCP clients\nfor dynamic IP addressing, dnsmasq for proxy nameserver and DHCP server\nfunctionality for internet connection sharing, and avahi-autoipd for IPv4\nlink-local addresses.  Most communication with these daemons occurs, again,\nvia D-Bus.\n\n\nHow to use it\n-------------\n\nInstall NetworkManager with your distribution's package manager.\n\nAs NetworkManager is actually a daemon that runs in the background, you need to\nuse one of the many existing client programs to interact with it.\n\nTerminal clients:\n- `nmcli`: advanced command line client that gives you full control over all the\n  aspects of NetworkManager, developed as part of the NetworkManager project.\n- `nmtui`: text-based user interface (TUI) client. Also for the terminal, but\n  interactive and more user friendly, also part of the NetworkManager project.\n- [`nmstate`][1]: declarative network API and command line tool that uses\n  NetworkManager as backend.\n- Ansible: use the [network-role][2] in your playbooks\n\nGUI clients\n- `nm-connection-editor` and `nm-applet`: basic GUI interfaces developed by\n  the NetworkManager project.\n- GNOME shell: interacts with NetworkManager via its default settings panel\n  `gnome-control-center`\n- KDE Plasma: interacts with NetworkManager via its default settings panel\n  and `plasma-nm`\n\n\nWhy doesn't my network Just Work?\n---------------------------------\n\nDriver problems are the #1 cause of why NetworkManager sometimes fails to\nconnect to wireless networks.  Often, the driver simply doesn't behave in a\nconsistent manner, or is just plain buggy.  NetworkManager supports _only_\nthose drivers that are shipped with the upstream Linux kernel, because only\nthose drivers can be easily fixed and debugged.  ndiswrapper, vendor binary\ndrivers, or other out-of-tree drivers may or may not work well with\nNetworkManager, precisely because they have not been vetted and improved by the\nopen-source community, and because problems in these drivers usually cannot\nbe fixed.\n\nSometimes, command-line tools like 'iwconfig' will work, but NetworkManager will\nfail.  This is again often due to buggy drivers, because these drivers simply\naren't expecting the dynamic requests that NetworkManager and wpa_supplicant\nmake.  Driver bugs should be filed in the bug tracker of the distribution being\nrun, since often distributions customize their kernel and drivers.\n\nSometimes, it really is NetworkManager's fault.  If you think that's\nthe case, please file a bug at:\n\nhttps://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues\n\nAttaching NetworkManager debug logs from the journal (or wherever your\ndistribution directs syslog's 'daemon' facility output, as\n/var/log/messages or /var/log/daemon.log) is often very helpful, and\n(if you can get) a working wpa_supplicant config file helps\nenormously.  See the logging section of file\ncontrib/fedora/rpm/NetworkManager.conf for how to enable debug logging\nin NetworkManager.\n\n\nDocumentation\n-------------\n\nUpdated documentation can be found at https://networkmanager.dev/docs\n\nUsers can consult the man pages. Most relevant pages for normal users are:\n- NetworkManager daemon: [`NetworkManager (8)`][3], [`NetworkManager.conf (5)`][4]\n- nmcli: [`nmcli (1)`][5], [`nmcli-examples (5)`][6], [`nm-settings-nmcli (5)`][7]\n- nmtui: [`nmtui (1)`][8]\n\n\nGet in touch\n------------\n\nTo connect with the community, get help or get involved see the available\ncommunication channels at https://networkmanager.dev/community/\n\nReport bugs or feature request in our [issue tracker](https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues).\nSee [Report issues](https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md?ref_type=heads#report-issues)\nfor details about how to do it.\n\n\nContribute\n----------\n\nTo get involved, see [CONTRIBUTING.md](CONTRIBUTING.md) to find different ways\nto contribute.\n\n\nLicense\n-------\n\nNetworkManager is free software under GPL-2.0-or-later and LGPL-2.1-or-later.\nSee [CONTRIBUTING.md#legal](CONTRIBUTING.md#legal) and\n[RELICENSE.md](RELICENSE.md) for details.\n\n\n[1]: https://nmstate.io/\n[2]: https://linux-system-roles.github.io/network/\n[3]: https://networkmanager.dev/docs/api/latest/NetworkManager.html\n[4]: https://networkmanager.dev/docs/api/latest/NetworkManager.conf.html\n[5]: https://networkmanager.dev/docs/api/latest/nmcli.html\n[6]: https://networkmanager.dev/docs/api/latest/nmcli-examples.html\n[7]: https://networkmanager.dev/docs/api/latest/nm-settings-nmcli.html\n[8]: https://networkmanager.dev/docs/api/latest/nmtui.html\n","funding_links":[],"categories":["C","System Utilities"],"sub_categories":["Directory Navigation"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNetworkManager%2FNetworkManager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNetworkManager%2FNetworkManager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNetworkManager%2FNetworkManager/lists"}