From 1e5977b62f896e844b548c3007ace9e1dfa7f9ed Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 11 Apr 2020 21:28:04 +0200 Subject: New upstream version 1.23.90 --- docs/api/html/nmcli-examples.html | 41 +++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 17 deletions(-) (limited to 'docs/api/html/nmcli-examples.html') diff --git a/docs/api/html/nmcli-examples.html b/docs/api/html/nmcli-examples.html index 1c817d6b..a1db619e 100644 --- a/docs/api/html/nmcli-examples.html +++ b/docs/api/html/nmcli-examples.html @@ -8,7 +8,7 @@ - + @@ -71,7 +71,14 @@
-

Example 2. Showing general information and properties for a Wi-Fi interface

+

Example 2. Connect to a password-protected wifi network

+
+
$ nmcli device wifi connect "$SSID" password "$PASSWORD"
+
$ nmcli --ask device wifi connect "$SSID"
+
+
+
+

Example 3. Showing general information and properties for a Wi-Fi interface

$ nmcli -p -f general,wifi-properties device show wlan0
 ===========================================================================
@@ -113,7 +120,7 @@ WIFI-PROPERTIES.ADHOC:    yes
 

-

Example 3. Listing NetworkManager polkit permissions

+

Example 4. Listing NetworkManager polkit permissions

$ nmcli general permissions
 PERMISSION                                                VALUE
@@ -146,7 +153,7 @@ org.freedesktop.NetworkManager.reload                     auth

-

Example 4. Listing NetworkManager log level and domains

+

Example 5. Listing NetworkManager log level and domains

$ nmcli general logging
 LEVEL  DOMAINS
@@ -160,7 +167,7 @@ B,DISPATCH

-

Example 5. Changing NetworkManager logging

+

Example 6. Changing NetworkManager logging

$ nmcli g log level DEBUG domains CORE,ETHER,IP
 $ nmcli g log level INFO domains DEFAULT
@@ -173,7 +180,7 @@ B,DISPATCH

-

Example 6. Activating a VPN connection profile requiring interactive password input

+

Example 7. Activating a VPN connection profile requiring interactive password input

$ nmcli --ask con up my-vpn-con

@@ -188,7 +195,7 @@ B,DISPATCH


-

Example 7. Adding a bonding master and two slave connection profiles

+

Example 8. Adding a bonding master and two slave connection profiles

$ nmcli con add type bond ifname mybond0 mode active-backup
 $ nmcli con add type ethernet ifname eth1 master mybond0
@@ -204,7 +211,7 @@ B,DISPATCH

-

Example 8. Adding a team master and two slave connection profiles

+

Example 9. Adding a team master and two slave connection profiles

$ nmcli con add type team con-name Team1 ifname Team1 config team1-master-json.conf
 $ nmcli con add type ethernet con-name Team1-slave1 ifname em1 master Team1
@@ -232,7 +239,7 @@ B,DISPATCH

-

Example 9. Adding a bridge and two slave profiles

+

Example 10. Adding a bridge and two slave profiles

$ nmcli con add type bridge con-name TowerBridge ifname TowerBridge
 $ nmcli con add type ethernet con-name br-slave-1 ifname ens3 master TowerBridge
@@ -251,7 +258,7 @@ B,DISPATCH

-

Example 10. Adding an ethernet connection profile with manual IP configuration

+

Example 11. Adding an ethernet connection profile with manual IP configuration

$ nmcli con add con-name my-con-em1 ifname em1 type ethernet \
   ip4 192.168.100.100/24 gw4 192.168.100.1 ip4 1.2.3.4 ip6 abbe::cafe
@@ -274,7 +281,7 @@ B,DISPATCH

-

Example 11. Convenient field values retrieval for scripting

+

Example 12. Convenient field values retrieval for scripting

$ nmcli -g ip4.address connection show my-con-eth0
 192.168.1.12/24
@@ -294,7 +301,7 @@ IP4:192.168.1.12/24:192.168.1.1::192.168.1.1::

-

Example 12. Adding an Ethernet connection and configuring SR-IOV VFs

+

Example 13. Adding an Ethernet connection and configuring SR-IOV VFs

$ nmcli con add type ethernet con-name EthernetPF ifname em1
 $ nmcli con modify EthernetPF sriov.total-vfs 3 sriov.autoprobe-drivers false
@@ -314,7 +321,7 @@ IP4:192.168.1.12/24:192.168.1.1::192.168.1.1::

-

Example 13. Escaping colon characters in tabular mode

+

Example 14. Escaping colon characters in tabular mode

$ nmcli -t -f general -e yes -m tab dev show eth0
 GENERAL:eth0:ethernet:Intel Corporation:82567LM Gigabit Network Connection:
@@ -329,7 +336,7 @@ nager/ActiveConnection/9

-

Example 14. nmcli usage in a NetworkManager dispatcher script to make Ethernet and Wi-Fi mutually exclusive

+

Example 15. nmcli usage in a NetworkManager dispatcher script to make Ethernet and Wi-Fi mutually exclusive

 #!/bin/bash
@@ -367,7 +374,7 @@ fi
 

Example sessions of interactive connection editor

-

Example 15. Adding an ethernet connection profile in interactive editor (a)

+

Example 16. Adding an ethernet connection profile in interactive editor (a)

$ nmcli connection edit type ethernet
 
@@ -603,7 +610,7 @@ Connection 'ethernet-4' (de89cdeb-a3e1-4d53-8fa0-c22546c775f4) successfully
 

-

Example 16. Bluetooth connection profiles

+

Example 17. Bluetooth connection profiles

NetworkManger supports both connecting to NAP and DUN devices as a client. It also supports sharing the network via a NAP server. @@ -642,6 +649,6 @@ Connection 'ethernet-4' (de89cdeb-a3e1-4d53-8fa0-c22546c775f4) successfully

+
Generated by GTK-Doc V1.32.1
\ No newline at end of file -- cgit 1.3.0-6-gf8a5