如何激活我的 wifi?

如何激活我的 wifi?

我买了一个 pci-wifi 接收器。它可以在 win7 上使用。如何在我的 linux 上使其激活?

iwlist scan
eth0 Interface doesn't support scanning.

lo Interface doesn't support scanning.

lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Kernel driver in use: hsw_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Kernel driver in use: i915
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Kernel driver in use: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:8576]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation C220 Series Chipset Family H81 Express LPC Controller [8086:8c5c] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
02:00.0 Network controller [0280]: Intel Corporation WiFi Link 5100 [8086:4232]
Subsystem: Intel Corporation WiFi Link 5100 AGN [8086:1321]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: ASUSTeK Computer Inc. Device [1043:8554]
Kernel driver in use: r8169
lshw -C network
bash: lshw: command not found
iwconfig
eth0 no wireless extensions.

lo no wireless extensions.

ifconfig -a
eth0 Link encap:Ethernet HWaddr e0:3f:49:57:4b:d1
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
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)

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

No wlan0 can be seen.

答案1

您的 Intel Corporation WiFi Link 5100 [8086:4232] 使用驱动程序iwlwifi。加载它并查看无线是否启动:

sudo modprobe iwlwifi

查看:

iwconfig

如果出现接口 wlan0,让我们让模块在启动时自动加载:

sudo -i
echo iwlwifi  >>  /etc/modules
exit

如果没有,请检查日志以查找原因:

dmesg | grep iwl

在这里发布结果并给我们链接:http://paste.ubuntu.com

然后我将编辑这个答案以提出更全面的解决方案。

答案2

已解决apt-get install firmware-iwlwifi,现在可以扫描 wifi 了。

相关内容