Linux

無法在 Kali Linux 上檢測到無線接入點

  • August 21, 2018

所以我在我的聯想 g500 筆記型電腦上安裝了 Kali Linux。有線連接工作得很好,但我無法連接到無線接入點或檢測到它們。我真的沒有想法,所以這裡的資訊可以幫助你幫助我:-當我啟動電腦時(Kali Linux 是我唯一的作業系統,它不是來自實時 CD 或類似的東西)無線甚至不是打開,它甚至沒有檢測到卡。這是啟動後的iwconfig輸出ifconfig

# iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

# ifconfig

eth0      Link encap:Ethernet  HWaddr 20:1a:06:99:1e:2c  
         inet addr:***.***.*.***  Bcast:***.***.*.*** Mask:255.255.255.0
         inet6 addr: ****::****:***:****:****/** Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:769 errors:0 dropped:0 overruns:0 frame:0
         TX packets:750 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000 
         RX bytes:425266 (415.2 KiB)  TX bytes:106759 (104.2 KiB)
         Interrupt:16 

lo        Link encap:Local Loopback  
         inet addr:***.*.*.*  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:65536  Metric:1
         RX packets:16 errors:0 dropped:0 overruns:0 frame:0
         TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0 
         RX bytes:960 (960.0 B)  TX bytes:960 (960.0 B)

我一直在通過這樣做來解決這個問題:

compat-wireless-2010-06-26-p# make unload
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
Stoping bluetooth service..
[ ok ] Stopping bluetooth: rfcomm /usr/sbin/bluetoothd.
[FAIL] bluetooth is not running ... failed!
Unloading rfcomm...
compat-wireless-2010-06-26-p# make load
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
Stoping bluetooth service..
[ ok ] Stopping bluetooth: rfcomm /usr/sbin/bluetoothd.
[FAIL] bluetooth is not running ... failed!
Unloading rfcomm...
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
Loading ipw2100...
Loading ipw2200...
Loading libertas_cs...
Loading usb8xxx...
Loading p54pci...
Loading p54usb...
Loading adm8211...
Loading zd1211rw...
Loading rtl8180...
FATAL: Module rtl8180 not found.
Loading rtl8187...
Loading p54pci...
Loading p54usb...
Loading iwl3945...
Loading iwlagn...
FATAL: Module iwlagn not found.
Loading ath...
Loading ar9170usb...
Loading rtl8180...
FATAL: Module rtl8180 not found.
Loading rtl8187...
Loading rt2400pci...
Loading rt2500pci...
Loading rt61pci...
Loading rt2500usb...
Loading rt73usb...
Loading rndis_wlan...
Loading at76_usb...
FATAL: Module at76_usb not found.
Loading mwl8k...
Loading mac80211_hwsim...
Loading at76c50x_usb...
Loading bluetooth...
Loading btusb...
Loading l2cap...
FATAL: Module l2cap not found.
Loading sco...
FATAL: Module sco not found.
Loading hidp...
Loading rfcomm...
Loading bnep...
./scripts/load.sh: line 21: athload: command not found
./scripts/load.sh: line 23: b43load: command not found
Starting bluetooth service..
[ ok ] Starting bluetooth: bluetoothd rfcomm.
[ ok ] bluetooth is running.

現在我看到很多’Fatal’s在那裡,我不知道這是否可以。現在ifconfigand的輸出iwconfig是:

# iwconfig
wlan0     IEEE 802.11abgn  ESSID:off/any  
         Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
         Retry short limit:7   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off

lo        no wireless extensions.

eth0      no wireless extensions.

wlan1     IEEE 802.11abgn  ESSID:off/any  
         Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
         Retry short limit:7   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off

hwsim0    no wireless extensions.

   # ifconfig
eth0      Link encap:Ethernet  HWaddr 20:1a:06:99:1e:2c  
         inet addr:***.***.*.***  Bcast:***.***.*.*** Mask:255.255.255.0
         inet6 addr: ****::****:***:***:****/** Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:960 errors:0 dropped:0 overruns:0 frame:0
         TX packets:933 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000 
         RX bytes:466438 (455.5 KiB)  TX bytes:204104 (199.3 KiB)
         Interrupt:16 

lo        Link encap:Local Loopback  
         inet addr:***.*.*.*  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:65536  Metric:1
         RX packets:20 errors:0 dropped:0 overruns:0 frame:0
         TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0 
         RX bytes:1200 (1.1 KiB)  TX bytes:1200 (1.1 KiB)

wlan0     Link encap:Ethernet  HWaddr 02:00:00:00:00:00  
         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 (0.0 B)  TX bytes:0 (0.0 B)

wlan1     Link encap:Ethernet  HWaddr 02:00:00:00:01:00  
         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 (0.0 B)  TX bytes:0 (0.0 B)

現在,當我點擊它顯示的網路圖示時,在右上角:

Wired Network
 Wired Connection 1
  disconnect ##this is a clickable button ... 
Wireless Network (wlan0)
  disconnected ##unclickable button
Wireless Network (wlan1)
  disconnected ##unclickable button

我有一個無線路由器,之前在這台筆記型電腦上執行過 Windows 7 和 Linux Mint。

有大量關於Broadcom BCM43142在 kali 中遇到問題的文章,儘管我確實探勘了這一點:

add all Kali repositories to /etc/apt/sources.list:

deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

install "broadcom-sta-dkms" package (ver 6.30.223.248-1)

以上取自這裡作為替代方案,您還可以添加一個 USB wifi 加密狗 -這裡有一個很好的列表。祝你好運!

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