Não sei se é uma falha de hardware que requer ir a um centro de serviços (espero que não seja o caso); às vezes, meu laptop não tem nenhum dispositivo wi-fi disponível. O dispositivo fica escondido por certas horas e aparece de repente.
Qual seria a melhor aposta se eu tentasse alcançar o dispositivo?
Aqui estão alguns logs. Os primeiros três são o comando que conheço, quando o dispositivo wi-fi está ao alcance. Os segundos três são dados quando o dispositivo está oculto.
lsmod
:
Module Size Used by
rfcomm 61440 12
sha256_ssse3 32768 1
sha256_generic 24576 1 sha256_ssse3
hmac 16384 1
drbg 32768 1
ansi_cprng 16384 0
ctr 16384 2
ccm 20480 2
arc4 16384 2
snd_hda_codec_hdmi 53248 1
snd_hda_codec_generic 69632 1
hid_logitech_hidpp 24576 0
joydev 20480 0
mousedev 20480 0
bnep 20480 2
uvcvideo 86016 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 20480 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
hid_logitech_dj 20480 0
videodev 151552 3 uvcvideo,videobuf2_core,videobuf2_v4l2
usbhid 45056 0
media 24576 2 uvcvideo,videodev
btusb 40960 0
btrtl 16384 1 btusb
bbswitch 16384 0
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
snd_soc_skl 45056 0
coretemp 16384 0
snd_soc_skl_ipc 28672 1 snd_soc_skl
snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc
snd_soc_sst_dsp 36864 1 snd_soc_skl_ipc
snd_hda_ext_core 20480 1 snd_soc_skl
snd_soc_sst_match 16384 1 snd_soc_skl
snd_soc_core 180224 1 snd_soc_skl
snd_compress 20480 1 snd_soc_core
kvm 491520 0
i915 1155072 6
snd_pcm_dmaengine 16384 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
i2c_designware_platform 16384 0
i2c_designware_core 20480 1 i2c_designware_platform
snd_hda_intel 32768 3
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
snd_hda_codec 106496 3 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
ath10k_pci 45056 0
crc32_pclmul 16384 0
ath10k_core 262144 1 ath10k_pci
crc32c_intel 24576 0
ath 28672 1 ath10k_core
ghash_clmulni_intel 16384 0
snd_hda_core 49152 6 snd_hda_ext_core,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_soc_skl
mac80211 651264 1 ath10k_core
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 86016 8 snd_hda_ext_core,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_soc_skl,snd_pcm_dmaengine,snd_hda_core
drm_kms_helper 106496 1 i915
aesni_intel 167936 4
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
cryptd 20480 3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_timer 28672 1 snd_pcm
idma64 20480 0
drm 290816 7 i915,drm_kms_helper
evdev 24576 15
pcspkr 16384 0
r8169 77824 0
cfg80211 491520 3 ath,mac80211,ath10k_core
input_leds 16384 0
snd 65536 15 snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_compress
intel_gtt 20480 1 i915
led_class 16384 1 input_leds
psmouse 118784 0
mac_hid 16384 0
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
serio_raw 16384 0
sysimgblt 16384 1 drm_kms_helper
soundcore 16384 1 snd
i2c_i801 20480 0
intel_lpss_pci 16384 0
mii 16384 1 r8169
fb_sys_fops 16384 1 drm_kms_helper
hci_uart 69632 0
i2c_algo_bit 16384 1 i915
mei_me 32768 0
btbcm 16384 2 btusb,hci_uart
mei 81920 1 mei_me
shpchp 32768 0
btqca 16384 1 hci_uart
btintel 16384 2 btusb,hci_uart
ideapad_laptop 24576 0
sparse_keymap 16384 1 ideapad_laptop
thermal 20480 0
bluetooth 454656 41 bnep,btbcm,btqca,btrtl,btusb,hci_uart,rfcomm,btintel
wmi 20480 1 ideapad_laptop
ac 16384 0
battery 20480 0
pinctrl_sunrisepoint 28672 0
video 36864 2 i915,ideapad_laptop
pinctrl_intel 20480 1 pinctrl_sunrisepoint
i2c_hid 20480 0
rfkill 20480 9 cfg80211,ideapad_laptop,bluetooth
hid 114688 4 i2c_hid,usbhid,hid_logitech_dj,hid_logitech_hidpp
tpm_crb 16384 0
intel_lpss_acpi 16384 0
tpm_tis 20480 0
intel_lpss 16384 2 intel_lpss_pci,intel_lpss_acpi
tpm 36864 2 tpm_crb,tpm_tis
fjes 28672 0
button 16384 1 i915
acpi_pad 20480 0
processor 32768 0
sch_fq_codel 20480 6
ip_tables 28672 0
x_tables 28672 1 ip_tables
ext4 516096 2
crc16 16384 2 ext4,bluetooth
mbcache 20480 1 ext4
jbd2 94208 1 ext4
sd_mod 36864 4
atkbd 24576 0
libps2 16384 2 atkbd,psmouse
ahci 36864 3
libahci 28672 1 ahci
xhci_pci 16384 0
xhci_hcd 159744 1 xhci_pci
libata 196608 2 ahci,libahci
scsi_mod 151552 2 libata,sd_mod
usbcore 196608 5 btusb,uvcvideo,usbhid,xhci_hcd,xhci_pci
usb_common 16384 1 usbcore
i8042 24576 2 libps2,ideapad_laptop
serio 20480 6 serio_raw,atkbd,i8042,psmouse
lspci -v
:
......
02:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)
Subsystem: Lenovo Device 4035
Flags: bus master, fast devsel, latency 0, IRQ 279
Memory at d4000000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit-
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Virtual Channel
Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [178] Latency Tolerance Reporting
Capabilities: [180] L1 PM Substates
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: Lenovo Device 3835
Flags: bus master, fast devsel, latency 0, IRQ 278
I/O ports at c000 [size=256]
Memory at d4204000 (64-bit, non-prefetchable) [size=4K]
Memory at d4200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [170] Latency Tolerance Reporting
Capabilities: [178] L1 PM Substates
Kernel driver in use: r8169
Kernel modules: r8169
nmcli:
# nmcli g
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
connected full enabled enabled enabled enabled
# nmcli d
DEVICE TYPE STATE CONNECTION
wlp2s0 wifi connected LGU+_POLY
enp3s0 ethernet unavailable --
lo loopback unmanaged --
lsmod
:
Module Size Used by
bnep 20480 2
bbswitch 16384 0
snd_hda_codec_hdmi 53248 1
snd_hda_codec_generic 69632 1
hid_logitech_hidpp 24576 0
uvcvideo 86016 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 20480 1 uvcvideo
hid_logitech_dj 20480 0
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
hid_generic 16384 0
videodev 151552 3 uvcvideo,videobuf2_core,videobuf2_v4l2
media 24576 2 uvcvideo,videodev
usbhid 45056 0
joydev 20480 0
mousedev 20480 0
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
snd_soc_skl 45056 0
snd_soc_skl_ipc 28672 1 snd_soc_skl
coretemp 16384 0
snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc
snd_soc_sst_dsp 36864 1 snd_soc_skl_ipc
snd_hda_ext_core 20480 1 snd_soc_skl
snd_soc_sst_match 16384 1 snd_soc_skl
snd_soc_core 180224 1 snd_soc_skl
i2c_designware_platform 16384 0
i2c_designware_core 20480 1 i2c_designware_platform
kvm 491520 0
snd_compress 20480 1 snd_soc_core
i915 1155072 7
irqbypass 16384 1 kvm
snd_pcm_dmaengine 16384 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 0
snd_hda_intel 32768 3
ghash_clmulni_intel 16384 0
snd_hda_codec 106496 3 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
evdev 24576 17
drm_kms_helper 106496 1 i915
input_leds 16384 0
snd_hda_core 49152 6 snd_hda_ext_core,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_soc_skl
aesni_intel 167936 0
snd_hwdep 16384 1 snd_hda_codec
aes_x86_64 20480 1 aesni_intel
r8169 77824 0
led_class 16384 1 input_leds
snd_pcm 86016 8 snd_hda_ext_core,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_soc_skl,snd_pcm_dmaengine,snd_hda_core
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
drm 290816 8 i915,drm_kms_helper
glue_helper 16384 1 aesni_intel
mac_hid 16384 0
ablk_helper 16384 1 aesni_intel
snd_timer 28672 1 snd_pcm
cryptd 20480 3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd 65536 15 snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_compress
soundcore 16384 1 snd
serio_raw 16384 0
pcspkr 16384 0
intel_gtt 20480 1 i915
i2c_i801 20480 0
mii 16384 1 r8169
hci_uart 69632 0
syscopyarea 16384 1 drm_kms_helper
psmouse 118784 0
idma64 20480 0
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
i2c_algo_bit 16384 1 i915
btbcm 16384 1 hci_uart
mei_me 32768 0
intel_lpss_pci 16384 0
ideapad_laptop 24576 0
btqca 16384 1 hci_uart
shpchp 32768 0
btintel 16384 1 hci_uart
mei 81920 1 mei_me
thermal 20480 0
sparse_keymap 16384 1 ideapad_laptop
wmi 20480 1 ideapad_laptop
battery 20480 0
ac 16384 0
bluetooth 454656 11 bnep,btbcm,btqca,hci_uart,btintel
video 36864 2 i915,ideapad_laptop
tpm_crb 16384 0
i2c_hid 20480 0
pinctrl_sunrisepoint 28672 0
rfkill 20480 6 ideapad_laptop,bluetooth
pinctrl_intel 20480 1 pinctrl_sunrisepoint
hid 114688 5 i2c_hid,hid_generic,usbhid,hid_logitech_dj,hid_logitech_hidpp
intel_lpss_acpi 16384 0
fjes 28672 0
tpm_tis 20480 0
intel_lpss 16384 2 intel_lpss_pci,intel_lpss_acpi
tpm 36864 2 tpm_crb,tpm_tis
acpi_pad 20480 0
button 16384 1 i915
processor 32768 0
sch_fq_codel 20480 2
ip_tables 28672 0
x_tables 28672 1 ip_tables
ext4 516096 2
crc16 16384 2 ext4,bluetooth
mbcache 20480 1 ext4
jbd2 94208 1 ext4
sd_mod 36864 4
atkbd 24576 0
libps2 16384 2 atkbd,psmouse
ahci 36864 3
libahci 28672 1 ahci
xhci_pci 16384 0
libata 196608 2 ahci,libahci
xhci_hcd 159744 1 xhci_pci
scsi_mod 151552 2 libata,sd_mod
usbcore 196608 4 uvcvideo,usbhid,xhci_hcd,xhci_pci
usb_common 16384 1 usbcore
i8042 24576 2 libps2,ideapad_laptop
serio 20480 6 serio_raw,atkbd,i8042,psmouse
lspci -v
: (02: 00.0 simplesmente não é pego no log)
......
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel modules: nouveau, nvidia_drm, nvidia
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: Lenovo Device 3835
Flags: bus master, fast devsel, latency 0, IRQ 277
I/O ports at c000 [size=256]
Memory at d4004000 (64-bit, non-prefetchable) [size=4K]
Memory at d4000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
nmcli
:
# nmcli g
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
disconnected none enabled enabled enabled enabled
# nmcli d
DEVICE TYPE STATE CONNECTION
enp3s0 ethernet unavailable --
lo loopback unmanaged --