... | ... | @@ -66,3 +66,33 @@ where uuid is as listed by the first command. |
|
|
A specific field can be retrieved with `nmcli -g fieldname conn show uuid`
|
|
|
|
|
|
A field can be changed with `nmcli conn modify uuid fieldname fieldvalue`
|
|
|
|
|
|
## Modem Manager
|
|
|
|
|
|
To get modem information:
|
|
|
|
|
|
Firstly,
|
|
|
|
|
|
`mmcli -L`
|
|
|
|
|
|
to list the modems. For example, gives: /org/freedesktop/ModemManager1/Modem/**1**
|
|
|
|
|
|
So the modem index to use at this moment in time is ‘1’.
|
|
|
|
|
|
Then,
|
|
|
|
|
|
`mmcli -m 1`
|
|
|
|
|
|
You can check, in passing, your own phone number (`| grep own:`) and get the SIM index (`| grep SIM`)
|
|
|
|
|
|
The output for the SIM index looks like: SIM | dbus path: /org/freedesktop/ModemManager1/SIM/**1**
|
|
|
|
|
|
So the SIM index is 1.
|
|
|
|
|
|
Finally,
|
|
|
|
|
|
`mmcli -i 1`
|
|
|
|
|
|
That will show you your IMSI, among other pieces of information.
|
|
|
|
|
|
-i and -m are abbreviated forms of --sim and --modem respectively. |
|
|
\ No newline at end of file |