从 Live CD 启动时 wifi 可用,但从硬盘启动时不可用

从 Live CD 启动时 wifi 可用,但从硬盘启动时不可用

我的戴尔 Latitude 电脑上一直运行 14.10,但 Unity 突然出问题了。我重新安装了电脑,一切似乎都很好,只是只有从安装 CD 启动时才会显示“启用 Wifi”(并允许我连接到我的 wifi 网络)。从硬盘启动时,我的 wifi 网络列在“编辑连接”中,其设置与从 CD 启动时显示的设置相同,但我无法使用它。

我认为这不同于Wifi 在 Live CD 上可用,但从 HD 启动时不可用因为一周前它在同一台机器、BIOS 和 Ubuntu 版本上运行良好,而且当我运行 sudo lshw -C network 时没有出现“网络已禁用”的情况。

从 CD 启动时 lsmod 的输出太长了,我猜其中一个模块就是实现 wifi 连接的原因。有人能告诉我哪个模块以及如何使其成为硬盘系统的一部分吗?

sudo lshw -C network # 从 CD 启动后,连接到 wifi 之前

  *-network
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 04
       serial: 5c:26:0a:59:91:32
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:43 memory:e2e00000-e2e1ffff memory:e2e80000-e2e80fff ioport:4080(size=32)
  *-network
       description: Network controller
       product: BCM4313 802.11bgn Wireless Network Adapter
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=bcma-pci-bridge latency=0
       resources: irq:17 memory:e2d00000-e2d03fff
  *-network
       description: Wireless interface
       physical id: 2
       logical name: wlan0
       serial: 74:de:2b:b4:5b:18
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=brcmsmac driverversion=3.16.0-23-generic firmware=610.812 link=no multicast=yes wireless=IEEE 802.11bgn

sudo lshw -C network # 从 CD 启动并连接到 wifi 后

  *-network
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 04
       serial: 5c:26:0a:59:91:32
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:43 memory:e2e00000-e2e1ffff memory:e2e80000-e2e80fff ioport:4080(size=32)
  *-network
       description: Network controller
       product: BCM4313 802.11bgn Wireless Network Adapter
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=bcma-pci-bridge latency=0
       resources: irq:17 memory:e2d00000-e2d03fff
  *-network
       description: Wireless interface
       physical id: 2
       logical name: wlan0
       serial: 74:de:2b:b4:5b:18
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=brcmsmac driverversion=3.16.0-23-generic firmware=610.812 ip=192.168.0.79 link=yes multicast=yes wireless=IEEE 802.11bgn

sudo lshw -C network #从硬盘启动后

  *-network
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 04
       serial: 5c:26:0a:59:91:32
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:42 memory:e2e00000-e2e1ffff memory:e2e80000-e2e80fff ioport:4080(size=32)
  *-network UNCLAIMED
       description: Network controller
       product: BCM4313 802.11bgn Wireless Network Adapter
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:e2d00000-e2d03fff

从硬盘启动时 lsmod:

Module                  Size  Used by
psmouse               106593  0 
ahci                   34062  2 
sdhci_pci              23301  0 
e1000e                230184  0 
libahci                32424  1 ahci
sdhci                  43448  1 sdhci_pci
ptp                    19445  1 e1000e
pps_core               19333  1 ptp

从 CD 启动时 lsmod:

Module                  Size  Used by
arc4                   12608  2 
brcmsmac              571212  0 
cordic                 12574  1 brcmsmac
brcmutil               15579  1 brcmsmac
b43                   400218  0 
mac80211              660592  2 b43,brcmsmac
intel_rapl             18783  0 
x86_pkg_temp_thermal    14205  0 
intel_powerclamp       18786  0 
dm_crypt               23172  0 
coretemp               13441  0 
kvm_intel             143514  0 
snd_hda_codec_hdmi     47547  1 
snd_hda_codec_idt      63632  1 
cfg80211              510218  3 b43,brcmsmac,mac80211
snd_hda_codec_generic    68914  1 snd_hda_codec_idt
kvm                   455570  1 kvm_intel
snd_hda_intel          30379  3 
snd_hda_controller     35152  1 snd_hda_intel
snd_hda_codec         139675  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              17698  1 snd_hda_codec
crct10dif_pclmul       14307  0 
snd_pcm               104102  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
dell_laptop            18227  0 
dell_wmi               12761  0 
crc32_pclmul           13133  0 
dcdbas                 14928  1 dell_laptop
ghash_clmulni_intel    13230  0 
ssb                    62366  1 b43
sparse_keymap          13948  1 dell_wmi
snd_seq_midi           13564  0 
snd_seq_midi_event     14899  1 snd_seq_midi
aesni_intel           152552  0 
joydev                 17344  0 
dm_multipath           22843  0 
snd_rawmidi            30876  1 snd_seq_midi
aes_x86_64             17131  1 aesni_intel
lrw                    13287  1 aesni_intel
gf128mul               14951  1 lrw
scsi_dh                14882  1 dm_multipath
glue_helper            13944  1 aesni_intel
bnep                   19543  2 
btusb                  32448  0 
serio_raw              13434  0 
snd_seq                67224  2 snd_seq_midi_event,snd_seq_midi
mei_me                 19742  0 
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
ablk_helper            13597  1 aesni_intel
bcma                   52443  3 b43,brcmsmac
lpc_ich                21093  0 
rfcomm                 69509  8 
cryptd                 20360  3 ghash_clmulni_intel,aesni_intel,ablk_helper
mei                    87931  1 mei_me
snd_timer              29513  2 snd_pcm,snd_seq
bluetooth             446190  22 bnep,btusb,rfcomm
snd                    87611  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
shpchp                 37040  0 
dell_smo8800           13154  0 
parport_pc             32741  0 
soundcore              15052  2 snd,snd_hda_codec
ppdev                  17671  0 
6lowpan_iphc           18702  1 bluetooth
mac_hid                13227  0 
lp                     17759  0 
parport                42299  3 lp,ppdev,parport_pc
squashfs               48362  1 
overlayfs              27917  1 
nls_utf8               12557  1 
isofs                  39837  1 
dm_mirror              22040  0 
dm_region_hash         20850  1 dm_mirror
dm_log                 18411  2 dm_region_hash,dm_mirror
i915                  917618  3 
i2c_algo_bit           13406  1 i915
drm_kms_helper         61627  1 i915
psmouse               106548  0 
sdhci_pci              23261  0 
ahci                   34062  1 
libahci                32424  1 ahci
e1000e                230184  0 
sdhci                  43448  1 sdhci_pci
drm                   310919  5 i915,drm_kms_helper
ptp                    19445  1 e1000e
pps_core               19333  1 ptp
wmi                    19193  1 dell_wmi
video                  20128  1 i915

无论是从 CD 启动还是从硬盘启动,以下输出都相同

lspci -nnk | grep 14e4

02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)

还有一点需要注意:当我用电缆将其直接连接到路由器时,它可以正常上网。

rfkill 列表全部无输出。

我按照说明清除了 bcmwl-kernel-source、更新并进行了新安装http://ubuntuforums.org/showthread.php?t=2214110。我在更新时确实看到了这一点:

DKMS: install completed.
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/3.16.0-30-generic/modules.dep.bin'
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-23-generic

谢谢,

鲍勃

答案1

您可能需要安装 linux-firmwaresudo apt-get install linux-firmware并可能删除几个模块,请查看帖子http://ubuntuforums.org/showthread.php?t=2214110请参阅特殊情况 #1 以了解更多详细信息

如果有效的话,谢谢 Chili555

答案2

我的笔记本电脑也出现了同样的问题,我为重新安装 ubuntu 而生气。我尝试了所有包含“WIFI”的解决方案。但过了很长时间,我偶然发现了一个页面,其中提到了apt-get update和之间的区别apt-get upgrade。所以我试了一下。瞧!重启后我的 Wifi 奇迹般地恢复了。所以对于像我这样安装了过时的 ubuntu 副本的新 Linux 用户来说,在继续其他解决方案之前,请先执行以下操作。

      sudo apt-get update
      sudo apt-get upgrade

希望这能有所帮助!希望我不会因为这么简单的答案而被否决。

相关内容