红联Linux门户
Linux帮助

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

发布时间:2016-08-06 10:46:57来源:linux网站作者:Eve_Chen_SHALALA
有时候从挂起状态唤醒之后,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://www.linuxdiyf.com/linux/23055.html