... | @@ -42,57 +42,29 @@ File manager [nemo](https://en.wikipedia.org/wiki/Nemo_%28file_manager%29) scale |
... | @@ -42,57 +42,29 @@ File manager [nemo](https://en.wikipedia.org/wiki/Nemo_%28file_manager%29) scale |
|
## Locale
|
|
## 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
|
|
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`
|
|
`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.
|
|
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.
|
|
That will then take an eternity generating all the selected locales and eventually doing the one that you just selected.
|
|
|
|
|
|
## Network Config
|
|
## 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.
|
|
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.
|
|
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.
|
|
e.g.
|
|
|
|
|
|
`nmcli conn show`
|
|
`nmcli conn show`
|
|
|
|
|
|
`nmcli conn show uuid | grep whatever`
|
|
`nmcli conn show uuid | grep whatever`
|
|
|
|
|
|
where uuid is as listed by the first command.
|
|
where uuid is as listed by the first command.
|
|
|
|
|
|
A specific field can be retrieved with `nmcli -g fieldname conn show uuid`
|
|
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`
|
|
A field can be changed with `nmcli conn modify uuid fieldname fieldvalue`
|
|
|
|
|
|
## Modem Manager
|
|
## Modem Manager
|
|
|
|
|
|
To get modem information:
|
|
To get modem information:
|
|
|
|
Firstly, `mmcli -L`
|
|
Firstly,
|
|
|
|
|
|
|
|
`mmcli -L`
|
|
|
|
|
|
|
|
to list the modems. For example, gives: /org/freedesktop/ModemManager1/Modem/**1**
|
|
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’.
|
|
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`)
|
|
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**
|
|
The output for the SIM index looks like: SIM | dbus path: /org/freedesktop/ModemManager1/SIM/**1**
|
|
|
|
|
|
So the SIM index is 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.
|
|
That will show you your IMSI, among other pieces of information.
|
|
|
|
|
|
`-i` and `-m` are abbreviated forms of `--sim` and `--modem` respectively. |
|
`-i` and `-m` are abbreviated forms of `--sim` and `--modem` respectively. |
|
\ No newline at end of file |
|
|