![Kali Linux 无线网卡不工作](https://linux22.com/image/94124/Kali%20Linux%20%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1%E4%B8%8D%E5%B7%A5%E4%BD%9C.png)
我是 Linux 新手,所以请跟我讲。
我在笔记本电脑上全新安装了 Kali Linux,所以现在唯一可用的操作系统是 Kali Linux。
这是我的问题:我的笔记本电脑无法通过内置无线卡连接到互联网。
我的笔记本电脑无线网卡是:Intel Corporation Centrino Advanced-N 6200 2x2 AGN
虽然系统说它使用内核驱动程序,但iwlwifi
仍然没有无线互联网连接。
我尝试更改下面的接口文件/etc/network/interfaces
并添加:
# The primary network interfaces
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
仍然没有运气。 详细信息
如下ifconfig
:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.77 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::223:18ff:febe:ab8e prefixlen 64 scopeid 0x20<link>
ether 00:23:18:be:ab:8e txqueuelen 1000 (Ethernet)
RX packets 27689 bytes 27448393 (26.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15299 bytes 1495734 (1.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xd4600000-d4620000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 2460 bytes 187820 (183.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2460 bytes 187820 (183.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:27:10:94:a8:3c txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
详细信息如下iwconfig
:
lo no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:"ATT653"
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
eth0 no wireless extensions.
笔记:对于 ESSID,我使用手动添加了“ATT653”
ifconfig wlan0 up
iwconfig wlan0 essid "ATT653"
dhclient wlan0
这不起作用,因为我的网络是 WPA2 加密的。
无线网卡信息如下:
root@kali:~# lspci
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
和
root@kali:~# lspci -vq
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
Subsystem: Intel Corporation Centrino Advanced-N 6200 2x2 AGN
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at d4400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-27-10-ff-ff-94-a8-3c
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
请帮我解决这个问题。
答案1
编辑您的sources.list
:
nano /etc/apt/sources.list
添加以下行:
deb http://http.kali.org/kali kali-rolling main contrib non-free
然后安装iwlwifi
驱动:
apt-get update && apt-get install firmware-iwlwifi
rmmod iwlwifi
modprobe iwlwifi
编辑
使用退休回购协议:
deb http://old.kali.org/kali sana main non-free contrib