Difference between revisions of "nmcli guide"

From thelinuxwiki
Jump to: navigation, search
(device info)
Line 1: Line 1:
 +
 +
==list wifi APs==
 +
$ '''nmcli device wifi list'''
 +
 +
==connect to wifi AP==
 +
$ '''nmcli con up <ssid>'''
  
 
== networkmanager status ==
 
== networkmanager status ==

Revision as of 14:57, 30 October 2017

Contents

list wifi APs

$ nmcli device wifi list

connect to wifi AP

$ nmcli con up <ssid>

networkmanager status

connection status

device info

# nmcli dev show eth0
GENERAL.DEVICE:                         eth0
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         F0:1F:AF:19:F9:AB
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     eth0
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager /ActiveConnection/0
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         192.168.167.7/25
IP4.GATEWAY:                            192.168.167.3
IP6.ADDRESS[1]:                         fe80::f21f:afff:fe19:f9ab/64
IP6.GATEWAY:                            
IP6.ROUTE[1]:                           dst = ff00::/8, nh = ::, mt = 256