问题

问题

我刚刚在笔记本电脑上安装了 Ubuntu 12.10。我无法连接到我的D-Link N150 无线路由器当我有 Windows XP 时我就能做到这一点。

问题

每次我登录我的 Ubuntu 时,都会弹出一个窗口,提示:

“无线网络需要身份验证”。

当我输入密码时,无线图标会闪烁一秒钟,然后窗口再次弹出。我谷歌了一下,并按照所有步骤来查找我的操作系统出了什么问题。但我什么也没找到。

请帮我解决这个问题。

我做了什么

  1. 我的无线适配器是否被识别?

    是的。下面的日志说明了这一点。

    sudo lshw -c network
    *-network
      description: Wireless interface
      product: PRO/Wireless 3945ABG [Golan] Network Connection
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:03:00.0
      logical name: wlan0
      version: 02
      serial: 00:1b:77:8e:46:61
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=iwl3945 driver version=3.5.0-17-generic firmware=15.32.2.9 latency=0 link=no multicast=yes wireless=IEEE 802.11abg
      resources: irq:44 memory:edf00000-edf00fff
    
  2. 我的无线设备驱动程序是否安装好了?

    我猜司机英特尔 PRO/Wireless 3945ABG [Golan]已预装在此 Ubuntu 版本中。上面的日志driver=iwl3945 driver version=3.5.0-17-generic firmware=15.32.2.9表明驱动程序已安装。但我不确定我的无线适配器 3945ABG 是否支持版本 3.5.0-17。

  3. 我尝试了这个命令rfkill list来查看无线是否被阻止?

    Soft blocked :no
    hard blocked  :no
    
  4. 在我的网络连接管理器中我有以下设置:

    • SSID:********
    • 模式:基础设施
    • IPv4 设置 - 方法:仅自动 (DHCP) 地址
    • IPv6 设置 - 我已将其设置为忽略
    • 无线安全:WPA 和 WPA2 个人版。

更多信息

  • 我已经从 USB 驱动器安装了 Ubuntu 12.10,在安装过程中我可以连接到无线网络。
  • 软件源中心的“附加驱动程序”选项卡是空的。我不知道为什么它是空的(如果我需要安装任何额外的驱动程序来解决我的这个无线问题)。
  • 我花了三天时间在谷歌上搜索如何修复此问题。我仍然希望在您的帮助下能够修复此问题。

来自 var/log/syslog 的日志

12 wpa_supplicant[784]: wlan0: SME: Trying to authenticate with cc:b2:55:de:c6:b3 (SSID='BalaSourav' freq=2462 MHz)
12 kernel: [  192.089495] wlan0: authenticate with cc:b2:55:de:c6:b3
12 kernel: [  192.090744] wlan0: send auth to cc:b2:55:de:c6:b3 (try 1/3)
12 wpa_supplicant[784]: wlan0: Trying to associate with cc:b2:55:de:c6:b3 (SSID='BalaSourav' freq=2462 MHz)
12 NetworkManager[721]: <info> (wlan0): supplicant interface state: scanning -> associating
12 kernel: [  192.092577] wlan0: authenticated
12 kernel: [  192.096043] wlan0: associate with cc:b2:55:de:c6:b3 (try 1/3)
12 kernel: [  192.098785] wlan0: RX AssocResp from cc:b2:55:de:c6:b3 (capab=0x411 status=0 aid=2)
12 wpa_supplicant[784]: wlan0: Associated with cc:b2:55:de:c6:b3
12 kernel: [  192.100161] wlan0: associated
12 NetworkManager[721]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
14 kernel: [  194.003603] wlan0: deauthenticating from cc:b2:55:de:c6:b3 by local choice (reason=3)
14 NetworkManager[721]: <warn> Activation (wlan0/wireless): association took too long.
14 NetworkManager[721]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
14 NetworkManager[721]: <warn> Activation (wlan0/wireless): asking for new secrets
14 wpa_supplicant[784]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
14 NetworkManager[721]: <info> (wlan0): supplicant interface state: 4-way handshake -> disconnected
14 NetworkManager[721]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
14 kernel: [  194.034050] cfg80211: All devices are disconnected, going to restore regulatory settings
14 kernel: [  194.034061] cfg80211: Restoring regulatory settings
14 kernel: [  194.034068] cfg80211: Calling CRDA to update world regulatory domain
14 kernel: [  194.041065] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
14 kernel: [  194.041071] cfg80211: World regulatory domain updated:
14 kernel: [  194.041074] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
14 kernel: [  194.041077] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
14 kernel: [  194.041080] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
14 kernel: [  194.041083] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
14 kernel: [  194.041086] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
14 kernel: [  194.041089] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
23 NetworkManager[721]: get_secret_flags: assertion `is_secret_prop (setting, secret_name, error)' failed
23 NetworkManager[721]: get_secret_flags: assertion `is_secret_prop (setting, secret_name, error)' failed
24 NetworkManager[721]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
24 NetworkManager[721]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
24 NetworkManager[721]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
24 NetworkManager[721]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
24 NetworkManager[721]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
24 NetworkManager[721]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
24 NetworkManager[721]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
24 NetworkManager[721]: <info> Activation (wlan0/wireless): connection 'BalaSourav' has security, and secrets exist.  No new secrets needed.
24 NetworkManager[721]: <info> Config: added 'ssid' value 'BalaSourav'
24 NetworkManager[721]: <info> Config: added 'scan_ssid' value '1'
24 NetworkManager[721]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
24 NetworkManager[721]: <info> Config: added 'psk' value '<omitted>'
24 NetworkManager[721]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
24 NetworkManager[721]: <info> Config: set interface ap_scan to 1

(数字是时间戳中的秒数)

相关内容