README 4.4 KB

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