GNU/Linux >> Belajar Linux >  >> Linux

Bluetoothctl menyetel kunci sandi

Saya baru saja mengalami masalah yang sama. Jika Anda menekan tab dua kali setelah agent Anda akan melihat daftar agen yang tersedia; KeyboardOnly berfungsi dengan baik tanpa pemberitahuan:

[bluetooth]# agent on          # accidentally used wrong agent
Agent registered
[bluetooth]# agent 
DisplayOnly      DisplayYesNo     KeyboardDisplay  KeyboardOnly     NoInputNoOutput  off              on               
[bluetooth]# agent KeyboardOnly 
Agent is already registered    # can't use two agents at one
[bluetooth]# agent off         # unregister agent
Agent unregistered
[bluetooth]# agent KeyboardOnly   # register proper agent
Agent registered
[bluetooth]# pair XX:XX:XX:04:F5:7C 
Attempting to pair with XX:XX:XX:04:F5:7C 
[CHG] Device XX:XX:XX:04:F5:7C Connected: yes
Request passkey
[agent] Enter passkey (number in 0-999999): 722504
[MoarBacon]# pair XX:XX:XX:04:F5:7C 
Attempting to pair with XX:XX:XX:04:F5:7C 
[CHG] Device XX:XX:XX:04:F5:7C Paired: yes
Pairing successful

Inilah yang berhasil berkat kaylum :

$bluetoothctl
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# discoverable on
Changing discoverable on succeeded
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# agent NoInputNoOutput
Agent registered
[bluetooth]# default-agent 
Default agent request successful

Kemudian saya memasangkan raspberry dengan ponsel saya dari ponsel.

[NEW] Device XX:XX:XX:XX:XX:XX nameofthedevice
[CHG] Device XX:XX:XX:XX:XX:XX UUIDS:
      --UUIDS--
[CHG] Device XX:XX:XX:XX:XX:XX Paired: yes

Linux
  1. Bagaimana Cara Mengatur Pelacak Bittornado?

  2. Siapkan Relai Surat

  3. Siapkan replikasi sumber-replika MySQL

  1. Siapkan Python di IIS 7.5

  2. Centos 7:Konfigurasikan vim

  3. Bagaimana cara mengatur nick default untuk koneksi irssi baru?

  1. Cara Mengatur Proksi Terbalik Nginx

  2. Cara Mengatur Tunneling SSH

  3. Layanan OS Linux 'lm_sensors'