Bluez 5
I only realize now, in good old Linux tradition the command-line-interface of Bluez 5 was totally renewed compared to what was used the last decade up to Bluez 4.
So instead of “hcitool scan” and such you now have to run all the commands in some command line interpreting shell, sigh:
$bluetoothctl
[bluetooth]#list
[bluetooth]#show controller_mac_address
[bluetooth]#select controller_mac_address
[bluetooth]#power on
[bluetooth]#agent on
[bluetooth]#default-agent[bluetooth]#discoverable on
[bluetooth]#pairable on[bluetooth]#scan on
Update: some more details