even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool
to not suspend but, the wireless still turns off.
How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17.10
There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.
Command line method:
Do nothing when on battery:
Do nothing when on power: