Wifi

為什麼我不能在 linux 中查看任何可用的網路

  • February 13, 2021

我使用定制的 Linux 發行版。當我嘗試啟用 wifi 時,我無法查看任何現有網路。我的 wifi 卡是 Intel Wifi link 5100,輸出lspci -vv

Subsystem: Intel Corporation WiFi Link 5100 AGN
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 35
Region 0: Memory at d6d00000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
   Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
   Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Address: 00000000fee02004  Data: 402b
Capabilities: [e0] Express (v1) Endpoint, MSI 00
   DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited

ip link節目

wlp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 52:ce:71:xx:xx:xx brd ff:ff:ff:ff:ff:ff permaddr 00:22:fb:xx:xx:xx

ifconfig:

wlp5s0    Link encap:Ethernet  HWaddr 52:CE:71:XX:XX:XX
         UP BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:0  TX bytes:0

我不明白問題出在哪裡。你能幫忙嗎?

sudo iwlist:

wlp5s0    Scan completed :
     Cell 01 - Address: 
               Channel:1
               Frequency:2.412 GHz (Channel 1)
               Quality=40/70  Signal level=-70 dBm  
               Encryption key:on
               ESSID:"ACT102474534110"
     Cell 02 - Address: 
               Channel:2
               Frequency:2.417 GHz (Channel 2)
               Quality=38/70  Signal level=-72 dBm  
               Encryption key:on
               ESSID:"Abhijit"
     Cell 03 - Address: 
               Channel:3
               Frequency:2.422 GHz (Channel 3)
               Quality=48/70  Signal level=-62 dBm  
               Encryption key:on
               ESSID:"gagsbuds"
     Cell 04 - Address: 
               Channel:5
               Frequency:2.432 GHz (Channel 5)
               Quality=34/70  Signal level=-76 dBm  
               Encryption key:on
               ESSID:"sanjay"
     Cell 05 - Address: 
               Channel:6
               Frequency:2.437 GHz (Channel 6)
               Quality=44/70  Signal level=-66 dBm  
               Encryption key:on
               ESSID:"The Devs"
     Cell 07 - Address: 
               Channel:8
               Frequency:2.447 GHz (Channel 8)
               Quality=35/70  Signal level=-75 dBm  
               Encryption key:on
               ESSID:"Tnet"
     Cell 08 - Address: 
               Channel:11
               Frequency:2.462 GHz (Channel 11)
               Quality=70/70  Signal level=-21 dBm  
               Encryption key:on
               ESSID:"MaANAS"
     Cell 09 - Address: 
               Channel:11
               Frequency:2.462 GHz (Channel 11)
               Quality=69/70  Signal level=-41 dBm  
               Encryption key:on
               ESSID:"DIRECT-np-BRAVIA"
     Cell 10 - Address: 
               Channel:13
               Frequency:2.472 GHz (Channel 13)
               Quality=24/70  Signal level=-86 dBm  
               Encryption key:on
               ESSID:"PanduHome"

根據您的評論,您用於連接 Wi-Fi 的任何實用程序都出現故障(例如,由於缺少依賴項)並且您的 Wi-Fi 適配器工作正常。

例如 NetworkManager 需要 NetworkManager-wifi 和 wpa_supplicant。

引用自:https://unix.stackexchange.com/questions/634226