device: renew dhcp leases on awake for software devices
[NetworkManager.git] / README
1
2 ******************
3 2008-12-11: NetworkManager core daemon has moved to git.freedesktop.org!
4
5 git clone git://git.freedesktop.org/git/NetworkManager/NetworkManager.git
6 ******************
7
8
9 Networking that Just Works
10 --------------------------
11
12 NetworkManager attempts to keep an active network connection available at all
13 times.  The point of NetworkManager is to make networking configuration and
14 setup as painless and automatic as possible.  NetworkManager is intended to
15 replace default route, replace other routes, set IP addresses, and in general
16 configure networking as NM sees fit (with the possibility of manual override as
17 necessary).  In effect, the goal of NetworkManager is to make networking Just
18 Work with a minimum of user hassle, but still allow customization and a high
19 level of manual network control.  If you have special needs, we'd like to hear
20 about them, but understand that NetworkManager is not intended for every
21 use-case.
22
23 NetworkManager will attempt to keep every network device in the system up and
24 active, as long as the device is available for use (has a cable plugged in,
25 the killswitch isn't turned on, etc).  Network connections can be set to
26 'autoconnect', meaning that NetworkManager will make that connection active
27 whenever it and the hardware is available.
28
29 "Settings services" store lists of user- or administrator-defined "connections",
30 which contain all the settings and parameters required to connect to a specific
31 network.  NetworkManager will _never_ activate a connection that is not in this
32 list, or that the user has not directed NetworkManager to connect to.
33
34
35 How it works:
36
37 The NetworkManager daemon runs as a privileged service (since it must access
38 and control hardware), but provides a D-Bus interface on the system bus to
39 allow for fine-grained control of networking.  NetworkManager does not store
40 connections or settings, it is only the mechanism by which those connections
41 are selected and activated.
42
43 To store pre-defined network connections, two separate services, the "system
44 settings service" and the "user settings service" store connection information
45 and provide these to NetworkManager, also via D-Bus.  Each settings service
46 can determine how and where it persistently stores the connection information;
47 for example, the GNOME applet stores its configuration in GConf, and the system
48 settings service stores it's config in distro-specific formats, or in a distro-
49 agnostic format, depending on user/administrator preference.
50
51 A variety of other system services are used by NetworkManager to provide
52 network functionality: wpa_supplicant for wireless connections and 802.1x
53 wired connections, pppd for PPP and mobile broadband connections, DHCP clients
54 for dynamic IP addressing, dnsmasq for proxy nameserver and DHCP server
55 functionality for internet connection sharing, and avahi-autoipd for IPv4
56 link-local addresses.  Most communication with these daemons occurs, again,
57 via D-Bus.
58
59
60 Why doesn't my network Just Work?
61
62 Driver problems are the #1 cause of why NetworkManager sometimes fails to
63 connect to wireless networks.  Often, the driver simply doesn't behave in a
64 consistent manner, or is just plain buggy.  NetworkManager supports _only_
65 those drivers that are shipped with the upstream Linux kernel, because only
66 those drivers can be easily fixed and debugged.  ndiswrapper, vendor binary
67 drivers, or other out-of-tree drivers may or may not work well with
68 NetworkManager, precisely because they have not been vetted and improved by the
69 open-source community, and because problems in these drivers usually cannot
70 be fixed.
71
72 Sometimes, command-line tools like 'iwconfig' will work, but NetworkManager will
73 fail.  This is again often due to buggy drivers, because these drivers simply
74 aren't expecting the dynamic requests that NetworkManager and wpa_supplicant
75 make.  Driver bugs should be filed in the bug tracker of the distribution being
76 run, since often distributions customize their kernel and drivers.
77
78 Sometimes, it really is NetworkManager's fault.  If you think that's the case,
79 please file a bug at http://bugzilla.gnome.org and choose the NetworkManager
80 component.  Attaching the output of /var/log/messages or /var/log/daemon.log
81 (wherever your distribution directs syslog's 'daemon' facility output) is often
82 very helpful, and (if you can get) a working wpa_supplicant config file helps
83 enormously.
84
85