我使用无线连接访问互联网,但最近(自从升级到 ubuntu 9.10 karmic koala 以来)它开始变得非常麻烦。每隔一段时间(一天结束时数不清)连接就会断开,网络管理器不再检测到任何附近的无线网络(通常,我会检测到 6 个不同的网络)。实际上,有时它会看到网络,但无论如何都无法重新连接。重新启动系统可以解决问题...有线连接永远不会失败。即使我的无线连接失败,我仍然可以获得有效的有线连接。
你们当中有人知道是什么原因导致这个问题吗?或者我能做些什么来解决这个问题?
更新:
我查看了各种日志文件看看是否有什么能打动我,但我当然不明白那里发生的大部分事情......(抱歉,这部分相当长)
以下是我注意到的:
在/var/log/syslog:日志文件中充满了这些行(其中只有时间和日期发生变化)。显示的时间似乎与网页加载困难(需要很长时间,暂时失去连接)相符。
Dec 13 14:37:44 shawn-laptop NetworkManager: <info> (wlan0): supplicant connection state: completed -> disconnected
Dec 13 14:37:44 shawn-laptop NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
Dec 13 14:37:45 shawn-laptop NetworkManager: <info> (wlan0): supplicant connection state: scanning -> associating
Dec 13 14:37:45 shawn-laptop NetworkManager: <info> (wlan0): supplicant connection state: associating -> associated
Dec 13 14:37:45 shawn-laptop NetworkManager: <info> (wlan0): supplicant connection state: associated -> completed
在日志文件的其他地方,我看到了以下内容,这与我观察到的鼠标移动不规律以及 NetworkManager 图标变为“搜索”的情况一致。
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> (wlan0): device state change: 8 -> 3 (reason 11)
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> (wlan0): deactivating device (reason: 11).
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> (wlan0): canceled DHCP transaction, dhcp client pid 2196
Dec 13 14:46:50 shawn-laptop NetworkManager: <WARN> check_one_route(): (wlan0) error -34 returned from rtnl_route_del(): Sucess#012
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Activation (wlan0) starting connection 'Auto dlink'
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> (wlan0): device state change: 3 -> 4 (reason 0)
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> (wlan0): device state change: 4 -> 5 (reason 0)
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Activation (wlan0/wireless): connection 'Auto dlink' requires no security. No secrets needed.
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Config: added 'ssid' value 'dlink'
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Config: added 'scan_ssid' value '1'
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Config: added 'key_mgmt' value 'NONE'
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> (wlan0): supplicant connection state: scanning -> disconnected
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> Config: set interface ap_scan to 1
Dec 13 14:46:50 shawn-laptop NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
Dec 13 14:47:05 shawn-laptop NetworkManager: <info> wlan0: link timed out.
Dec 13 14:47:50 shawn-laptop NetworkManager: <info> Activation (wlan0/wireless): association took too long, failing activation.
Dec 13 14:47:50 shawn-laptop NetworkManager: <info> (wlan0): device state change: 5 -> 9 (reason 11)
Dec 13 14:47:50 shawn-laptop NetworkManager: <info> Activation (wlan0) failed for access point (dlink)
Dec 13 14:47:50 shawn-laptop NetworkManager: <info> Marking connection 'Auto dlink' invalid.
Dec 13 14:47:50 shawn-laptop NetworkManager: <info> Activation (wlan0) failed.
Dec 13 14:47:50 shawn-laptop NetworkManager: <info> (wlan0): device state change: 9 -> 3 (reason 0)
Dec 13 14:47:50 shawn-laptop NetworkManager: <info> (wlan0): deactivating device (reason: 0).
其中另一件似乎相关的事是一大堆(真的,很多)关于 ath9k 的台词
...
Dec 16 18:30:35 shawn-laptop kernel: [ 925.430675] ath9k: Failed to wakeup in 10000us
Dec 16 18:30:35 shawn-laptop kernel: [ 925.430680] ath9k: Unable to reset channel (2437 Mhz) reset status -5
Dec 16 18:30:35 shawn-laptop kernel: [ 925.430690] ath9k: Unable to set channel
Dec 16 18:30:40 shawn-laptop kernel: [ 930.262355] ath9k: Failed to wakeup in 10000us
...
像这样的东西
在另一个日志文件中:/var/log/消息 我可以看到这些线条,其时间与音频和鼠标延迟以及网络故障一致。
Dec 14 19:36:24 shawn-laptop kernel: [18022.982270] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] 20090521 evregion-424
Dec 14 19:36:24 shawn-laptop kernel: [18022.982271] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.AMW0.WMCA] (Node ffff880133e26720), AE_TIME
Dec 14 19:36:26 shawn-laptop kernel: [18025.120059] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] 20090521 evregion-424
Dec 14 19:36:26 shawn-laptop kernel: [18025.120085] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_.GBST] (Node ffff880133e327e0), AE_TIME
Dec 14 19:36:26 shawn-laptop kernel: [18025.120139] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_.BAT0._BST] (Node ffff880133e32920), AE_TIME
Dec 14 19:36:26 shawn-laptop kernel: [18025.120261] ACPI Exception: AE_TIME, Evaluating _BST 20090521 battery-385
Dec 14 19:36:28 shawn-laptop pulseaudio[1737]: ratelimit.c: 10 events suppressed
其他似乎相关的症状
当我断开无线连接时,整个系统似乎都慢了下来:音乐开始跳跃,鼠标移动开始变得不连贯。这种缓慢的状态似乎一直持续到我重新启动。当网络管理员尝试重新连接时,情况尤其糟糕(它总是失败,但它仍然会偶尔尝试……内心很勇敢)
我的网络信号强度有时似乎变化很大。
我最近安装了流明傳感器和传感器小程序监控 CPU 温度等,试图发现高温和连接失败之间存在关联。这样我就可以在电池和 NetworkManager 图标旁边看到四个显示温度的新图标。以下是每个图标的名称:temp1、temp2、CPU、CPU。它们的平均温度(据我所知):分别为 60 C、55 C、55 C、60 C。我不知道 temp1 和 temp2 是什么。无论如何,我一直定期收到以下消息:尝试更新位于 /proc/acpi/thermal_zone/TZSO/temperature 的传感器 CPU 的值时发生错误。有时它说传感器 CPU,有时它说传感器 temp1...
我的系统:
Acer aspire 5536-5519,
AMD Athlon 64 X 2 processor QL 64 (2.1 GHz),
ATI Radeon HD 3200 Graphics Up to 1919 MB HyperMemory,
15.6" HD LED LCD,
4 GB Memory,
320 GB HDD,
DVD Super Multi DL drive,
Ubuntu 9.10 karmic koala 64 bit version
--is there anything more you need to know?--
首先十分感谢。
答案1
您是否尝试过安装 WiCD 来代替 NetworkManager?即使 Karmic 上的 NtMan 比以前更好,我还是建议您尝试 WiCD,它被认为是一个不错的选择。
答案2
我怀疑存在内存损坏和/或 cpu/gpu/mb 发热问题。尝试
- 从实时发行版运行内存测试
- 检查温度和传感器
另外,尝试检查电源波动。使用电涌保护器或(更好的)UPS。如果可能,使用另一台可能未连接到电源的计算机(例如笔记本电脑)测试连接,以确保与连接无关。
答案3
除了 lorenzog 的出色建议外,还要检查附近是否有任何可能干扰信号的设备。常见的罪魁祸首是无绳电话。当我开始使用无线时,我花了很多时间排除故障,然后我意识到只有当有人打电话到家里时我的连接才会断开。当我最终将两者结合起来时,您可以期待解脱。