Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: tristanbay on 24 September 2022, 10:08:41

Title: How do I check if my computer isn't automatically scanning for Bluetooth devices
Post by: tristanbay on 24 September 2022, 10:08:41
I'm using NetworkManager instead of ConnMan which is what Artix XFCE comes with initially. There's an option in NetworkManager's GUI to make a connection via Bluetooth, so it seems like I may be able to do it from there. But I don't want to make any Bluetooth connections from my computer because apparently it's not very secure, and may lead to security issues regarding that, if my computer's automatically sending out Bluetooth signals to figure out what devices are online and nearby every certain amount of time. How do I make sure that my computer isn't discoverable over Bluetooth at all? Using OpenRC if knowing my init system is needed here
Title: Re: How do I check if my computer isn't automatically scanning for Bluetooth devices
Post by: SGOrava on 24 September 2022, 12:24:20
Quote
How do I make sure that my computer isn't discoverable over Bluetooth at all?
You remove the Bluetooth module from your machine, sadly they are mostly bundled together with Wifi module.

Some machines do have HW switches so use those.
Otherwise check the "rfkill" command and SW block them.
You can also check the "bluetoothd" service for some configuration so that this service is not enabling (unblocking) it at start.
(later I check and the service is ONLY starting the daemon, it is not giving it any useful parameters)

You can do that by editing the configuration file of bluettothd daemon located at "/etc/bluetooth/main.conf" and search for
Code: [Select]
AutoEnable=true
and replace it with:
Code: [Select]
AutoEnable=false
Title: Re: How do I check if my computer isn't automatically scanning for Bluetooth devices
Post by: tintin on 25 September 2022, 07:40:39
Hello,
How do I make sure that my computer isn't discoverable over Bluetooth at all? Using OpenRC if knowing my init system is needed here
Regardless of your init:
sudo pacman -Rsu bluez

I sometimes use Wifi, but never Bluetooth on my Artix XFCE OpenRC PCs.