Difference between revisions of "Package:NetworkManager"

Line 45: Line 45:
=== Kde ===
=== Kde ===
{{console|body=###i## emerge plasma-nm}}
{{console|body=###i## emerge plasma-nm}}
=== MAC spoofing ===
NetworkManager supports spoofing MAC addresses out of the box.  Supply an arbitrary MAC address to the cloned address field.

Revision as of 05:26, September 9, 2015


Source Repository:Repository:Gentoo Portage Tree


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

Use Flags

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



Keychain 2.8.2 Released

Keychain 2.8.2, a maintenance and bug fix release, is now available.
2015-11-16 by 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

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



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 de-facto network connection system for many Linux distributions. NetworkManager supports mobile phone, wireless, and wired connections. NetworkManager is intended to make configuring, and connecting easy.



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

To install, emerge networkmanager and add it to the default runlevel:

# emerge networkmanager
# rc-update add NetworkManager default
# rc

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

It is also possible to add WiFi access point login information from the command-lin:

# addwifi -S wpa -K 'wifipassword' mywifinetwork

The addwifi command is used to configure and connect to a WPA/WPA2 Wi-Fi network connections. Network configuration entries are stored in /etc/NetworkManager/system-connections so that it will be remembered in the future.


The following command will not work as long as you are in an install chroot environment. The reason for this is that addwifi will need dbus and rfkill to be set up. So during install, perform the emerge but save the addwifi command until after you have rebooted into Funtoo Linux.

Any users besides root will need to be added to the plugdev group to modify connections:

# gpasswd -a $USER plugdev

If you're experiencing troubles, losing connection after a 45-second timeout with NetworkManager and dhcpcd, switch the dhcp backend to dhclient (net-misc/dhcp).



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


# emerge plasma-nm

MAC spoofing

NetworkManager supports spoofing MAC addresses out of the box. Supply an arbitrary MAC address to the cloned address field.