所以我在我的 Lenovo g500 笔记本电脑上安装了 Kali Linux。有线连接工作正常,但我无法连接到无线接入点或检测到它们。我确实没有想法,所以这里的信息可能会帮助你帮助我:-当我启动计算机时(Kali Linux 是我唯一的操作系统,它不是来自 Live 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.
现在我看到很多“致命”的东西在那里,我不知道这是否可以。现在ifconfig
和的输出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。
答案1
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)