3

I have an issue with Ubuntu 18.04 and closing the lid of the laptop. rather with loosing internet connection when the lid is closed. I noticed that machine does not even respond to ping when the lid is closed. I've setup Power manager to 'ignore' closed lid. I reconfigured logind.conf but it did not have an effect.

Could someone please advice how to keep wi-fi connection when the lid is closed? Note:I did not have the issue with 16.04 Thanks

3

Ive had the same issue before. This is an easy fix:

Edit /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf with your editor of choice. This will require sudo.

Find the following line:

[connection]
wifi.powersave = 2

Change the 2 to a 3

Save the file and exit.

After saving type:

sudo systemctl restart NetworkManager
  • Hi Keltari. Thanks for suggestion. I checked the file and the value was already 3. Any other suggestions? Thanks – susik Nov 28 '18 at 14:25
  • @susik try changing it to 2 and test. – Keltari Nov 28 '18 at 14:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.