Skip to content

Instantly share code, notes, and snippets.

@Hammer2900
Forked from miguelmota/bluetooth.sh
Created December 2, 2022 09:44
Show Gist options
  • Save Hammer2900/ee544aaf81b97329243a47b2c353f3b9 to your computer and use it in GitHub Desktop.
Save Hammer2900/ee544aaf81b97329243a47b2c353f3b9 to your computer and use it in GitHub Desktop.
Arch linux bluetooth connect example
sudo systemctl enable bluetooth.service
sudo systemctl start bluetooth.service
bluetoothctl
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# scan on
[bluetooth]# pair 7C:9A:1D:B3:57:BA
[bluetooth]# connect 7C:9A:1D:B3:57:BA
[bluetooth]# trust 7C:9A:1D:B3:57:BA
sudo pacman -S blueman
blueman-applet &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment