Wi-Fi ve Bluetooth bağlantısı
BPI-CM6'da komut satırından nmcli ile Wi-Fi'ye bağlanma ve bluetoothctl ile Bluetooth cihazlarını tarayıp eşleştirme.
Wi-Fi'ye komut satırından bağlanmak için:
sudo nmcli dev
sudo nmcli r wifi on
sudo nmcli dev wifi
sudo nmcli dev wifi connect "SSID" password "PASSWORD" ifname wlan0Bluetooth için bluetoothctl kullanılır:
hciconfig
sudo bluetoothctl
power on //Open the Bluetooth network card
discoverable on //Set the controller to discoverable
pairable on //Set the controller to be pairable
scan on //Scan MAC addresses of other Bluetooth devices
scan off //Close scanning
agent on //Open the agent for connecting to other Bluetooth devices
pair <MAC address> //Pairing Bluetooth devices
disconnect <MAC address> //Disconnect
remove <MAC address> //Unpairing
connect <MAC address> //Connecting a Bluetooth device
exit