İçeriğe geç
Ağ

Wi-Fi ve Bluetooth bağlantısı

Banana Pi BPI-CM6 (SpacemiT K1 8 çekirdek RISC-V) · nmcli ile Wi-Fi'ye, bluetoothctl ile Bluetooth cihazlarına bağlanma.

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 wlan0

Bluetooth 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