Differences between revisions 9 and 10
Revision 9 as of 2009-03-21 12:16:32
Size: 2626
Editor: FranklinPiat
Comment: embed image
Revision 10 as of 2009-05-22 23:10:18
Size: 4748
Editor: FranklinPiat
Comment: Nonpote t eabout Squeeze "Wired Networks is Unmanaged"
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
== NetworkManager in Squeeze ==

=== Wired Networks is Unmanaged ===
 {i} This ''problem'' is very likely to occur to people who upgrade to Squeeze, see DebianBug:530024 .

Un-managed devices means that Network-manager don't handles those 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/nm-system-settings.conf}}} contains:
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false
}}}
 * Comment the lines in /etc/network/interfaces I you want to have Lenny behavior. <<BR>> ''or''
 * 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}}}
 
(Click on the <<GetText(Comments)>> to show Syslog error's error message related to this problem): {{{#!wiki comment
NetworkManager: <info> starting...
NetworkManager: <info> (eth0): new Ethernet device (driver: 'e1000e')
NetworkManager: <info> (eth0): exported as /org/freedesktop/Hal/devices/net_00_1a_6b_38_00_e0
NetworkManager: <info> Trying to start the system settings daemon...
nm-system-settings: SCPlugin-Ifupdown: init!
nm-system-settings: SCPlugin-Ifupdown: update_system_hostname
nm-system-settings: SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet
nm-system-settings: SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet, autoconnect:0, id:Ifupdown (eth0)
nm-system-settings: SCPluginIfupdown: management mode: unmanaged
nm-system-settings: SCPlugin-Ifupdown: devices added (udi:/org/freedesktop/Hal/devices/net_00_1a_6b_38_00_e0, iface: eth0)
nm-system-settings: Ifupdown: get unmanaged devices count: 1
}}}

=== "Auto Ethernet" and "Auto eth0" ===
 * ''Auto Ethernet'' means "Select and Ethernet interface automatically"
 * ''Auto eth0'' means ''autconfigure the eth0 interface''.
Line 31: Line 72:
 * [[http://www.gnome.org/projects/NetworkManager/]] - Project homepage and GNOME front-end;
  * [[irc://irc.gnome.org/#networkmanager]] - [[IRC]] channel
 * [[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...)

NetworkManager

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, we'd like to hear about them, but understand that NetworkManager is not intended to serve the needs of all users.

http://www.gnome.org/projects/NetworkManager/images/wireless-at-tealuxe.png


NetworkManager is composed of two parts:

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

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

NetworkManager will only handle interfaces not declared in /etc/network/interfaces (see README file).

Features

The features of NetworkManager are described on its homepage.

Documentation

Make sure you read the fine manual:

NetworkManager in Squeeze

Wired Networks is Unmanaged

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

Un-managed devices means that Network-manager don't handles those 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/nm-system-settings.conf contains: [main] plugins=ifupdown,keyfile

[ifupdown] managed=false }}}

  • Comment the lines in /etc/network/interfaces I you want to have Lenny behavior.
    or

  • 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

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

FAQ

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


CategoryNetwork


ToDo: Who is the "we" in the introduction? (Debian GNOME maintainers, NetworkManager project, other?). Once determined, link "we'd like to hear about them" as appropriate.