hp stream 11 wifi 在重启后可以工作,但在睡眠后断开连接并且不会重新连接

hp stream 11 wifi 在重启后可以工作,但在睡眠后断开连接并且不会重新连接

我有一个新的 HP Stream 11,带有 rtl8723be 驱动程序(带天线选择的 lwfinger 版本),并安装了 Linux Mint 17.3(ubuntu 14.04)来代替 win10。

重启后 Wifi 可以正常工作,而且在我使用时工作正常。如果它进入睡眠状态(或休眠状态),无论我做什么,wifi 都不会重新连接(我已经尝试过nmcli nm wifi offmodprobe -rv rtl8723be cfg80211& modprobe -v rtl8723be cfg80211/etc/init.d/networking restart& nmcli nm wifi on)。

$ cat /etc/modprobe.d/rtl8723be.conf 
options rtl8723be ant_sel=2 msi=1 swenc=0 fwlps=0 swlps=0 ips=0

相关日志:

Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Auto-activating connection 'xxxxxx_Wireless'.
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) starting connection 'xxxxxx_Wireless'
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> NetworkManager state is now CONNECTING
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0/wireless): access point 'xxxxxx_Wireless' has security, but secrets are required.
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0/wireless): connection 'xxxxxx_Wireless' has security, and secrets exist.  No new secrets needed.
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Config: added 'ssid' value 'xxxxxx_Wireless'
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Config: added 'scan_ssid' value '1'
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Config: added 'psk' value '<omitted>'
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> Config: set interface ap_scan to 1
    Jun 16 19:24:34 xxxxxx NetworkManager[9759]: <info> (wlan0): supplicant interface state: disconnected -> scanning
    Jun 16 19:24:59 xxxxxx NetworkManager[9759]: <warn> Activation (wlan0/wireless): association took too long, failing activation.
    Jun 16 19:24:59 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: config -> failed (reason 'SSID not found') [50 120 53]
    Jun 16 19:24:59 xxxxxx NetworkManager[9759]: <info> NetworkManager state is now DISCONNECTED
    Jun 16 19:24:59 xxxxxx NetworkManager[9759]: <warn> Activation (wlan0) failed for connection 'xxxxxx_Wireless'
    Jun 16 19:24:59 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
    Jun 16 19:24:59 xxxxxx NetworkManager[9759]: <info> (wlan0): deactivating device (reason 'none') [0]
    Jun 16 19:24:59 xxxxxx NetworkManager[9759]: <info> (wlan0): supplicant interface state: scanning -> disconnected
    Jun 16 19:24:59 xxxxxx NetworkManager[9759]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Auto-activating connection 'xxxxxx_Wireless'.
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) starting connection 'xxxxxx_Wireless'
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> NetworkManager state is now CONNECTING
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0/wireless): access point 'xxxxxx_Wireless' has security, but secrets are required.
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0/wireless): connection 'xxxxxx_Wireless' has security, and secrets exist.  No new secrets needed.
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Config: added 'ssid' value 'xxxxxx_Wireless'
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Config: added 'scan_ssid' value '1'
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Config: added 'psk' value '<omitted>'
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> Config: set interface ap_scan to 1
    Jun 16 19:25:02 xxxxxx NetworkManager[9759]: <info> (wlan0): supplicant interface state: disconnected -> scanning
    Jun 16 19:25:27 xxxxxx NetworkManager[9759]: <warn> Activation (wlan0/wireless): association took too long, failing activation.
    Jun 16 19:25:27 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: config -> failed (reason 'SSID not found') [50 120 53]
    Jun 16 19:25:27 xxxxxx NetworkManager[9759]: <info> NetworkManager state is now DISCONNECTED
    Jun 16 19:25:27 xxxxxx NetworkManager[9759]: <info> Marking connection 'xxxxxx_Wireless' invalid.
    Jun 16 19:25:27 xxxxxx NetworkManager[9759]: <warn> Activation (wlan0) failed for connection 'xxxxxx_Wireless'
    Jun 16 19:25:27 xxxxxx NetworkManager[9759]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
    Jun 16 19:25:27 xxxxxx NetworkManager[9759]: <info> (wlan0): deactivating device (reason 'none') [0]
    Jun 16 19:25:27 xxxxxx NetworkManager[9759]: <info> (wlan0): supplicant interface state: scanning -> disconnected
    Jun 16 19:25:27 xxxxxx NetworkManager[9759]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.

$ egrep  '.*' /sys/module/rtl8723be/parameters/*
/sys/module/rtl8723be/parameters/ant_sel:2
/sys/module/rtl8723be/parameters/debug:1
/sys/module/rtl8723be/parameters/disable_watchdog:N
/sys/module/rtl8723be/parameters/fwlps:N
/sys/module/rtl8723be/parameters/ips:N
/sys/module/rtl8723be/parameters/msi:Y
/sys/module/rtl8723be/parameters/swenc:N
/sys/module/rtl8723be/parameters/swlps:N

我可以提供哪些调试信息来帮助追踪问题?对于下一步该尝试什么,有什么建议吗?

谢谢

答案1

经过 24 小时的使用,wicd 似乎提供了稳定的连接。

我还将 rtl8723be 模块添加到/etc/pm/config.d/modulesline中SUSPEND_MODULES="uhci_hd button ehci_hd rtl8723be",因为如果您使用 pm_utils(ubuntu 会这样做)并且出现问题,建议在睡眠期间卸载并重新加载 wifi 模块。请参阅https://wiki.archlinux.org/index.php/Pm-utils#Standby.2Fsuspend_to_RAM

相关内容