Monday, June 18, 2012

Linux Disable Bluetooth [ Bluetooth Input Devices (hidd) ]

How do I disable bluethooth support (including bluethooth based devices) under Linux operating systems?

Bluetooth provides another metod to transfer information between various devices such as mobile phones, laptops, PDAs, PCs, printers, digital cameras, etc over a short-range wireless link.

Remove Bluetooth Hardware

Removal of bluetooth hardware module is the only way to ensure that the Bluetooth wireless remains disabled. See your systems's hardware manual which should contain information on its bluetooth capabilities. Avoid purchasing equipment that comes with bluetooth.

Disable Bluetooth Service

Type the following commands under RHEL / CentOS / Fedora / Red Hat Linux:
# /etc/init.d/bluetooth stop
# chkconfig bluetooth off

If you are using Debian / Ubuntu Linux use rcconf command to disable bluetooth service:
# update-rc.d bluetooth remove

Disable hidd Service

The hidd service used to provide support for Bluetooth input devices. If you don't use bluetooth based keyboard or mouse, disable it:
# /etc/init.d/hidd stop
# chkconfig hidd off

Disable Linux Kernel Bluetooth Modules / Driver

Type the following command to disable the driver:
The kernel’s module loading system can be configured to prevent loading of the Bluetooth module.
echo 'alias net-pf-31 off' >> /etc/modprobe.conf

No comments:

Post a Comment