Ubuntu – How to one make a laptop remain pingable and continue running its daemons even after the lid is closed

acpilaptopUbuntu

I'm running Ubuntu 12.04 server on a laptop, and I'm pinging it from another machine. Whenever I close the lid, the pings stop getting responses, and when I open it again, they resume receiving them.

I'd like to make it so that shutting the lid on the laptop has no effect on its operation except for making the screen blank.

How can one achieve this? Thanks.

Best Answer

Edit /etc/UPower/UPower.conf and change IgnoreLid=false to IgnoreLid=true.

Related Question