您的位置:首页 > 运维架构 > Linux

Ubuntu 挂起(睡眠)后wifi断开的解决办法

2016-08-05 13:33 4762 查看
有时候从挂起状态唤醒之后,wifi会显示disconnected。

解决方法1:如果不嫌麻烦:

sudo service network-manager restart


方法二:

#!/bin/sh

case "${1}" in
resume|thaw)
nmcli r wifi off && nmcli r wifi on ;;
esac


Put this in /etc/pm/sleep.d/10_resume_wifi

Make it executable
sudo chmod 755 /etc/pm/sleep.d/10_resume_wifi
and the problem should be fixed immediately.

http://askubuntu.com/questions/452826/wireless-networking-not-working-after-resume-in-ubuntu-14-04
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息