Code:
$ locate -i rfkill
/home/fll/cow/lib/modules/2.6.39-3.slh.1-aptosid-amd64/kernel/net/rfkill
/home/fll/cow/lib/modules/2.6.39-3.slh.1-aptosid-amd64/kernel/net/rfkill/rfkill.ko
/lib/modules/4.13.0-2.slh.2-aptosid-amd64/kernel/drivers/platform/x86/amilo-rfkill.ko
/lib/modules/4.13.0-2.slh.2-aptosid-amd64/kernel/net/rfkill
/lib/modules/4.13.0-2.slh.2-aptosid-amd64/kernel/net/rfkill/rfkill-gpio.ko
/lib/modules/4.13.0-2.slh.2-aptosid-amd64/kernel/net/rfkill/rfkill.ko
/lib/modules/4.13.0-4.slh.3-aptosid-amd64/kernel/drivers/platform/x86/amilo-rfkill.ko
/lib/modules/4.13.0-4.slh.3-aptosid-amd64/kernel/net/rfkill
/lib/modules/4.13.0-4.slh.3-aptosid-amd64/kernel/net/rfkill/rfkill-gpio.ko
/lib/modules/4.13.0-4.slh.3-aptosid-amd64/kernel/net/rfkill/rfkill.ko
/lib/systemd/systemd-rfkill
/lib/systemd/system/systemd-rfkill.service
/lib/systemd/system/systemd-rfkill.socket
/lib/udev/rules.d/61-kde-bluetooth-rfkill.rules
/usr/include/linux/rfkill.h
/usr/sbin/rfkill
/usr/share/bash-completion/completions/rfkill
/usr/share/doc/rfkill
/usr/share/doc/rfkill/README
/usr/share/doc/rfkill/changelog.Debian.amd64.gz
/usr/share/doc/rfkill/changelog.Debian.gz
/usr/share/doc/rfkill/copyright
/usr/share/man/man8/rfkill.8.gz
/usr/share/man/man8/systemd-rfkill.8.gz
/usr/share/man/man8/systemd-rfkill.service.8.gz
/usr/share/man/man8/systemd-rfkill.socket.8.gz
/var/lib/dpkg/info/rfkill.list
/var/lib/dpkg/info/rfkill.md5sums
/var/lib/systemd/rfkill
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.1:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.1:1.0:phy0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.1:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:phy0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:phy1
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:phy2
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.3:1.0:phy0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.3:1.0:phy1
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.3:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.4:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.5:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.5:1.0:hci0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.5:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.6:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.6:1.0:hci0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.6:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1d.0-usb-0:1.3:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1d.0-usb-0:1.4:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:03:00.0-usb-0:1:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:03:00.0-usb-0:2:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:03:00.0-usb-0:2:1.0:wlan
People often seem to fix this by blacklisting a module, but I don't know which one to blacklist.
Code:
$ lsmod
Module Size Used by
ctr 16384 6
ccm 20480 9
xt_CHECKSUM 16384 1
iptable_mangle 16384 1
ipt_MASQUERADE 16384 3
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
iptable_nat 16384 1
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 24576 2 nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack_ipv4 16384 5
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
xt_conntrack 16384 1
nf_conntrack 81920 6 nf_conntrack_ipv4,ipt_MASQUERADE,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
ipt_REJECT 16384 2
nf_reject_ipv4 16384 1 ipt_REJECT
xt_tcpudp 16384 6
tun 32768 1
bridge 131072 0
stp 16384 1 bridge
llc 16384 2 bridge,stp
ebtable_filter 16384 0
ebtables 32768 1 ebtable_filter
ip6table_filter 16384 0
ip6_tables 24576 1 ip6table_filter
iptable_filter 16384 1
uinput 20480 1
af_packet 40960 8
rfcomm 40960 16
bnep 20480 2
cpufreq_powersave 16384 0
cpufreq_conservative 16384 0
binfmt_misc 20480 1
usblp 20480 0
arc4 16384 2
ath9k_htc 69632 0
iTCO_wdt 16384 0
ath9k_common 28672 1 ath9k_htc
ath9k_hw 430080 2 ath9k_htc,ath9k_common
iTCO_vendor_support 16384 1 iTCO_wdt
gpio_ich 16384 0
intel_rapl 20480 0
btusb 40960 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
btrtl 16384 1 btusb
kvm_intel 188416 0
btbcm 16384 1 btusb
ath 28672 3 ath9k_htc,ath9k_hw,ath9k_common
btintel 16384 1 btusb
joydev 20480 0
mac80211 483328 2 ath9k_htc,ath9k_hw
bluetooth 331776 43 btrtl,btintel,bnep,btbcm,rfcomm,btusb
kvm 352256 1 kvm_intel
irqbypass 16384 1 kvm
cfg80211 258048 4 ath9k_htc,mac80211,ath,ath9k_common
crct10dif_pclmul 16384 0
drbg 36864 1
ansi_cprng 16384 0
ecdh_generic 24576 1 bluetooth
crc32_pclmul 16384 0
rfkill 20480 8 bluetooth,cfg80211
ghash_clmulni_intel 16384 0
pcbc 16384 0
aesni_intel 184320 6
mei_me 20480 0
mei 53248 1 mei_me
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
glue_helper 16384 1 aesni_intel
cryptd 20480 3 crypto_simd,ghash_clmulni_intel,aesni_intel
evdev 20480 9
intel_cstate 16384 0
lpc_ich 24576 0
intel_rapl_perf 16384 0
nuvoton_cir 20480 0
rc_core 24576 1 nuvoton_cir
mfd_core 16384 1 lpc_ich
sg 32768 0
pcspkr 16384 0
serio_raw 16384 0
snd_hda_codec_hdmi 45056 1
snd_hda_codec_realtek 69632 1
snd_hda_codec_generic 65536 1 snd_hda_codec_realtek
i915 1544192 22
video 36864 1 i915
button 16384 1 i915
i2c_algo_bit 16384 1 i915
drm_kms_helper 126976 1 i915
drm 282624 10 i915,drm_kms_helper
intel_gtt 20480 1 i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
snd_hda_intel 28672 3
snd_hda_codec 90112 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core 49152 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 81920 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer 28672 1 snd_pcm
snd 65536 14 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
soundcore 16384 1 snd
w83627ehf 40960 0
hwmon_vid 16384 1 w83627ehf
coretemp 16384 0
parport_pc 40960 0
ppdev 20480 0
lp 20480 0
parport 40960 3 lp,parport_pc,ppdev
ip_tables 24576 3 iptable_mangle,iptable_filter,iptable_nat
x_tables 28672 11 ipt_REJECT,iptable_mangle,ip_tables,ebtables,iptable_filter,xt_tcpudp,ipt_MASQUERADE,xt_CHECKSUM,ip6table_filter,xt_conntrack,ip6_tables
autofs4 28672 2
ext4 393216 6
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 61440 1 ext4
fscrypto 24576 1 ext4
btrfs 880640 0
raid10 49152 0
raid456 110592 0
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,async_raid6_recov
async_pq 16384 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 16384 5 async_xor,async_pq,raid456,async_memcpy,async_raid6_recov
xor 24576 2 async_xor,btrfs
raid6_pq 114688 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 16384 3 nf_conntrack,raid456,nf_nat
crc32c_generic 16384 0
raid1 36864 0
raid0 20480 0
multipath 16384 0
linear 16384 0
md_mod 114688 6 raid1,raid10,multipath,linear,raid0,raid456
hid_logitech_hidpp 32768 0
hid_logitech_dj 20480 0
usbhid 45056 0
hid 110592 3 usbhid,hid_logitech_dj,hid_logitech_hidpp
uas 24576 0
usb_storage 57344 1 uas
sr_mod 24576 0
sd_mod 49152 8
cdrom 32768 1 sr_mod
ahci 36864 7
libahci 28672 1 ahci
i2c_i801 24576 0
psmouse 118784 0
firewire_ohci 40960 0
crc32c_intel 24576 2
i2c_core 36864 6 i2c_algo_bit,i2c_i801,psmouse,i915,drm_kms_helper,drm
libata 180224 2 ahci,libahci
scsi_mod 155648 6 sd_mod,usb_storage,libata,uas,sr_mod,sg
xhci_pci 16384 0
firewire_core 53248 1 firewire_ohci
crc_itu_t 16384 1 firewire_core
xhci_hcd 110592 1 xhci_pci
ehci_pci 16384 0
ehci_hcd 49152 1 ehci_pci
e1000e 172032 0
ptp 20480 1 e1000e
usbcore 172032 10 ath9k_htc,usbhid,usb_storage,ehci_hcd,usblp,xhci_pci,btusb,uas,xhci_hcd,ehci_pci
pps_core 16384 1 ptp
|