[语境]
我正在我的新电脑上安装 Debian:uname -a
是Linux myname 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux
。
我正在尝试使用我的 wifi,lspci
结果显示02:00.0 Network controller: Intel Corporation Centrino Wireless-N 135 (rev c4)
。非免费软件包iwlwifi
已安装并iwlwifi-135-6.ucode
位于/lib/firmware
。我的版本是 18.168.6.1,因为http://wireless.kernel.org/en/users/Drivers/iwlwifi
网络管理器设法查看网络几秒钟,尝试连接,然后断开连接,然后尝试再次连接......以下是摘要dmesg
:
[ 244.217533] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 245.222313] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 246.226945] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 247.231622] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 248.236492] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 249.240733] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 250.245314] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 251.249968] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 252.254369] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[尝试]
如果我输入sudo modprobe -r iwlwifi ;sudo modprobe -a iwlwifi
,我会得到(在 dmesg 中):
...
[ 1613.133381] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1613.764081] wlan0: authenticate with 42:42:42:42:42:42 (try 1) //it's not 42:42:42:42:42:42...
[ 1613.766123] wlan0: authenticated
[ 1613.768241] wlan0: associate with 42:42:42:42:42:42 (try 1)
[ 1613.777522] wlan0: RX ReassocResp from 42:42:42:42:42:42 (capab=0x411 status=0 aid=2)
[ 1613.777532] wlan0: associated
[ 1613.784776] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1613.909236] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 1614.913201] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 1615.917653] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 1615.917758] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917765] iwlwifi 0000:02:00.0: Error sending REPLY_RXON_ASSOC: enqueue_hcmd failed: -5
[ 1615.917775] iwlwifi 0000:02:00.0: Error setting RXON_ASSOC (-5)
[ 1615.917908] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917916] iwlwifi 0000:02:00.0: Error sending REPLY_QOS_PARAM: enqueue_hcmd failed: -5
[ 1615.917923] iwlwifi 0000:02:00.0: Failed to update QoS
[ 1615.917932] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917937] iwlwifi 0000:02:00.0: Error sending REPLY_RXON: enqueue_hcmd failed: -5
[ 1615.917943] iwlwifi 0000:02:00.0: Error clearing ASSOC_MSK on BSS (-5)
[ 1615.917958] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917964] iwlwifi 0000:02:00.0: Error sending REPLY_RXON: enqueue_hcmd failed: -5
[ 1615.917971] iwlwifi 0000:02:00.0: Error clearing ASSOC_MSK on BSS (-5)
[ 1615.917980] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[ 1615.917987] iwlwifi 0000:02:00.0: Error sending REPLY_RXON: enqueue_hcmd failed: -5
[ 1615.917994] iwlwifi 0000:02:00.0: Error clearing ASSOC_MSK on BSS (-5)
[ 1615.918003] wlan0: deauthenticating from 42:42:42:42:42:42 by local choice (reason=3)
[ 1615.927619] iwlwifi 0000:02:00.0: Attempting to modify non-existing station 0
[ 1615.927645] iwlwifi 0000:02:00.0: iwl_send_add_sta - error in the CMD response -5
[ 1615.927656] ieee80211 phy0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
[ 1615.947571] iwlwifi 0000:02:00.0: Attempting to modify non-existing station 0
[ 1615.947584] iwlwifi 0000:02:00.0: iwl_send_add_sta - error in the CMD response -5
[ 1615.947589] ieee80211 phy0: failed to remove key (0, 42:42:42:42:42:42) from hardware (-5)
[ 1615.947653] iwlwifi 0000:02:00.0: REPLY_REMOVE_STA failed
[ 1615.947656] iwlwifi 0000:02:00.0: Error removing station 42:42:42:42:42:42
[ 1615.964802] cfg80211: Calling CRDA to update world regulatory domain
[ 1616.001528] cfg80211: World regulatory domain updated:
[ 1616.001537] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1616.001545] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1616.001552] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1616.001557] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1616.001563] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1616.001569] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1616.002254] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
[ 1616.009919] iwlwifi 0000:02:00.0: Radio type=0x0-0x0-0x0
[ 1616.153051] ADDRCONF(NETDEV_UP): wlan0: link is not ready
...(repeating many times)
由于问题似乎来自 rfkill,我尝试了类似 的方法sudo rfkill unblock all
。但是,每当我输入 时sudo rfkill list all
,我都会得到:
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
看来硬件交换机没有问题...我还监控了 rfkill() 事件sudo rfkill event
,得到了以下结果:
1400772407.995946: idx 3 type 1 op 2 soft 0 hard 0
1400772410.003509: idx 3 type 1 op 2 soft 0 hard 1
1400772410.004361: idx 3 type 1 op 2 soft 0 hard 0
1400772412.012073: idx 3 type 1 op 2 soft 0 hard 1
1400772412.013314: idx 3 type 1 op 2 soft 0 hard 0
仅当尝试连接时才会切换 rfkill。
这可能是与飞行模式有关的问题,但我电脑上的灯不亮。我试图按 fn+f11 来打开它,但灯一直没有亮...我看不到任何与电脑上的 wifi 相关的机械开关或 fn+...。遇到与飞行模式相关的问题的人似乎通过启动 ubuntu 10.10 来解决这个问题...安装 debian squeeze 或 Ubuntu 能解决这个问题吗?
[问题]
以下是我的问题:
这看起来像是硬件问题吗?火焰喷射器是解决这个问题的正确工具吗?
我如何找到不时阻止 rfkill 的原因?固件可能是导致此问题的根源吗?
你会尝试什么?我可以尝试什么?
任何意见将是有益的 !
答案1
我正在回答我自己的问题,因为其他人可能有同样的麻烦,并且我有一个解决方案可以建议...它对我有用,所以......
我没有完全理解我的问题,但最后,我下载了 ubuntu 14.04 LTS,http://www.ubuntu.com/download/desktop我将图像复制到了 USB 棒上。
我在 USB 上启动。系统提示我选择试用版还是安装版。我选择了试用版。在试用版中,我设法在不到 3 分钟的时间内连接了我的 wifi...我关闭了 ubuntu 并重新启动了 debian。问题解决了!
我正在通过无线连接写这篇文章。我想我会在身边放两个 USB 插槽:一个用于强大的 Debian,另一个用于出色的 ubuntu!