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:Funtoo Overlay

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
introspection
Use dev-libs/gobject-introspection for introspection
modemmanager
Enable support for mobile broadband devices using net-misc/modemmanager
nss
Use dev-libs/nss for cryptography
policykit
Use sys-auth/polkit for controlling privileges
ppp
Enable support for mobile broadband and PPPoE connections using net-dialup/ppp
resolvconf
Use net-dns/openresolv for managing DNS information
systemd
Use sys-apps/systemd for session tracking
vala
Enable bindings for dev-lang/vala
wext
Enable support for the deprecated Wext (Wireless Extensions) API; needed for some older drivers (e.g. ipw2200, ndiswrapper)
wimax
Enable support for WiMAX connections using net-wireless/wimax

News

Drobbins

IP Space Migration Continues

All Funtoo user containers in the 8.28 IP space will be moving into our new IP space (172.97) over the next few days. If you have DNS set up -- be sure to watch your container and update to the new IP! container.host.funtoo.org DNS will be updated after the move.
2015-08-27 by Drobbins
Drobbins

Funtoo Hosting IP Move

Funtoo user containers with IPs in the 72.18.x.x range will be gradually migrating to new IP addresses this week. If you have DNS entries for your containers, please be aware that your DNS will need to be updated.
2015-08-11 by Drobbins
Drobbins

New ARM Stages

New ARM Stages, built with a new toolchain, are now hitting mirrors. Existing ARM users should re-install using these stages (dated Aug 3, 2015 or later,) rather than upgrade using emerge.
2015-08-06 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