Find a file
Iñigo Martínez b00e004890 build: meson: Use variables present in pkg-config files
Although some paths related to DBus and PolicyKit are present in
their pkg-config files, those paths might not be writable for the
user. To solve this issue, some build options are present that can
be used to choose a different location.

However, usually these paths are relative to some other variables
such as `prefix`, `datadir`, etc. Using the `define_variable`
option the relative path can be change to point to a directory
under prefix.

These paths are now using relative paths based on the installation
`prefix` and their related options have been removed as they are
unnecessary now. Only `dbus_conf_dir` option has been left because
it must be modified depending on the distribution[0].

[0] contrib/fedora/rpm/NetworkManager.spec
2018-12-20 13:50:34 +01:00
clients settings,gsm: deprecate and stop using 'number' property 2018-12-19 08:54:50 +01:00
contrib build: meson: Remove polkit_dir option 2018-12-20 13:50:34 +01:00
data all: say Wi-Fi instead of "wifi" or "WiFi" 2018-11-29 17:53:35 +01:00
dispatcher build: create "config-extra.h" header instead of passing directory variables via CFLAGS 2018-07-17 17:46:39 +02:00
docs build: fix check-docs.sh for out-of-tree builds 2018-10-25 11:08:39 +02:00
examples examples: fix wrong example configuration in "31-mac-addr-change.conf" 2018-12-10 15:21:44 +01:00
introspection all: say Wi-Fi instead of "wifi" or "WiFi" 2018-11-29 17:53:35 +01:00
libnm team: add support for 'vlanid' link-watchers property 2018-12-12 14:07:30 +01:00
libnm-core libnm: discourage static buffer in nm_utils_inet*_ntop() API 2018-12-19 09:23:08 +01:00
libnm-glib docs: misc. typos pt2 2018-09-17 11:26:13 +02:00
libnm-util all: say Wi-Fi instead of "wifi" or "WiFi" 2018-11-29 17:53:35 +01:00
m4 build: don't change CFLAGS from configure.ac 2018-09-18 15:15:31 +02:00
man man: add SR-IOV nmcli example 2018-12-12 14:38:18 +01:00
po all: say Wi-Fi instead of "wifi" or "WiFi" 2018-11-29 17:53:35 +01:00
shared dhcp: fix static-route handling for intenal client and support multiple default routes 2018-12-19 09:23:08 +01:00
src device: fix method check in IPvLL code 2018-12-20 09:49:56 +01:00
tools meson: add check on settings docs 2018-12-12 14:38:18 +01:00
vapi meson: Fix vapi build 2018-09-13 14:33:20 +02:00
.dir-locals.el
.gitignore shared/tests: add test for "shared/nm-utils" 2018-10-18 12:16:55 +02:00
.gitlab-ci.yml gitlab-ci: patch gtk-doc to generate valid documentation 2018-12-01 08:55:44 +01:00
.mailmap mailmap: update user 2018-10-01 12:02:55 +02:00
.travis.yml ci: use common script for tests on travis and gitlab 2018-11-12 11:29:37 +01:00
AUTHORS
autogen.sh
ChangeLog all: point git references to the GitLab instance 2018-08-27 11:36:56 +02:00
config-extra.h.meson build: move paths of dhcp clients from config-extra.h to config.h 2018-09-13 14:35:15 +02:00
config.h.meson build: add configure check for having memfd_create() API 2018-10-25 16:37:35 +02:00
configure.ac doc,all: fix spelling of Open vSwitch (instead of OpenVSwitch) 2018-11-28 14:26:42 +01:00
CONTRIBUTING
COPYING
linker-script-binary.ver
linker-script-devices.ver
linker-script-settings.ver
MAINTAINERS
Makefile.am meson: add check on settings docs 2018-12-12 14:38:18 +01:00
Makefile.examples examples/python: drop nmex.py 2018-06-29 20:05:39 +02:00
Makefile.glib
Makefile.vapigen
meson.build build: meson: Use variables present in pkg-config files 2018-12-20 13:50:34 +01:00
meson_options.txt build: meson: Use variables present in pkg-config files 2018-12-20 13:50:34 +01:00
NetworkManager.pc.in
NEWS all: say Wi-Fi instead of "wifi" or "WiFi" 2018-11-29 17:53:35 +01:00
README readme: update issue tracker address 2018-09-20 10:52:52 +02:00
TODO all: say Wi-Fi instead of "wifi" or "WiFi" 2018-11-29 17:53:35 +01:00
valgrind.suppressions
zanata.xml

