我的笔记本电脑有问题。我目前正在使用Ubuntu 19.04。我可以连接到我的 wifi 路由器,但我看不到我的其他 wifi 扩展器。使用Windows 10我没有遇到过这个问题,所以这不是我的无线网卡的问题。通常这不是问题,但当我离路由器太远时,我就会失去连接。这可能是驱动程序问题吗?我不知道我拥有哪种类型的无线网卡,因为我不知道如何在 Ubuntu 上查看它,而且我无法再启动 Windows 10。我是 Ubuntu 的新手,所以现在我只能给你这些信息。
先感谢您!
编辑:
我输入
lspci -knn | grep Net -A3
在终端上我得到:
03:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)
Subsystem: Lite-On Communications Inc QCA9377 802.11ac Wireless Network Adapter [11ad:08a6]
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
在终端输入:iw reg get; dmesg | grep ath
结果:
global
country IT: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
[ 5.653465] systemd[1]: /lib/systemd/system/spice-vdagentd.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/spice-vdagentd/spice-vdagentd.pid → /run/spice-vdagentd/spice-vdagentd.pid; please update the unit file accordingly.
[ 6.599357] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 6.902256] ath10k_pci 0000:03:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 11ad:08a6
[ 6.902260] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 6.902972] ath10k_pci 0000:03:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[ 6.973423] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[ 7.049244] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[ 7.075851] ath10k_pci 0000:03:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 7.162592] ath: EEPROM regdomain: 0x69
[ 7.162596] ath: EEPROM indicates we should expect a direct regpair map
[ 7.162598] ath: Country alpha2 being used: 00
[ 7.162599] ath: Regpair used: 0x69
[ 7.215966] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[ 10.809908] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[ 15.726278] ath: EEPROM regdomain: 0x817c
[ 15.726279] ath: EEPROM indicates we should expect a country code
[ 15.726279] ath: doing EEPROM country->regdmn map search
[ 15.726280] ath: country maps to regdmn code: 0x37
[ 15.726282] ath: Country alpha2 being used: IT
[ 15.726282] ath: Regpair used: 0x37
[ 15.726284] ath: regdomain 0x817c dynamically updated by country element
[ 1058.736277] ath: EEPROM regdomain: 0x817c
[ 1058.736278] ath: EEPROM indicates we should expect a country code
[ 1058.736279] ath: doing EEPROM country->regdmn map search
[ 1058.736280] ath: country maps to regdmn code: 0x37
[ 1058.736281] ath: Country alpha2 being used: IT
[ 1058.736282] ath: Regpair used: 0x37
[ 1058.736283] ath: regdomain 0x817c dynamically updated by country element
[ 5202.538198] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[ 5202.578807] WARNING: CPU: 0 PID: 4562 at drivers/net/wireless/ath/ath10k/mac.c:5708 ath10k_bss_info_changed+0xe74/0xfb0 [ath10k_core]
[ 5202.578811] Modules linked in: rfcomm ccm bnep nls_iso8859_1 snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc arc4 snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_hda_codec_hdmi intel_rapl snd_compress ac97_bus intel_telemetry_pltdrv intel_punit_ipc intel_telemetry_core intel_pmc_ipc snd_pcm_dmaengine snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel snd_hda_codec snd_hda_core crct10dif_pclmul crc32_pclmul snd_hwdep ghash_clmulni_intel snd_pcm i915 snd_seq_midi kvmgt snd_seq_midi_event uvcvideo vfio_mdev snd_rawmidi mdev vfio_iommu_type1 videobuf2_vmalloc aesni_intel videobuf2_memops vfio videobuf2_v4l2 aes_x86_64 ath10k_pci crypto_simd joydev snd_seq cryptd videobuf2_common btusb kvm glue_helper ath10k_core intel_cstate videodev btrtl intel_rapl_perf btbcm media btintel ath irqbypass input_leds bluetooth snd_seq_device drm_kms_helper mac80211 serio_raw
[ 5202.578960] RIP: 0010:ath10k_bss_info_changed+0xe74/0xfb0 [ath10k_core]
[ 5202.579015] ? ath10k_conf_tx+0x80/0x4a0 [ath10k_core]
[ 5202.579523] WARNING: CPU: 0 PID: 4562 at drivers/net/wireless/ath/ath10k/mac.c:5746 ath10k_bss_info_changed+0xdca/0xfb0 [ath10k_core]
[ 5202.579525] Modules linked in: rfcomm ccm bnep nls_iso8859_1 snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc arc4 snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_hda_codec_hdmi intel_rapl snd_compress ac97_bus intel_telemetry_pltdrv intel_punit_ipc intel_telemetry_core intel_pmc_ipc snd_pcm_dmaengine snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel snd_hda_codec snd_hda_core crct10dif_pclmul crc32_pclmul snd_hwdep ghash_clmulni_intel snd_pcm i915 snd_seq_midi kvmgt snd_seq_midi_event uvcvideo vfio_mdev snd_rawmidi mdev vfio_iommu_type1 videobuf2_vmalloc aesni_intel videobuf2_memops vfio videobuf2_v4l2 aes_x86_64 ath10k_pci crypto_simd joydev snd_seq cryptd videobuf2_common btusb kvm glue_helper ath10k_core intel_cstate videodev btrtl intel_rapl_perf btbcm media btintel ath irqbypass input_leds bluetooth snd_seq_device drm_kms_helper mac80211 serio_raw
[ 5202.579646] RIP: 0010:ath10k_bss_info_changed+0xdca/0xfb0 [ath10k_core]
[ 5202.579695] ? ath10k_conf_tx+0x80/0x4a0 [ath10k_core]
[ 5204.083325] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[ 5209.022097] ath: EEPROM regdomain: 0x817c
[ 5209.022100] ath: EEPROM indicates we should expect a country code
[ 5209.022101] ath: doing EEPROM country->regdmn map search
[ 5209.022104] ath: country maps to regdmn code: 0x37
[ 5209.022106] ath: Country alpha2 being used: IT
[ 5209.022108] ath: Regpair used: 0x37
[ 5209.022112] ath: regdomain 0x817c dynamically updated by country element
[ 5616.322073] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[ 5616.363121] WARNING: CPU: 2 PID: 4855 at drivers/net/wireless/ath/ath10k/mac.c:5708 ath10k_bss_info_changed+0xe74/0xfb0 [ath10k_core]
[ 5616.363125] Modules linked in: rfcomm ccm bnep nls_iso8859_1 snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc arc4 snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_hda_codec_hdmi intel_rapl snd_compress ac97_bus intel_telemetry_pltdrv intel_punit_ipc intel_telemetry_core intel_pmc_ipc snd_pcm_dmaengine snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel snd_hda_codec snd_hda_core crct10dif_pclmul crc32_pclmul snd_hwdep ghash_clmulni_intel snd_pcm i915 snd_seq_midi kvmgt snd_seq_midi_event uvcvideo vfio_mdev snd_rawmidi mdev vfio_iommu_type1 videobuf2_vmalloc aesni_intel videobuf2_memops vfio videobuf2_v4l2 aes_x86_64 ath10k_pci crypto_simd joydev snd_seq cryptd videobuf2_common btusb kvm glue_helper ath10k_core intel_cstate videodev btrtl intel_rapl_perf btbcm media btintel ath irqbypass input_leds bluetooth snd_seq_device drm_kms_helper mac80211 serio_raw
[ 5616.363283] RIP: 0010:ath10k_bss_info_changed+0xe74/0xfb0 [ath10k_core]
[ 5616.363341] ? ath10k_conf_tx+0x80/0x4a0 [ath10k_core]
[ 5616.363808] WARNING: CPU: 2 PID: 4855 at drivers/net/wireless/ath/ath10k/mac.c:5746 ath10k_bss_info_changed+0xdca/0xfb0 [ath10k_core]
[ 5616.363810] Modules linked in: rfcomm ccm bnep nls_iso8859_1 snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc arc4 snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_hda_codec_hdmi intel_rapl snd_compress ac97_bus intel_telemetry_pltdrv intel_punit_ipc intel_telemetry_core intel_pmc_ipc snd_pcm_dmaengine snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel snd_hda_codec snd_hda_core crct10dif_pclmul crc32_pclmul snd_hwdep ghash_clmulni_intel snd_pcm i915 snd_seq_midi kvmgt snd_seq_midi_event uvcvideo vfio_mdev snd_rawmidi mdev vfio_iommu_type1 videobuf2_vmalloc aesni_intel videobuf2_memops vfio videobuf2_v4l2 aes_x86_64 ath10k_pci crypto_simd joydev snd_seq cryptd videobuf2_common btusb kvm glue_helper ath10k_core intel_cstate videodev btrtl intel_rapl_perf btbcm media btintel ath irqbypass input_leds bluetooth snd_seq_device drm_kms_helper mac80211 serio_raw
[ 5616.363939] RIP: 0010:ath10k_bss_info_changed+0xdca/0xfb0 [ath10k_core]
[ 5616.363991] ? ath10k_conf_tx+0x80/0x4a0 [ath10k_core]
[ 5646.447982] ath10k_pci 0000:03:00.0: unsupported HTC service id: 1536
[ 5646.488990] WARNING: CPU: 2 PID: 4842 at drivers/net/wireless/ath/ath10k/mac.c:5708 ath10k_bss_info_changed+0xe74/0xfb0 [ath10k_core]
[ 5646.488993] Modules linked in: rfcomm ccm bnep nls_iso8859_1 snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc arc4 snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_hda_codec_hdmi intel_rapl snd_compress ac97_bus intel_telemetry_pltdrv intel_punit_ipc intel_telemetry_core intel_pmc_ipc snd_pcm_dmaengine snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel snd_hda_codec snd_hda_core crct10dif_pclmul crc32_pclmul snd_hwdep ghash_clmulni_intel snd_pcm i915 snd_seq_midi kvmgt snd_seq_midi_event uvcvideo vfio_mdev snd_rawmidi mdev vfio_iommu_type1 videobuf2_vmalloc aesni_intel videobuf2_memops vfio videobuf2_v4l2 aes_x86_64 ath10k_pci crypto_simd joydev snd_seq cryptd videobuf2_common btusb kvm glue_helper ath10k_core intel_cstate videodev btrtl intel_rapl_perf btbcm media btintel ath irqbypass input_leds bluetooth snd_seq_device drm_kms_helper mac80211 serio_raw
[ 5646.489116] RIP: 0010:ath10k_bss_info_changed+0xe74/0xfb0 [ath10k_core]
[ 5646.489159] ? ath10k_conf_tx+0x80/0x4a0 [ath10k_core]
[ 5646.489633] WARNING: CPU: 2 PID: 4842 at drivers/net/wireless/ath/ath10k/mac.c:5746 ath10k_bss_info_changed+0xdca/0xfb0 [ath10k_core]
[ 5646.489635] Modules linked in: rfcomm ccm bnep nls_iso8859_1 snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc arc4 snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_hda_codec_hdmi intel_rapl snd_compress ac97_bus intel_telemetry_pltdrv intel_punit_ipc intel_telemetry_core intel_pmc_ipc snd_pcm_dmaengine snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel snd_hda_codec snd_hda_core crct10dif_pclmul crc32_pclmul snd_hwdep ghash_clmulni_intel snd_pcm i915 snd_seq_midi kvmgt snd_seq_midi_event uvcvideo vfio_mdev snd_rawmidi mdev vfio_iommu_type1 videobuf2_vmalloc aesni_intel videobuf2_memops vfio videobuf2_v4l2 aes_x86_64 ath10k_pci crypto_simd joydev snd_seq cryptd videobuf2_common btusb kvm glue_helper ath10k_core intel_cstate videodev btrtl intel_rapl_perf btbcm media btintel ath irqbypass input_leds bluetooth snd_seq_device drm_kms_helper mac80211 serio_raw
[ 5646.489764] RIP: 0010:ath10k_bss_info_changed+0xdca/0xfb0 [ath10k_core]
[ 5646.489816] ? ath10k_conf_tx+0x80/0x4a0 [ath10k_core]
[ 5656.811486] ath: EEPROM regdomain: 0x817c
[ 5656.811487] ath: EEPROM indicates we should expect a country code
[ 5656.811488] ath: doing EEPROM country->regdmn map search
[ 5656.811489] ath: country maps to regdmn code: 0x37
[ 5656.811490] ath: Country alpha2 being used: IT
[ 5656.811491] ath: Regpair used: 0x37
[ 5656.811493] ath: regdomain 0x817c dynamically updated by country element
已插入
iwconfig
我得到了:
lo no wireless extensions.
enp2s0f1 no wireless extensions.
wlp3s0 IEEE 802.11 ESSID:"TIM-29002755"
Mode:Managed Frequency:5.24 GHz Access Point: A6:91:B1:BA:8C:0C
Bit Rate=6 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=32/70 Signal level=-78 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:64 Missed beacon:0
已插入
iwlist wlp3s0 freq
我有:
wlp3s0 31 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz
Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz
Channel 128 : 5.64 GHz
Channel 132 : 5.66 GHz
Channel 136 : 5.68 GHz
Channel 140 : 5.7 GHz
Current Frequency:5.24 GHz (Channel 48)
答案1
您的扩展器可能没有使用无线网卡可以看到的一个频道。
在terminal
...
iwconfig
# 确定你的无线设备的名称
iwlist wlan0 freq
# 将 wlan0 更改为你的无线设备名称
观察无线设备中可用的无线信道。
对于 2.4ghz 频段,您应该看到频道 1-11,对于 5ghz 频段,您应该看到类似频道 36~161,但有些频道不会显示。
确认您的无线扩展器正在使用这些可用频道之一。如果扩展器设置为自动,则它可能未使用您的无线设备可见的频道。您必须将扩展器设置为使用特定频道。
更新#1:
在 IT 中显示/使用的频道可能略有不同。
更新 #2:
我刚刚解决了将频道从 13 改为 1-11 的问题!非常感谢