Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How I can turn off computer on LAN?

I shutdown a computer that is on LAN via Wi-Fi. I have his IP and MAC address that I do now?

share|improve this question
IP- and mac-address are not sufficient to issue a shutdown. You need ssh access or something like ipmi to control the power. – imbaer Dec 6 '11 at 21:24

You can use this:

ssh user@LAN_ADDRESS 'shutdown -P 0'

Press enter and put the password of the user declared in the command above, then this LAN PC will be powered off.

As was said, this LAN PC need to have a SSH Server installed. You can do this by running on this PC the follow command:

sudo apt-get install openssh-server
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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