Table 8. Basic commands (continued)
Action Ubuntu Core 16
To change the time zone to your location, run the command:
admin@localhost:~$ sudo timedatectl --help
Root-user credential Run the command:
admin@localhost:$ sudo su -
Returns:
$ admin@localhost:~# sudo su –
$ root@localhost:~#
Identifying the System Service Tag Run the command:
admin@localhost:$ cat /sys/class/dmi/id/
product_serial
The system tag is printed.
Identifying the system vendor Run the command:
admin@localhost:$ cat /sys/class/dmi/id/
board_vendor
returns
Dell Inc.
The system tag is printed.
Ubuntu Network Manager
Network-Manager is a native Ubuntu Snappy connection manager. The application can be used to configure the Edge Gateway
so that it's automatically-detected and connected to the network. The application can be used to configure multiple network
devices.
A command-line utility nmcli is included with Network-Manager to support non-graphical user interface configurations.
NOTE: For more information about Network Manager, see https://wiki.archlinux.org/index.php/NetworkManager
Connecting through WWAN
NOTE:
For more information on configuring and connecting through WWAN, see https://docs.ubuntu.com/core/en/
stacks/network/network-manager/docs/configure-cellular-connections.
1. Check if a modem is present and identify the modem index number.
$ sudo modem-manager.mmcli –L
2. Check the modem status and identify the primary port.
$ sudo modem-manager.mmcli -m <x>
NOTE:
<x> refers to the modem index number. Replace <x> with the modem index number after running the command
at step 1.
52 Setting up the operating system