我正在使用带有Edimax EW-7711UTn USB WiFi适配器的B型256MB Pi。几个小时后,WiFi连接开始断开并重新启动。直到完全停止工作。这是我在/ var / log / messages中看到的内容:
Mar 9 20:39:29 raspberrypi kernel: [ 9353.773167] cfg80211: Calling CRDA to update world regulatory domain
Mar 9 20:39:29 raspberrypi wpa_action: WPA_IFACE=wlan0 WPA_ACTION=DISCONNECTED
Mar 9 20:39:29 raspberrypi wpa_action: WPA_ID=0 WPA_ID_STR= WPA_CTRL_DIR=/var/run/wpa_supplicant
Mar 9 20:39:29 raspberrypi wpa_action: ifdown wlan0
Mar 9 20:39:30 raspberrypi wpa_action: removing sendsigs omission pidfile: /run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid
Mar 9 20:39:33 raspberrypi kernel: [ 9357.478605] wlan0: authenticate with 30:46:9a:54:6f:3d
Mar 9 20:39:33 raspberrypi kernel: [ 9357.624628] wlan0: send auth to xxx (try 1/3)
Mar 9 20:39:33 raspberrypi kernel: [ 9357.626510] wlan0: authenticated
Mar 9 20:39:33 raspberrypi kernel: [ 9357.703189] wlan0: associate with xxx (try 1/3)
Mar 9 20:39:33 raspberrypi kernel: [ 9357.707045] wlan0: RX AssocResp from 30:46:9a:54:6f:3d (capab=0x411 status=0 aid=2)
Mar 9 20:39:33 raspberrypi kernel: [ 9357.722534] wlan0: associated
Mar 9 20:39:33 raspberrypi wpa_action: WPA_IFACE=wlan0 WPA_ACTION=CONNECTED
Mar 9 20:39:33 raspberrypi wpa_action: WPA_ID=0 WPA_ID_STR= WPA_CTRL_DIR=/var/run/wpa_supplicant
Mar 9 20:39:33 raspberrypi wpa_action: ifup wlan0=default
Mar 9 20:39:40 raspberrypi wpa_action: creating sendsigs omission pidfile: /run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid
Mar 9 20:39:40 raspberrypi wpa_action: bssid=xxx
Mar 9 20:39:40 raspberrypi wpa_action: ssid=xxx
Mar 9 20:39:40 raspberrypi wpa_action: id=0
Mar 9 20:39:40 raspberrypi wpa_action: mode=station
Mar 9 20:39:40 raspberrypi wpa_action: pairwise_cipher=CCMP
Mar 9 20:39:40 raspberrypi wpa_action: group_cipher=CCMP
Mar 9 20:39:40 raspberrypi wpa_action: key_mgmt=WPA2-PSK
Mar 9 20:39:40 raspberrypi wpa_action: wpa_state=COMPLETED
Mar 9 20:39:40 raspberrypi wpa_action: ip_address=xxx
Mar 9 20:39:40 raspberrypi wpa_action: address=xxx
dmesg有时会告诉我:
[20014.112395] wlan0: deauthenticating from xxx by local choice (reason=3)
运行的wpa进程是:
1872 ? Ss 0:00 /sbin/wpa_supplicant -s -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -W -D nl80211,wext -c /etc/wpa_supplicant/wpa_supplicant.conf
2010 ? Ss 0:00 /sbin/wpa_cli -B -P /var/run/wpa_action.wlan0.pid -i wlan0 -p /var/run/wpa_supplicant -a /sbin/wpa_action
还有其他人有这些问题吗,我该如何解决?
由于许多人似乎都遇到了电源不足的问题:我的RasPi使用1.2A 5V电源供电,并连接了3.8A 5V电源USB集线器。现在,我从有源集线器上拆下了所有其他设备,并将Edimax连接到它,也许这会有所帮助。
更新:不,这次只用了几分钟,WiFi就变得无响应。
更新2:我仍然有问题,现在我注意到可以使用ifdown和ifup重新启动连接,但是我越来越收到以下消息:
Mar 22 19:11:59 raspberrypi kernel: [215435.967714] cfg80211: Calling CRDA to update world regulatory domain
Mar 22 19:12:01 raspberrypi kernel: [215437.948971] wlan0: authenticate with XXXXXX
Mar 22 19:12:02 raspberrypi kernel: [215438.087245] wlan0: send auth to XXXXXX (try 1/3)
Mar 22 19:12:02 raspberrypi kernel: [215438.089006] wlan0: authenticated
Mar 22 19:12:02 raspberrypi kernel: [215438.165765] wlan0: associate with XXXXXX (try 1/3)
Mar 22 19:12:02 raspberrypi kernel: [215438.169604] wlan0: RX AssocResp from XXXXXX (capab=0x411 status=0 aid=1)
Mar 22 19:12:02 raspberrypi kernel: [215438.185759] wlan0: associated
这种情况发生的时间越来越短,直到我重新启动。再过一两天就可以了。那么这是怎么回事?
更新:好的,我刚刚将Pi连接到显示器上,并开始通过WiFi复制文件。大约15分钟后,Pi僵住了。我有一个运行htop和tail -f / var / log / messages的输出的tmux。没有可见的内核恐慌,也没有/ var / log / messages中的任何内容。机器被冻结。
/etc/network/interfaces
为与此处列出的相似的文件:elinux.org/RPi_edimax_EW-7811Un,现在它似乎运行良好。已经工作了几个小时,仍然可以正常工作,无需重新连接。