我的 wifi 一直运行良好,直到昨晚 21:30。从日志来看,它似乎每分钟循环连接/断开多次,然后今天早上它甚至似乎没有尝试连接。
这个循环kern.log
看起来是这样的:
[38374.378692] userif-2: sent link down event.
[38374.378704] userif-2: sent link up event.<7>[38374.681807] bridge-wlan0:
disabling the bridge on dev down
[38374.681841] bridge-wlan0: down
[38374.681855] bridge-wlan0: detached
[38374.689787] cfg80211: Calling CRDA to update world regulatory domain
[38374.881435] userif-2: sent link down event.
[38374.881444] userif-2: sent link up event.<6>[38375.530786] wlan0: authenticate
with e0:a1:d7:d6:c3:b4
[38375.531764] wlan0: send auth to e0:a1:d7:d6:c3:b4 (try 1/3)
[38375.533650] wlan0: authenticated
[38375.536171] wlan0: associate with e0:a1:d7:d6:c3:b4 (try 1/3)
[38375.542840] wlan0: RX AssocResp from e0:a1:d7:d6:c3:b4 (capab=0x11 status=0
aid=1)
[38375.543974] wlan0: associated
[38375.595428] /dev/vmnet: open called by PID 1518 (vmnet-bridge)
[38375.595454] /dev/vmnet: hub 0 does not exist, allocating memory.
[38375.595488] /dev/vmnet: port on hub 0 successfully opened
[38375.595508] bridge-wlan0: device is wireless, enabling SMAC
[38375.595513] bridge-wlan0: up
[38375.595553] bridge-wlan0: attached
以及syslog
:
CTRL-EVENT-DISCONNECTED bssid=e0:a1:d7:d6:c3:b4 reason=4
今天早上,启动时似乎该iwlwifi
模块现在不再加载,但添加它modprobe iwlwifi
似乎没有帮助。
lshw -C network
显示无线
*-network UNCLAIMED
description: Network controller
product: Wireless 7260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: 73
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f0600000-f0601fff
和iwconfig
:
eth0 no wireless extensions.
lo no wireless extensions.
答案1
好的,我想我已经修复了这个问题,并且知道哪里出了问题。尽管它没有解释之前发生的连接/重新连接循环。
从/var/log/apt/history.log
:
Start-Date: 2014-01-04 00:28:01
Install: linux-headers-3.8.0-35:amd64 (3.8.0-35.50~precise1, automatic), linux-
image-3.8.0-35-generic:amd64 (3.8.0-35.50~precise1), linux-signed-image-
3.8.0-35-generic:amd64 (3.8.0-35.50~precise1), linux-headers-3.8.0-35-
generic:amd64 (3.8.0-35.50~precise1, automatic)
Upgrade: linux-image-generic-lts-raring:amd64 (3.8.0.34.34, 3.8.0.35.35),
linux-headers-generic-lts-raring:amd64 (3.8.0.34.34, 3.8.0.35.35), linux-
signed-generic-lts-raring:amd64 (3.8.0.34.34, 3.8.0.35.35), linux-signed-image-
generic-lts-raring:amd64 (3.8.0.34.34, 3.8.0.35.35), linux-libc-dev:amd64
(3.2.0-57.87, 3.2.0-58.88), linux-generic-lts-raring:amd64 (3.8.0.34.34,
3.8.0.35.35)
End-Date: 2014-01-04 00:29:16
看起来昨晚深夜内核已自动更新(因为我的系统上将安全更新设置为自动),问题就是从这里开始的。
为了让我的 Intel 7260 卡在Ubuntu 12.04.3 LTS
raring 内核下工作,我必须按照以下详细说明更新固件这里并将iwlwifi
驱动程序移植到 3.11 内核的固件中,详情如下这里。因此,我相信更新的内核没有反向移植,因此 wifi 死机了,因此为了恢复,我只需将 3.11 反向移植到新内核即可:
0) 下载 7260 的最新固件(如果你还没有的话)这里,并记下支持它所需的内核。然后在终端中执行:
cp iwlwifi-*.ucode /lib/firmware
1)从以下网址下载反向移植这里到桌面然后提取。
2)打开终端并执行(有关反向移植的更多详细信息这里)
cd Desktop/backports-3.11-rc3-1/
make defconfig-iwlwifi
make
sudo make install
最后重启。