Network Manager – Ubuntu Core 15
Network-Manager is a native Ubuntu Snappy Connection Manger, the application handles multiple network devices, provides
detection 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
<connection name> apn <apn> user
<user name>
password
<password>
•
Connect to the mobile network —
#nmcli con up
<connection name>
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_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.
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 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 configuration 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.
9.
Run the
$trust
<MAC address of bluetooth keyboard>
command to turst the Bluetooth keyboard.
10. Run the
$connect
<MAC address of bluetooth keyboard>
command to connect the to the Bluetooth keyboard.
37
Содержание Edge 5000 Series
Страница 14: ...24 V AC DC power port 19 5 V DC power adapter port 14 ...
Страница 15: ...System Right Features 1 IO expansion port Connect an external expansion module for additional IO ports 15 ...
Страница 25: ...3 Mount the Edge Gateway on a DIN rail 4 Secure the Edge Gateway to the DIN rail by pressing the latch 25 ...
Страница 83: ...24 V AC DC power port Sealed lead acid battery port 83 ...
Страница 87: ...Wall mount bracket DIN rail 6 Connect the power sources and press the power button on the Edge Gateway 87 ...
Страница 95: ...95 ...