Blame README

Packit 5756e2
******************
Packit 5756e2
NetworkManager core daemon has moved to gitlab.freedesktop.org!
Packit 5756e2
Packit 5756e2
git clone https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
Packit 5756e2
******************
Packit 5756e2
Packit 5756e2
Packit 5756e2
Networking that Just Works
Packit 5756e2
--------------------------
Packit 5756e2
Packit 5756e2
NetworkManager attempts to keep an active network connection available at all
Packit 5756e2
times.  The point of NetworkManager is to make networking configuration and
Packit 5756e2
setup as painless and automatic as possible.  NetworkManager is intended to
Packit 5756e2
replace default route, replace other routes, set IP addresses, and in general
Packit 5756e2
configure networking as NM sees fit (with the possibility of manual override as
Packit 5756e2
necessary).  In effect, the goal of NetworkManager is to make networking Just
Packit 5756e2
Work with a minimum of user hassle, but still allow customization and a high
Packit 5756e2
level of manual network control.  If you have special needs, we'd like to hear
Packit 5756e2
about them, but understand that NetworkManager is not intended for every
Packit 5756e2
use-case.
Packit 5756e2
Packit 5756e2
NetworkManager will attempt to keep every network device in the system up and
Packit 5756e2
active, as long as the device is available for use (has a cable plugged in,
Packit 5756e2
the killswitch isn't turned on, etc).  Network connections can be set to
Packit 5756e2
'autoconnect', meaning that NetworkManager will make that connection active
Packit 5756e2
whenever it and the hardware is available.
Packit 5756e2
Packit 5756e2
"Settings services" store lists of user- or administrator-defined "connections",
Packit 5756e2
which contain all the settings and parameters required to connect to a specific
Packit 5756e2
network.  NetworkManager will _never_ activate a connection that is not in this
Packit 5756e2
list, or that the user has not directed NetworkManager to connect to.
Packit 5756e2
Packit 5756e2
Packit 5756e2
How it works:
Packit 5756e2
Packit 5756e2
The NetworkManager daemon runs as a privileged service (since it must access
Packit 5756e2
and control hardware), but provides a D-Bus interface on the system bus to
Packit 5756e2
allow for fine-grained control of networking.  NetworkManager does not store
Packit 5756e2
connections or settings, it is only the mechanism by which those connections
Packit 5756e2
are selected and activated.
Packit 5756e2
Packit 5756e2
To store pre-defined network connections, two separate services, the "system
Packit 5756e2
settings service" and the "user settings service" store connection information
Packit 5756e2
and provide these to NetworkManager, also via D-Bus.  Each settings service
Packit 5756e2
can determine how and where it persistently stores the connection information;
Packit 5756e2
for example, the GNOME applet stores its configuration in GConf, and the system
Packit 5756e2
settings service stores its config in distro-specific formats, or in a distro-
Packit 5756e2
agnostic format, depending on user/administrator preference.
Packit 5756e2
Packit 5756e2
A variety of other system services are used by NetworkManager to provide
Packit 5756e2
network functionality: wpa_supplicant for wireless connections and 802.1x
Packit 5756e2
wired connections, pppd for PPP and mobile broadband connections, DHCP clients
Packit 5756e2
for dynamic IP addressing, dnsmasq for proxy nameserver and DHCP server
Packit 5756e2
functionality for internet connection sharing, and avahi-autoipd for IPv4
Packit 5756e2
link-local addresses.  Most communication with these daemons occurs, again,
Packit 5756e2
via D-Bus.
Packit 5756e2
Packit 5756e2
Packit 5756e2
Why doesn't my network Just Work?
Packit 5756e2
Packit 5756e2
Driver problems are the #1 cause of why NetworkManager sometimes fails to
Packit 5756e2
connect to wireless networks.  Often, the driver simply doesn't behave in a
Packit 5756e2
consistent manner, or is just plain buggy.  NetworkManager supports _only_
Packit 5756e2
those drivers that are shipped with the upstream Linux kernel, because only
Packit 5756e2
those drivers can be easily fixed and debugged.  ndiswrapper, vendor binary
Packit 5756e2
drivers, or other out-of-tree drivers may or may not work well with
Packit 5756e2
NetworkManager, precisely because they have not been vetted and improved by the
Packit 5756e2
open-source community, and because problems in these drivers usually cannot
Packit 5756e2
be fixed.
Packit 5756e2
Packit 5756e2
Sometimes, command-line tools like 'iwconfig' will work, but NetworkManager will
Packit 5756e2
fail.  This is again often due to buggy drivers, because these drivers simply
Packit 5756e2
aren't expecting the dynamic requests that NetworkManager and wpa_supplicant
Packit 5756e2
make.  Driver bugs should be filed in the bug tracker of the distribution being
Packit 5756e2
run, since often distributions customize their kernel and drivers.
Packit 5756e2
Packit 5756e2
Sometimes, it really is NetworkManager's fault.  If you think that's
Packit 5756e2
the case, please file a bug at:
Packit 5756e2
Packit 5756e2
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues
Packit 5756e2
Packit 5756e2
Attaching NetworkManager debug logs from the journal (or wherever your
Packit 5756e2
distribution directs syslog's 'daemon' facility output, as
Packit 5756e2
/var/log/messages or /var/log/daemon.log) is often very helpful, and
Packit 5756e2
(if you can get) a working wpa_supplicant config file helps
Packit 5756e2
enormously.  See the logging section of file
Packit 5756e2
contrib/fedora/rpm/NetworkManager.conf for how to enable debug logging
Packit 5756e2
in NetworkManager.