Skip to content

Giving hcitool capabilities

Benjamin Piouffle edited this page Sep 23, 2017 · 2 revisions

You can give hcitool capabilities by installing and using the libcap library/commands. This should not be necessary if you're using magicblue in distributions such as HASSbian (HomeAssistant) which already set this up for you.

Install libcap2-bin on debian-based systems or libcap for Fedora then run:

$ sudo setcap 'cap_net_raw,cap_net_admin+eip' `which hcitool`
Clone this wiki locally