Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.