MarkLuun Posted January 29, 2022 Posted January 29, 2022 Dear Armbians I have an Odroid C4 in use in a DC with 100 MBits synchronous network connection. As I use it as dedicated networking device, bound to the internet over ethernet connection, I would like to disable the drivers for Wifi, HDMI and Bluetooth permanently. They are not necessary in my case. What would be the safest way to do this?
tparys Posted January 29, 2022 Posted January 29, 2022 1. Identify which drivers you want to block # For PCI devices $ lspci -k # For USB devices $ usb-devices 2. Verify you can actually block them $ lsmod | grep <module name> 3. Add them to /etc/modules.d as blacklisted. See "man modprobe.d", and scroll down to "blacklist" or see /etc/modprobe.d for examples 4. You'll probably want to update your initramfs and reboot. $ sudo update-initramfs -u -k $(uname -r) 5. If your board uses uInitrd, you may need to re-run mkimage on it. (Don't have a C4 here in front of me) Also note that if for some reason the module is built-in, you'll need to rebuild without that driver, or as a module that can be blacklisted.
Recommended Posts