我非常渴望开始使用 Ubuntu 12.04,但在让我的 Dell XPS l501x 机器上运行 Wi-Fi 时遇到了困难。
问题是我无法选择无线网络,因为当我点击右上角的 wifi 信号时,它显示设备未准备好,没有足够的信誉来包含图像,抱歉。我尝试按照以下说明解决问题Ubuntu 帮助。下面是这些指令的关键命令的输出,如果有人能给我一些建议我将不胜感激。
darren@minion:~$ nm-tool
NetworkManager Tool
State: disconnected
- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: unavailable
Default: no
HW Address: F0:4D:A2:5B:E5:33
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
- Device: wlan0 ----------------------------------------------------------------
Type: 802.11 WiFi
Driver: iwlwifi
State: unavailable
Default: no
HW Address: 00:26:C7:9A:53:E6
Capabilities:
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points
darren@minion:~$ sudo lshw -C network
[sudo] password for darren:
*-network DISABLED
description: Wireless interface
product: Centrino Wireless-N 1000 [Condor Peak]
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlan0
version: 00
serial: 00:26:c7:9a:53:e6
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=3.11.0-17-generic firmware=39.31.5.1 build 35138 latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:56 memory:f0500000-f0501fff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:09:00.0
logical name: eth0
version: 06
serial: f0:4d:a2:5b:e5:33
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:53 ioport:5000(size=256) memory:f0404000-f0404fff memory:f0400000-f0403fff
darren@minion:~$ lsmod
Module Size Used by
rfcomm 74718 12
bnep 24107 2
parport_pc 32866 0
ppdev 17711 0
snd_hda_codec_hdmi 41736 4
arc4 12573 2
iwldvm 244387 0
mac80211 623607 1 iwldvm
joydev 17613 0
snd_hda_codec_realtek 57149 1
nouveau 979899 3
ttm 84837 1 nouveau
snd_hda_intel 57134 5
lp 17799 0
snd_hda_codec 194817 3
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
drm_kms_helper 53237 1 nouveau
uvcvideo 82247 0
iwlwifi 179516 1 iwldvm
videobuf2_core 40815 1 uvcvideo
videodev 138562 2 uvcvideo,videobuf2_core
i7core_edac 24565 0
videobuf2_vmalloc 13216 1 uvcvideo
parport 42466 3 parport_pc,ppdev,lp
drm 306660 5 nouveau,ttm,drm_kms_helper
edac_core 62944 1 i7core_edac
snd_hwdep 13613 1 snd_hda_codec
snd_pcm 107140 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
videobuf2_memops 13362 1 videobuf2_vmalloc
mei_me 18418 0
lpc_ich 21163 0
snd_seq_midi 13324 0
snd_rawmidi 30416 1 snd_seq_midi
dell_wmi 12761 0
sparse_keymap 13890 1 dell_wmi
psmouse 104093 0
mei 78537 1 mei_me
dell_laptop 17425 0
mac_hid 13253 0
btusb 28374 0
dcdbas 14936 1 dell_laptop
i2c_algo_bit 13564 1 nouveau
intel_ips 18520 0
mxm_wmi 13021 1 nouveau
wmi 19256 3 nouveau,dell_wmi,mxm_wmi
serio_raw 13413 0
video 19574 1 nouveau
snd_seq_midi_event 14899 1 snd_seq_midi
snd_seq 66061 2 snd_seq_midi,snd_seq_midi_event
bluetooth 391726 24 rfcomm,bnep,btusb
snd_timer 29989 2 snd_pcm,snd_seq
snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 73753 21
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
cfg80211 499466 3 iwldvm,mac80211,iwlwifi
soundcore 12680 1 snd
snd_page_alloc 18798 2 snd_hda_intel,snd_pcm
ahci 30063 3
r8169 73299 0
libahci 32118 1 ahci
mii 13981 1 r8169
darren@minion:~$ sudo iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
darren@minion:~$ sudo iwlist scan
eth0 Interface doesn't support scanning.
lo Interface doesn't support scanning.
wlan0 Interface doesn't support scanning : Network is down
darren@minion:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Wild Man 建议我运行他的脚本,见下面的评论。结果如下:这里。看到结果后,我被要求运行另一个命令:
darren@minion:~$ md5sum /lib/firmware/iwlwifi-1000-5.ucode
9f81a060ed274f76cd605295da77f7a6 /lib/firmware/iwlwifi-1000-5.ucode
一旦 Wild Man 回复,我将再次编辑此答案。
答案1
我将继续使用 ubuntu 用户,我终于找到了答案。该解决方案改编自另一个 askubuntu 问题的答案这里。我的代码最终略有不同,因此我将其包含在此处,但必须归功于原始答案的作者,解释可以在那里找到(如果您使用它,我建议您点赞并发表评论,我还没有声誉可以这样做,但我会尽快)。原始答案中的固件链接已过期,因此我下载了它http://pkgs.fedoraproject.org/repo/pkgs/iwl1000-firmware/iwlwifi-1000-ucode-128.50.3.1.tgz/。下载固件后,导航到该固件并使用以下命令:
tar xzvf iwlwifi-1000-ucode-128.50.3.1.tgz
sudo mv /lib/firmware/iwlwifi-1000-5.ucode /lib/firmware/iwlwifi-1000-5.bak
cd iwlwifi-1000-ucode-128.50.3.1/
cp iwlwifi-1000-3.ucode iwlwifi-1000-5.ucode
sudo cp iwlwifi-1000-5.ucode /lib/firmware
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi
dmesg | tail -n20
这与链接答案之间的主要区别在于,在 modprobe 命令中我必须使用 iwlwifi 而不是 iwlagn。