Difference between revisions of "Package:NetworkManager"

From Funtoo
Jump to navigation Jump to search
m (more details)
m (more details)
Line 17: Line 17:


=== configuration ===
=== configuration ===
==== console ====
==== 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}}
{{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}}
{{console|body=###i## nmtui}}
{{console|body=###i## nmtui}}


==== gui ====
===== gtk =====
===== gtk =====
{{note|sessions for users may need ck-launch-session in .xinitrc to use nm-applet, or have sessions launched from a display manager.}}
{{note|sessions for users may need ck-launch-session in .xinitrc to use nm-applet, or have sessions launched from a display manager.}}
Line 28: Line 28:
===== kde =====
===== kde =====
{{console|body=###i## emerge networkmanagement}}
{{console|body=###i## emerge networkmanagement}}
==== command line ====
To list visible access points:
{{console|body=###i## 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:
{{console|body=###i## nmcli con modify derp1 wifi-sec.key-mgmt wpa-psk
###i## nmcli con modify derp1 wifi-sec.psk yourpassphrase}}


{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 22:44, April 19, 2015

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 prior to starting network manager.

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

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

root # 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.

root # emerge nm-applet
kde
root # emerge networkmanagement

command line

To list visible access points:

root # 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:

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