Users Guide

for i in /sys/class/hidraw/*; do udevadm info $i --attribute-walk | grep -q 'CANBus HID
Device' && echo path: /dev/$(basename $i); done
Network Manager – Ubuntu Core 15
Network-Manager is a native Ubuntu Snappy Connection Manger, the application handles multiple network devices, provides
detection and conguration for system to automatically connect to network.
A command line utility nmcli is included with Network-Manager to support non-graphical user interface.
WWAN (nmcli example)
Congure the Mobile Broadband connection prole#nmcli con add type gsm ifname ttyACM3 con-name
<connection name> apn <apn> user <user name> password <password>
Connect to the mobile network — #nmcli con up <connection name>
WLAN (nmcli example)
Congure the system to connect to unencrypted Wi–Fi network —
#nmcli dev wifi connect $SSID ifname $WIFI_INTERFACE
#iw dev $WIFI_INTERFACE link
#nmcli dev disconnect $WIFI_INTERFACE
Congure the system to connect to WPA-encrypted Wi–Fi network —
#nmcli dev wifi connect $SSID password $PSK ifname $WIFI_INTERFACE
#iw dev $WIFI_INTERFACE link
#nmcli dev disconnect $WIFI_INTERFACE
Software enabled Access Point (SoftAP)
This feature depends on the wireless module and it’s associated driver to act as a wireless access point.
1. Log in to Ubuntu Snappy, make sure the system is connected to internet.
2. Run the #sudo snappy search softap command to nd the application from the Ubuntu Snappy Store.
3. Run the #sudo snappy install sw-access-point command to install the application.
After the snap is installed, the service should be running as default conguration below:
SSID: Ubuntu
Open-authentication
802.11n 2.4GHz (G mode)
IP Address: 10.0.60.1
DHCP Range: 10.0.60.3-20
DNS server: 10.0.60.1
Gateway: 10.0.60.1
Bluetooth
To connect to a Bluetooth device like a Bluetooth keyboard:
1. Run the #bluetoothctl -a command to start bluetoothctl console.
The bluetoothctl console is opened.
2. Run the $power on command to power on the Bluetooth device.
3. Register the agent for keyboard:
$agent KeyboardOnly
$default-agent
4. Run the $pairable on command to put the Bluetooth controller in pair-able mode.
5. Run the $scan on command to scan nearby Bluetooth device.
6. Run the $scan off command to stop scanning after Bluetooth keyboard is found.
7. Run the $pair <MAC address of bluetooth keyboard> command to pair the Bluetooth keyboard.
8. Enter PIN Code on Bluetooth keyboard if needed.
43