NetworkManager

Revision as of 11:45, April 25, 2015 by Threesixes (Talk | contribs) (add note from NetworkManager switched that to a redirect to package namespace)

net-misc/networkmanager


Source Repository:Repository:Gentoo Portage Tree

https://wiki.gnome.org/Projects/NetworkManager

Summary: Universal network configuration daemon for laptops, desktops, servers and virtualization hosts

Use Flags

connection-sharing
Use net-dns/dnsmasq and net-firewall/iptables for connection sharing
consolekit
Use sys-auth/consolekit for session tracking
dhclient
Use dhclient from net-misc/dhcp for getting ip
dhcpcd
Use net-misc/dhcpcd for getting ip
modemmanager
Enable support for mobile broadband devices using net-misc/modemmanager
nss
Use dev-libs/nss for cryptography
ppp
Enable support for mobile broadband and PPPoE connections using net-dialup/ppp
resolvconf
Use net-dns/openresolv for managing DNS information
teamd
Enable Teamd control support
wifi
Enable support for wifi and 802.1x security using net-wireless/wpa_supplicant
wext
Enable support for the deprecated Wext (Wireless Extensions) API; needed for some older drivers (e.g. ipw2200, ndiswrapper)

News

Drobbins

Keychain 2.8.2 Released

Keychain 2.8.2, a maintenance and bug fix release, is now available.
2015-11-16 by Drobbins
Drobbins

Unfork Tree is Live!

The "unfork" tree is now merged into the main Funtoo Linux tree, and Funtoo Linux is now using shards for core packages, x11 (including media libraries), KDE, GNOME, python and perl.
2015-10-12 by Drobbins
Drobbins

OpenSSH 7 Disables DSA Keys By Default

Please be aware of this important change to avoid getting locked out of your Funtoo server.
2015-10-07 by Drobbins
More...

NetworkManager

Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

NetworkManager is the defacto network connection system for many linux distributions. NetworkManager supports mobile phone, wireless, and wired connections. NetworkManager is intended to make configuring, and connecting easy.

installation

Note

disable wicd, wpa_supplicant, net.ethX, & net.wlanX and dhcpcd prior to starting network manager.

# emerge networkmanager
# rc-update add NetworkManager
# rc
Any users besides root will need to be added to the plugdev group:

# gpasswd -a $USER plugdev

Note

If you're experiencing troubles, loosing connection after a 45-second timeout with NetworkManager and dhcpcd, consider moving to dhclient (net-misc/dhcp) - NetworkManager is designed for use with dhclient and have less (~0) problems with it.

configuration

gui

console
Note

as of right now 17:52, April 12, 2015 (UTC) nmtui's not suitable for wifi configurations because it will not save pass phrases

# nmtui

gtk
Note

sessions for users may need ck-launch-session in .xinitrc to use nm-applet, or have sessions launched from a display manager.

# emerge nm-applet

kde
# emerge plasma-nm

command line

To list visible access points:

# nmcli dev wifi list
*  SSID                     MODE   CHAN  RATE       SIGNAL  BARS  SECURITY  
   derp1                    Infra  6     54 Mbit/s  30      ▂___  WPA2      
   derp2                    Infra  7     54 Mbit/s  29      ▂___  WPA2      
   derp3                    Infra  1     54 Mbit/s  27      ▂___  WPA1 WPA2 
*  connectedap              Infra  1     54 Mbit/s  52      ▂▄__  WPA1 WPA2
To set a wpa pre shared key passphrase:

# nmcli con modify derp1 wifi-sec.key-mgmt wpa-psk
# nmcli con modify derp1 wifi-sec.psk yourpassphrase