The content on this page might be obsolete!
It might be deleted soon. Please check and update it if you want it to stay.
Distro specific NetworkManager notes: Gentoo
A NetworkManager package is now in the portage tree. There is a 0.6.5 package for stable but 0.6.6 is still marked testing. To install the 0.6.6 package add
=dev-libs/libnl-1.1-r1 ~x86 net-misc/networkmanager ~x86 sys-apps/hal ~x86 app-misc/hal-info ~x86
to /etc/portage/package.keywords where ~x86 is replaced by the keyword appropriate for your architecture. Then simply install as normal with
emerge -av networkmanager
More recent ebuilds and ebuilds for various VPN plugins may however be available from the Gentopia overlay, see http://overlays.gentoo.org/. The Gentopia overlay is available via layman see http://gentoo-wiki.com/Portage_Overlay_Listing#layman. (Note: the page at http://gentopia.gentooexperimental.org/ is out of date).
(This information may not be "the best" solution for wired network, I provided mine below. -- PeterHjalmarsson)
The current Gentoo baselayout-1.13.* package which provides the init.d scripts (including the net.* scripts) is not very NetworkManager friendly. To use NetworkManager you must prevent any of the default net.eth* or net.wlan* scripts that would normally manage your network connections from being started automatically. One solution is to delete /etc/init.d/net.eth* (and /etc/init.d/net.wlan*) which are actually only symlinks to /etc/init.d/net.lo. This change will however be undone whenever baselayout gets upgraded. A better solution is to add the line:
in /etc/conf.d/rc. If you have wlan or other interfaces that NetworkManager should manage then you need to add to that line appropriately eg.
-- AntonyMee 2006-12-06 20:56:37
DNS nameserver problems
If you have a static IP configuration (for example for eth0) and your name servers are missing in /etc/resolv.conf be sure to specify them in a simple space separated list (and don't use the format from /etc/conf.d/net.example with the brackets!).
e.g. this works:
dns_servers_eth0="192.168.3.1 188.8.131.52 184.108.40.206"