|
Network Manager – Ubuntu Core 15Network-Manager is a native Ubuntu Snappy Connection Manger, the application handles multiple network devices, providesdetection and configuration 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)• Configure the Mobile Broadband connection profile — #nmcli con add type gsm ifname ttyACM3 con-name name> apn user password • Connect to the mobile network — #nmcli con up WLAN (nmcli example)• Configure 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• Configure 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_INTERFACESoftware enabled Access Point (SoftAP)This feature depends on the wireless module and it’s associated driver to act as a wireless access point.1. Login to Ubuntu Snappy, make sure the system is connected to internet.2. Run the #sudo snappy seach softap command to find the application from the Ubuntu Snappy Store3. 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 configuration below:SSID: UbuntuOpen-authentication802.11n 2.4GHz (G mode)IP Address: 10.0.60.1DHCP Range: 10.0.60.3-20DNS server: 10.0.60.1Gateway: 10.0.60.1BluetoothTo 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-agent4. 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 of bluetooth keyboard> command to pair the Bluetooth keyboard.8. Enter PIN Code on Bluetooth keyboard if needed.9. Run the $trust address of bluetooth keyboard> command to turst the Bluetooth keyboard.10. Run the $connect of bluetooth keyboard> command to connect the to the Bluetooth keyboard.37
PreviousNext |