NetworkManages cli
This commit is contained in:
22
README.md
22
README.md
@@ -126,6 +126,28 @@ addr-gen-mode=stable-privacy
|
|||||||
dns-search=
|
dns-search=
|
||||||
method=auto
|
method=auto
|
||||||
```
|
```
|
||||||
|
Show devices managed by NetworkManager
|
||||||
|
|
||||||
|
`nmcli con show`
|
||||||
|
```
|
||||||
|
NAME UUID TYPE DEVICE
|
||||||
|
myWifiAP 17fb4276-6b9e-4554-8134-af0d6627e46f wifi wlan0
|
||||||
|
lo a145109e-01b4-42f2-aab2-83f79b575daa loopback lo
|
||||||
|
Orange-LTE 4e6923bb-5abb-44a8-b5f7-fdaecbf7ff7e gsm cdc-wdm0
|
||||||
|
Wired connection 1 1a1bdcb2-799e-3b7d-b123-c972f3d4dfe1 ethernet --
|
||||||
|
```
|
||||||
|
To deactivate a connection
|
||||||
|
|
||||||
|
`sudo nmcli con down Orange-LTE`
|
||||||
|
|
||||||
|
To bring it up again
|
||||||
|
|
||||||
|
`sudo nmcli con up Orange-LTE`
|
||||||
|
|
||||||
|
To show one property of the connection (e.g. IPv4 address)
|
||||||
|
|
||||||
|
`nmcli -g ip4.address con show Orange-LTE`
|
||||||
|
|
||||||
Check status of the network device `wwan0`. It should have an IP address assigned by your mobile provider (e.g. 10.121.79.142)
|
Check status of the network device `wwan0`. It should have an IP address assigned by your mobile provider (e.g. 10.121.79.142)
|
||||||
|
|
||||||
`ip addr show wwan0`
|
`ip addr show wwan0`
|
||||||
|
|||||||
Reference in New Issue
Block a user