******************
2008-12-11: NetworkManager core daemon has moved to git.freedesktop.org!

git clone git://git.freedesktop.org/git/NetworkManager/NetworkManager.git
******************


Networking that Just Works
--------------------------

NetworkManager attempts to keep an active network connection available at all
times.  The point of NetworkManager is to make networking configuration and
setup as painless and automatic as possible.  NetworkManager is intended to
replace default route, replace other routes, set IP addresses, and in general
configure networking as NM sees fit (with the possibility of manual override as
necessary).  In effect, the goal of NetworkManager is to make networking Just
Work with a minimum of user hassle, but still allow customization and a high
level of manual network control.  If you have special needs, we'd like to hear
about them, but understand that NetworkManager is not intended for every
use-case.

NetworkManager will attempt to keep every network device in the system up and
active, as long as the device is available for use (has a cable plugged in,
the killswitch isn't turned on, etc).  Network connections can be set to
'autoconnect', meaning that NetworkManager will make that connection active
whenever it and the hardware is available.

"Settings services" store lists of user- or administrator-defined "connections",
which contain all the settings and parameters required to connect to a specific
network.  NetworkManager will _never_ activate a connection that is not in this
list, or that the user has not directed NetworkManager to connect to.


How it works:

The NetworkManager daemon runs as a privileged service (since it must access
and control hardware), but provides a D-Bus interface on the system bus to
allow for fine-grained control of networking.  NetworkManager does not store
connections or settings, it is only the mechanism by which those connections
are selected and activated.

To store pre-defined network connections, two separate services, the "system
settings service" and the "user settings service" store connection information
and provide these to NetworkManager, also via D-Bus.  Each settings service
can determine how and where it persistently stores the connection information;
for example, the GNOME applet stores its configuration in GConf, and the system
settings service stores its config in distro-specific formats, or in a distro-
agnostic format, depending on user/administrator preference.

A variety of other system services are used by NetworkManager to provide
network functionality: wpa_supplicant for wireless connections and 802.1x
wired connections, pppd for PPP and mobile broadband connections, DHCP clients
for dynamic IP addressing, dnsmasq for proxy nameserver and DHCP server
functionality for internet connection sharing, and avahi-autoipd for IPv4
link-local addresses.  Most communication with these daemons occurs, again,
via D-Bus.


Why doesn't my network Just Work?

Driver problems are the #1 cause of why NetworkManager sometimes fails to
connect to wireless networks.  Often, the driver simply doesn't behave in a
consistent manner, or is just plain buggy.  NetworkManager supports _only_
those drivers that are shipped with the upstream Linux kernel, because only
those drivers can be easily fixed and debugged.  ndiswrapper, vendor binary
drivers, or other out-of-tree drivers may or may not work well with
NetworkManager, precisely because they have not been vetted and improved by the
open-source community, and because problems in these drivers usually cannot
be fixed.

Sometimes, command-line tools like 'iwconfig' will work, but NetworkManager will
fail.  This is again often due to buggy drivers, because these drivers simply
aren't expecting the dynamic requests that NetworkManager and wpa_supplicant
make.  Driver bugs should be filed in the bug tracker of the distribution being
run, since often distributions customize their kernel and drivers.

Sometimes, it really is NetworkManager's fault.  If you think that's
the case, please file a bug at:

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues

Attaching NetworkManager debug logs from the journal (or wherever your
distribution directs syslog's 'daemon' facility output, as
/var/log/messages or /var/log/daemon.log) is often very helpful, and
(if you can get) a working wpa_supplicant config file helps
enormously.  See the logging section of file
contrib/fedora/rpm/NetworkManager.conf for how to enable debug logging
in NetworkManager.