NetworkManager attempts to keep an active network connection available at all times.
NetworkManager is composed of two parts:
A daemon running as root (network-manager).
NetworkManager will only handle interfaces not declared in /etc/network/interfaces (see README file).
The features of NetworkManager are described on its homepage.
Make sure you read the fine manual:
interfaces(5) man page
NetworkManager in Squeeze
Wired Networks are Unmanaged
As of Debian Squeeze, NetworkManager does not manage any interface defined in /etc/network/interfaces by default.
Unmanaged devices means NetworkManager doesn't handle those network devices. This occurs when two conditions are met:
The file /etc/network/interfaces contains anything about the interface, even:
allow-hotplug eth0 iface eth0 inet dhcp
And /etc/NetworkManager/NetworkManager.conf contains:
[main] plugins=ifupdown,keyfile [ifupdown] managed=false
Since network-manager version 0.8.1-4, existing wired/wireless interfaces in /etc/network/interfaces are disabled with a #NetworkManager# prefix during package installation, then re-enabled when the network-manager package is removed (Debian bug 530024).
Enabling Interface Management
If you want NetworkManager to handle interfaces that are enabled in /etc/network/interfaces:
Set managed=true in /etc/NetworkManager/NetworkManager.conf.
"Auto Ethernet" and "Auto eth0"
Auto Ethernet means "Select an Ethernet interface automatically"
Auto eth0 means "autconfigure the eth0 interface".
- Q. How do I configure a static IP address (for a server, etc) ?
A) Configure /etc/network/interfaces, see NetworkConfiguration.
- Q. Why can't I see NetworkManager with my new user account ?
A) Make sure human users are in the netdev group (see /usr/share/doc/network-manager-gnome/README.Debian).
http://projects.gnome.org/NetworkManager/users/ - Project homepage and GNOME front-end (with some documentation);
http://live.gnome.org/NetworkManager - Various resources (FAQ, mailing list...)
http://en.opensuse.org/Projects/KNetworkManager - KDE front-end
http://vidner.net/martin/software/cnetworkmanager/ - Command-line client