... | ... | @@ -42,57 +42,29 @@ File manager [nemo](https://en.wikipedia.org/wiki/Nemo_%28file_manager%29) scale |
|
|
## Locale
|
|
|
|
|
|
If you have set a specific locale (e.g. en_AU.UTF-8) then you will probably get warnings all over the place (e.g. from `man`, `locale` itself, from `perl` during an install). The solution appears to be
|
|
|
|
|
|
`sudo dpkg-reconfigure locales`
|
|
|
|
|
|
then page down to your chosen locale, press the space bar to select it - `[ ]` will change to `[*]`, then Tab to move to Ok then Enter.
|
|
|
|
|
|
That will then take an eternity generating all the selected locales and eventually doing the one that you just selected.
|
|
|
|
|
|
## Network Config
|
|
|
|
|
|
Network Manager stores the configuration in `/etc/NetworkManager`. Specifically, information that is per-connection is stored in the `system-connections` subdirectory in files called `xyz.nmconnection` where xyz is the connection name.
|
|
|
|
|
|
The proper way to 'get' and 'set' per-connection settings, if wanting to do from the command line, is via the `nmcli` command.
|
|
|
|
|
|
e.g.
|
|
|
|
|
|
`nmcli conn show`
|
|
|
|
|
|
`nmcli conn show uuid | grep whatever`
|
|
|
|
|
|
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`
|
|
|
|
|
|
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`
|
|
|
|
|
|
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`
|
|
|
|
|
|
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 |