无线连接

无线连接

自从买了 Linksys E900 路由器后,Ubuntu 12.04 就无法连接了,同一台笔记本电脑(双启动)Windows 7 可以连接,同一台笔记本电脑,不同房子的 Ubuntu 可以连接。第一个路由器 Linksys E900 固件 10.0.03,第二个路由器 Linksys E1500 固件 10.0.0。无线网卡是 Broadcom,已安装驱动程序。我认为固件升级中存在一些需要在网络管理器软件中解决的问题。两个路由器的安全性都是 WPA2 Personal。请帮忙。

02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
wl                   2906597  0 
cfg80211              178877  1 wl
lib80211               14040  2 lib80211_crypt_tkip,wl
lo        no wireless extensions.

eth1      IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          
eth0      no wireless extensions.

我运行了命令并重新启动,但仍然没有连接,请参见下面的终端输出:

dmcd@dmcd-Presario-CQ62-Notebook-PC:~$ sudo modprobe -r wl 
[sudo] password for dmcd: 
dmcd@dmcd-Presario-CQ62-Notebook-PC:~$ sudo apt-get remove --purge bcmwl-kernel-source 
Reading package lists... Done 
Building dependency tree       
Reading state information... Done 
The following packages will be REMOVED: 
  bcmwl-kernel-source* 
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 
After this operation, 3,656 kB disk space will be freed. 
Do you want to continue [Y/n]? Y 
(Reading database ... 170284 files and directories currently installed.) 
Removing bcmwl-kernel-source ... 
Removing all DKMS Modules 
Done. 
update-initramfs: deferring update (trigger activated) 
Purging configuration files for bcmwl-kernel-source ... 
update-initramfs: deferring update (trigger activated) 
Processing triggers for initramfs-tools ... 
update-initramfs: Generating /boot/initrd.img-3.2.0-49-generic 
dmcd@dmcd-Presario-CQ62-Notebook-PC:~$ sudo modprobe brcsmac 
FATAL: Module brcsmac not found. 
dmcd@dmcd-Presario-CQ62-Notebook-PC:~$

编辑

现在我有一个错误的连接,请参见下面的终端输出:

nm-tool输出:

dmcd@dmcd-Presario-CQ62-Notebook-PC:~$ nm-tool

NetworkManager Tool

State: connected (global)

- Device: wlan0  [McCisco] -----------------------------------------------------
  Type:              802.11 WiFi
  Driver:            brcmsmac
  State:             connected
  Default:           no
  HW Address:        00:26:82:99:44:D3

  Capabilities:
    Speed:           1 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    Thomson5A1815:   Infra, 00:24:17:BC:E5:77, Freq 2462 MHz, Rate 54 Mb/s, Strength 75 WPA
    McKay:           Infra, 00:18:F8:3E:D5:B6, Freq 2437 MHz, Rate 54 Mb/s, Strength 45 WPA
    OWNER-PC_Network:Infra, 90:F6:52:C3:11:56, Freq 2412 MHz, Rate 54 Mb/s, Strength 39 WPA WPA2
    BELL586:         Infra, 2C:E4:12:90:59:79, Freq 2452 MHz, Rate 54 Mb/s, Strength 39 WPA WPA2
    belkinSP:        Infra, 00:17:3F:5A:5E:16, Freq 2462 MHz, Rate 54 Mb/s, Strength 39 WPA
    Bogdan:          Infra, 50:3D:E5:30:A5:50, Freq 2437 MHz, Rate 54 Mb/s, Strength 24 WPA2
    galacticempire:  Infra, 28:CF:DA:B7:6E:4F, Freq 2457 MHz, Rate 54 Mb/s, Strength 30 WPA2
    kalana:          Infra, 00:40:F4:E3:D3:12, Freq 2412 MHz, Rate 54 Mb/s, Strength 37 WEP
    cancun1:         Infra, 00:26:5A:C8:E9:7D, Freq 2437 MHz, Rate 54 Mb/s, Strength 30 WEP
    BELL768:         Infra, 00:26:50:9E:03:91, Freq 2462 MHz, Rate 54 Mb/s, Strength 24 WEP
    *McCisco:        Infra, C8:D7:19:CF:3F:7A, Freq 2462 MHz, Rate 54 Mb/s, Strength 58 WPA2
    Leano Wireless:  Infra, 34:EF:44:97:CB:C1, Freq 2437 MHz, Rate 54 Mb/s, Strength 19 WPA
    NETGEAR-3G:      Infra, C4:3D:C7:6A:FA:3C, Freq 2417 MHz, Rate 54 Mb/s, Strength 17 WPA2
    BELL513:         Infra, 3C:EA:4F:BC:AB:31, Freq 2437 MHz, Rate 54 Mb/s, Strength 24 WEP

  IPv6 Settings:
    Address:         fd11:cc97:526d:0:71e5:7a5d:3419:d561
    Prefix:          64
    Gateway:         ::

    Address:         fd11:cc97:526d:0:226:82ff:fe99:44d3
    Prefix:          64
    Gateway:         ::

    Address:         fe80::226:82ff:fe99:44d3
    Prefix:          64
    Gateway:         ::



- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        C8:0A:A9:C8:17:65

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         off

route -n输出:

dmcd@dmcd-Presario-CQ62-Notebook-PC:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

以下是尝试连接时和连接失败后 nm-tool 命令的输出:

dmcd@dmcd-Presario-CQ62-Notebook-PC:~$ nm-tool

NetworkManager Tool

State: connecting

- Device: wlan0  [McCisco] -----------------------------------------------------
  Type:              802.11 WiFi
  Driver:            brcmsmac
  State:             connecting (getting IP configuration)
  Default:           no
  HW Address:        00:26:82:99:44:D3

  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points 
    Thomson5A1815:   Infra, 00:24:17:BC:E5:77, Freq 2462 MHz, Rate 54 Mb/s, Strength 59 WPA
    McKay:           Infra, 00:18:F8:3E:D5:B6, Freq 2437 MHz, Rate 54 Mb/s, Strength 42 WPA
    OWNER-PC_Network:Infra, 90:F6:52:C3:11:56, Freq 2412 MHz, Rate 54 Mb/s, Strength 39 WPA WPA2
    belkinSP:        Infra, 00:17:3F:5A:5E:16, Freq 2462 MHz, Rate 54 Mb/s, Strength 39 WPA
    BELL586:         Infra, 2C:E4:12:90:59:79, Freq 2452 MHz, Rate 54 Mb/s, Strength 37 WPA WPA2
    galacticempire:  Infra, 28:CF:DA:B7:6E:4F, Freq 2457 MHz, Rate 54 Mb/s, Strength 30 WPA2
    kalana:          Infra, 00:40:F4:E3:D3:12, Freq 2412 MHz, Rate 54 Mb/s, Strength 40 WEP
    cancun1:         Infra, 00:26:5A:C8:E9:7D, Freq 2437 MHz, Rate 54 Mb/s, Strength 30 WEP
    BELL768:         Infra, 00:26:50:9E:03:91, Freq 2462 MHz, Rate 54 Mb/s, Strength 22 WEP
    NETGEAR-3G:      Infra, C4:3D:C7:6A:FA:3C, Freq 2417 MHz, Rate 54 Mb/s, Strength 27 WPA2
    McCisco:         Infra, C8:D7:19:CF:3F:7A, Freq 2462 MHz, Rate 54 Mb/s, Strength 64 WPA2


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        C8:0A:A9:C8:17:65

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         off


dmcd@dmcd-Presario-CQ62-Notebook-PC:~$ nm-tool

NetworkManager Tool

State: disconnected

- Device: wlan0 ----------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            brcmsmac
  State:             disconnected
  Default:           no
  HW Address:        00:26:82:99:44:D3

  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points 
    Thomson5A1815:   Infra, 00:24:17:BC:E5:77, Freq 2462 MHz, Rate 54 Mb/s, Strength 59 WPA
    McKay:           Infra, 00:18:F8:3E:D5:B6, Freq 2437 MHz, Rate 54 Mb/s, Strength 42 WPA
    OWNER-PC_Network:Infra, 90:F6:52:C3:11:56, Freq 2412 MHz, Rate 54 Mb/s, Strength 39 WPA WPA2
    belkinSP:        Infra, 00:17:3F:5A:5E:16, Freq 2462 MHz, Rate 54 Mb/s, Strength 39 WPA
    BELL586:         Infra, 2C:E4:12:90:59:79, Freq 2452 MHz, Rate 54 Mb/s, Strength 37 WPA WPA2
    galacticempire:  Infra, 28:CF:DA:B7:6E:4F, Freq 2457 MHz, Rate 54 Mb/s, Strength 30 WPA2
    kalana:          Infra, 00:40:F4:E3:D3:12, Freq 2412 MHz, Rate 54 Mb/s, Strength 40 WEP
    cancun1:         Infra, 00:26:5A:C8:E9:7D, Freq 2437 MHz, Rate 54 Mb/s, Strength 30 WEP
    BELL768:         Infra, 00:26:50:9E:03:91, Freq 2462 MHz, Rate 54 Mb/s, Strength 24 WEP
    NETGEAR-3G:      Infra, C4:3D:C7:6A:FA:3C, Freq 2417 MHz, Rate 54 Mb/s, Strength 27 WPA2
    McCisco:         Infra, C8:D7:19:CF:3F:7A, Freq 2462 MHz, Rate 54 Mb/s, Strength 64 WPA2


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        C8:0A:A9:C8:17:65

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         off

答案1

我相信司机对于您的设备 14e4:4727 来说不正确。请打开终端并执行:

sudo modprobe -r wl
sudo apt-get remove --purge bcmwl-kernel-source
sudo modprobe brcmsmac

您的无线网络现在应该可以正常工作了;但是可能需要重新启动。

相关内容