You can generally use Wake-on-LAN (WoL) to boot a system remotely. Check your BIOS for such a feature, and google "wake on LAN magic packet". Yo have to send the magic packet from a system on the same LAN as the machine in question.
More advanced systems have a system known as IPMI where this sort of thing can be done across the network.
If implementing this with an arduino, I personally would power it separately for maximum effectiveness/reliability. Also be aware of the security implications of putting your computer's power and reset buttons on the internet.
Hi
I am using WOL now, but if you have programs that use udp punching hole tenciques (e.g. Skype and p2p vpns) you get you PC woke up after you send the sleep command.
(The magic packet does not work on my mainboard)
Anyway I would like to have a way to recover from an error (this is the reason of connecting to the reset putton).
I would like to have a way to recover from an error (this is the reason of connecting to the reset putton).
I understand, we have similar issues here at work. The solution we're starting to explore for one particular lab is to use virtual machines, so that the host OS is still functional and can reset the VM for us.
I have considered just the solution you describe, though, for an older server that is quite functional but lacks IMPI for power management, and has an annoying BIOS feature-lack where I cannot enable WoL (hardware supports it but the BIOS doesn't give me a way to enable it).
Anyway, yes what you describe should work just fine. There's probably a couple of convenient headers with the power and reset buttons attached, so you can tap the circuit there with your Arduino. These buttons typically short a line to ground, so you'll want to leave the arduino pin as an input (with no pullup!), then make it an output with a low value to simulate the button press. Go back to input state to release the button.
Again, I would probably power the Arduino separately from the computer just for more simplicity and reliability, but that's just me. If your power supply/mobo will support powering a USB peripheral even with the system "off", that may work just fine.
I'm pretty sure you'd need to connect both pins on the power switch to the Arduino. You haven't mentioned that you're doing exactly but it sounds like you're just connecting pin 13 to something on the motherboard.
Anyway, I'd be using a small relay to close the contacts if I were you...