Ubuntu 12.04 和 Ideapad N581 (Broadcom) 的问题

Ubuntu 12.04 和 Ideapad N581 (Broadcom) 的问题

我在联想 Ideapad N581 上安装了 Ubuntu 12.04,但无法让 wifi 可靠地工作。我知道这是 Broadcom 驱动程序的问题,但我仍然无法真正解决它,我尝试了其他论坛上提到的几种方法,但都不起作用(对 Linux 来说相当新)。

奇怪的是,如果我取出电池几分钟,wifi 就能正常工作,直到计算机关闭。

以下是 sudo iwconfig 的结果:

eth1      IEEE 802.11abg  ESSID:"Pingu"  
      Mode:Managed  Frequency:2.462 GHz  Access Point: F8:1A:67:CB:10:8E   
      Bit Rate=72 Mb/s   Tx-Power=200 dBm   
      Retry  long limit:7   RTS thr:off   Fragment thr:off
      Encryption key:off
      Power Management:on
      Link Quality=70/70  Signal level=-36 dBm  
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth2      no wireless extensions.

lo        no wireless extensions.

sudo lsmod:

Module                  Size  Used by
snd_hda_codec_hdmi     32476  1 
snd_hda_codec_conexant    62363  1 
joydev                 17694  0 
rfcomm                 47562  12 
parport_pc             32867  0 
bnep                   18240  2 
ppdev                  17114  0 
coretemp               13642  0 
ghash_clmulni_intel    13221  0 
cryptd                 20531  1 ghash_clmulni_intel
rts5139               350620  0 
lib80211_crypt_tkip    17391  0 
uvcvideo               78117  0 
videobuf2_core         33025  1 uvcvideo
btusb                  22432  0 
wl                   3074942  0 
microcode              23030  0 
bluetooth             211860  24 rfcomm,bnep,btusb
videodev              125126  2 uvcvideo,videobuf2_core
videobuf2_vmalloc      12861  1 uvcvideo
videobuf2_memops       13405  1 videobuf2_vmalloc
snd_hda_intel          34063  3 
snd_hda_codec         135141  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
alx                    73500  0 
snd_hwdep              17765  1 snd_hda_codec
mdio                   13808  1 alx
snd_pcm                97523  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi           13325  0 
snd_rawmidi            30750  1 snd_seq_midi
snd_seq_midi_event     14900  1 snd_seq_midi
snd_seq                61931  2 snd_seq_midi,snd_seq_midi_event
snd_timer              29990  2 snd_pcm,snd_seq
snd_seq_device         14498  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    83674  16 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse               102541  0 
serio_raw              13216  0 
cfg80211              208382  1 wl
lpc_ich                17145  0 
lib80211               14382  2 lib80211_crypt_tkip,wl
i915                  535221  3 
mei                    41410  0 
soundcore              15092  1 snd
snd_page_alloc         18573  2 snd_hda_intel,snd_pcm
drm_kms_helper         49259  1 i915
drm                   290595  4 i915,drm_kms_helper
i2c_algo_bit           13565  1 i915
ideapad_laptop         18235  0 
sparse_keymap          13891  1 ideapad_laptop
video                  19653  1 i915
mac_hid                13254  0 
lp                     17800  0 
parport                46563  3 parport_pc,ppdev,lp
ahci                   25869  2 
libahci                27338  1 ahci

和 lspci -nnk | grep -iA2 净

01:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8161 Gigabit Ethernet [1969:1091] (rev 10)
    Subsystem: Lenovo Device [17aa:3979]
    Kernel driver in use: alx
--
02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
    Subsystem: Broadcom Corporation Device [14e4:0587]
    Kernel driver in use: wl

更新

我删除并清除了驱动程序sudo apt-get remove --purge bcmwl-kernel-source,关闭笔记本电脑并取出电池。启动时,不会加载任何无线驱动程序。韓國驱动程序可以加载sudo modprobe brcmsmac。国家代码加载sudo iw reg set DE

lspci -nnk | grep -iA2 net返回:

    02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
    Subsystem: Broadcom Corporation Device [14e4:0587]
    Kernel driver in use: bcma-pci-bridge

目前,没有检测到任何网络,但经过这些操作后,我能够连接到网络(信号较弱)。几分钟后,连接断开,无法再次连接。

13.04

