description of the problem

It seems both wifi and ethernet has the same problem. However, it seems it only happens when the suspend time is long. If I close lid for about 5 min or so, it is OK. However when I suspend for hours, when coming back, I can't connect to the internet. I have tried:

sudo systemctl restart network-manager.service 
sudo service network-manager restart 
sudo service NetworkManager restart

None of them helps, even log out. The only way to resume the network is by a restart.

I found some post on the web such as this one: Wifi doesn't work after suspend after 16.04 upgrade, but it doesn't help even there are so many vote ups, therefore I think it is OK to ask this question again to draw some attention and hopefully my problem can be solved.

Edit

-> ~$ lspci -knn | grep Net -A2
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8195]
    Kernel driver in use: rtl8192ce
  • After resuming run sudo rmmod rtl8192ce && sudo modprobe rtl8192ce if it work there are a script to set it auto – GAD3R Dec 1 '16 at 14:21
  • @GAD3R Next time I will try it when it won't work. – buzhidao Dec 1 '16 at 14:46
  • @GAD3R this method doesn't working. – buzhidao Dec 3 '16 at 12:43
  • i was having the problem too (on 16.10 on an HP), but w/ethernet dead after suspend. Running my own version of buzhidao's suggestion (~$ lspci -knn | grep Ether -A2) i learned i had a: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c), using the r8169 kernel module. When i re-installed the module (as per GAD3R above), my ethernet revived. Since buzhidao's & my devices are both Realtek Semiconductor devices (but his is wifi, mine ethernet), i am wondering whether some code common to both realtek drivers has changed? – androclus Mar 16 '17 at 21:51

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.