Page 1 of 1

Permanently disable bluetooth and wireless devices (mouse, keyboard)

Posted: 14 Apr 2023, 08:34
by deepakm
I want to allow only wired peripheral devices. I want to restrict students from using Bluetooth or wireless for connecting mouse or keyboard and indulge in malpractice during their tests. Can this be achieved by any configuration?

Permanently disable bluetooth and wireless devices (mouse, keyboard)

Posted: 17 Apr 2023, 01:16
by deepakm
Is the above impossible to achieve? Can anyone give me a hint as to how it can be done? I unsquashed settings.xzm and I created a file /etc/modprobe.d/blacklist-bluetooth.conf with the below content. But it didn't help. I was still able to use wireless mouse.

blacklist bnep
blacklist bluetooth
blacklist btusb
blacklist wl

Permanently disable bluetooth and wireless devices (mouse, keyboard)

Posted: 17 Apr 2023, 07:42
by beny
hi, try to know rfkill option in terminal or you have to write an udev rule for the bluetooth devices.

Permanently disable bluetooth and wireless devices (mouse, keyboard)

Posted: 17 Apr 2023, 07:50
by fanthom
Hello deepakm,

I guess you would have to remaster the ISO and remove relevant drives from 000-kernel.xzm module.

Moving the thread to a proper subforum category.

Thanks

Permanently disable bluetooth and wireless devices (mouse, keyboard)

Posted: 19 Apr 2023, 12:05
by deepakm
Thanks beny and fanthom for your replies. I see there is a udev rule 60-block.rules in 001-core.xzm(lib64/udev). Would it be the right place to add this rule? Or should I be doing it in the 003-settings.xzm(lib64/udev)?

Thanks,
Deepak M