我从装有 13.04 的实时 USB 启动。检测到网络(但信号较弱),lspci返回:

02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
    Subsystem: Broadcom Corporation Device [14e4:0587]
    Kernel driver in use: bcma-pci-bridge

scan返回:

wlan0     Scan completed :
          Cell 01 - Address: F8:1A:67:CB:10:8E
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=45/70  Signal level=-65 dBm  
                    Encryption key:off
                    ESSID:"Pingu"
                Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                          9 Mb/s; 12 Mb/s; 18 Mb/s
                Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                Mode:Master
                Extra:tsf=0000000000f50a54
                Extra: Last beacon: 88ms ago
                IE: Unknown: 000550696E6775
                IE: Unknown: 010882848B960C121824
                IE: Unknown: 030101
                IE: Unknown: 2A0100
                IE: Unknown: 32043048606C
                IE: Unknown: 2D1AEF1103FFFF0000000000000000000000000000000406E6E70D00
                IE: Unknown: 331AEF1103FFFF0000000000000000000000000000000406E6E70D00
                IE: Unknown: 3D16010D0000000000000000000000000000000000000000
                IE: Unknown: 3416010D0000000000000000000000000000000000000000
                IE: Unknown: DD180050F2020101870003A4000027A4000042435E0062322F00
                IE: Unknown: DD0900037F01010000FF7F
                IE: Unknown: DD9E0050F204104A00011010440001011057000101103B0001031047001000000000000010000000F81A67CB108E1021000754502D4C494E4B10230009544C2D57523834314E10240003382E3010420003312E301054000800060050F204000110110019576972656C65737320526F7574657220544C2D57523834314E100800020086103C000101104900140024E26002000101600000020001600100020001

但是,无论有没有 WPA2,我都无法连接到网络。然后我安装linux-firmware-nonfree,删除驱动程序brcmsmac,然后bcma,重新加载brcmsmac。无线设备现在wlan1而不是wlan0,它成功扫描但无法连接(或者当它连接时,它会立即断开连接)。Wifi 信号仍然很弱。iwconfig在成功连接的 5 秒左右返回:

wlan2     IEEE 802.11bgn  ESSID:"Pingu"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: F8:1A:67:CB:10:8E   
          Bit Rate=1 Mb/s   Tx-Power=19 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=42/70  Signal level=-68 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:4  Invalid misc:0   Missed beacon:0

这适用于 WPA2 和不安全的网络。

12.04 直播

当从 Live USB 启动 12.04 时,当专有 SLA驱动程序已加载。lspci返回:02:00.0 网络控制器 [0280]:Broadcom Corporation BCM4313 802.11b/g/n 无线局域网

Controller [14e4:4727] (rev 01)
    Subsystem: Broadcom Corporation Device [14e4:0587]
    Kernel driver in use: wl
    Kernel modules: wl, bcma

我应该重新安装 12.04 吗?

向后移植 3.11

根据以下说明安装 backports 3.11 后无法连接到 WiFi Broadcom Corporation BCM4313 802.11b/g/n 无线局域网控制器 (rev 01),信号仍然非常低,我无法连接到任何网络,因为我无法可靠地检测到任何网络。 iwconfig

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

lspci -nnk

Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma

sudo modprobe wl

FATAL: Module wl not found.
FATAL: Error running install command for wl

安装后bcmwl-kernel-source_5.100.82,我可以检测到网络但无法加入 iwconfig::

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

lspci-nnk

Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma

sudo modprobe wl

FATAL: Module wl not found.
FATAL: Error running install command for wl

答案1

我相信专有的 STA 驱动程序对于您的设备 14e4:4727 来说不正确。请打开终端并执行:

sudo apt-get remove --purge bcmwl-kernel-source

重启。回复并告诉我们无线网络是否工作得更好。

如果信号强度仍然低,请尝试早期的 bcmwl-kernel-source,如下所述:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1110139/comments/42

wget http://us.archive.ubuntu.com/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_5.100.82.112+bdcom-0ubuntu3_amd64.deb

或者如果你的系统是 32 位的:

wget http://us.archive.ubuntu.com/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_5.100.82.112+bdcom-0ubuntu3_i386.deb

确认 32 位或 64 位:

arch

然后做:

sudo dpkg -i bcmwl*.deb

重新启动并向我们提供您的报告。

相关内容