Differences between revisions 16 and 17
Revision 16 as of 2010-04-30 18:12:11
Size: 5100
Editor: ?hpvmgulo
Revision 17 as of 2010-06-29 21:51:04
Size: 5021
Editor: ?joaomatos
Comment: Tested on a clean Squeeze installation.
Deletions are marked like this. Additions are marked like this.
Line 48: Line 48:
 * Set {{{managed=true}}} in {{{nm-system-settings.conf}}} if you want network-manager to handle interfaces that are declared in {{{/etc/network/interfaces}}} (you need to kill {{{nm-system-settings}}})  * Set {{{managed=true}}} in {{{nm-system-settings.conf}}} if you want network-manager to handle interfaces that are declared in {{{/etc/network/interfaces}}}
Line 50: Line 50:
Restart network-manager or X is not enough. It seems you must reboot your computer in order to apply your changes.
Finally, restart NetworkManager:
/etc/init.d/network-manager restart

Translation(s): English - Русский

(!) ?Discussion


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. If using DHCP, NetworkManager is intended to replace default routes, obtain IP addresses from a DHCP server and change nameservers whenever it sees fit. In effect, the goal of NetworkManager is to make networking Just Work.

If you have special needs, The upstream's developers would like to hear about them, but understand that NetworkManager is not intended to serve the needs of all users.


NetworkManager is composed of two parts:

  1. A daemon running as root (network-manager).

  2. A front-end (network-manager-gnome, network-manager-kde or cnetworkmanager).

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:

NetworkManager in Squeeze

Wired Networks are Unmanaged

  • {i} This problem is very likely to occur to people who upgrade to Squeeze, see 530024 .

Unmanaged devices means NetworkManager doesn't handle those devices. This occurs when two conditions are met:

  1. The file /etc/network/interfaces contains anything about the interface, even:

    allow-hotplug eth0
    iface eth0 inet dhcp
  2. And /etc/NetworkManager/nm-system-settings.conf contains:


To allow NetworkManager to manage wired interfaces, either:

  • Comment the relevant lines in /etc/network/interfaces to restore the behavior experienced in Lenny.

  • Set managed=true in nm-system-settings.conf if you want network-manager to handle interfaces that are declared in /etc/network/interfaces

Finally, restart NetworkManager:

  • /etc/init.d/network-manager restart

(Click on the Comments to show Syslog error's error message related to this problem):

"Auto Ethernet" and "Auto eth0"

  • Auto Ethernet means "Select and 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.

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).

See Also