random

- collection of un-sorted bollocks
git clone git://git.acid.vegas/random.git
Log | Files | Refs | Archive

btkb (437B)

      1 #!/bin/sh
      2 pacman -S bluez bluez-utils
      3 systemctl enable bluetooth && sudo systemctl start bluetooth
      4 sed -i 's/#AutoEnable=false/AutoEnable=true/' /etc/bluetooth/main.conf
      5 bluetoothctl power on # possible bluetoothctl -- <cmd>
      6 bluetoothctl agent KeyboardOnly
      7 bluetoothctl pairable on
      8 bluetoothctl scan on
      9 bluetoothctl pair CC:C5:0A:20:91:5B
     10 bluetoothctl trust CC:C5:0A:20:91:5B
     11 bluetoothctl connect CC:C5:0A:20:91:5B
     12 bluetoothctl scan off