This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Clovis2's profile picture

Turn on computer remotly.

Started by Clovis2, 27 January 2013 - 10:22 AM
Clovis2 #1
Posted 27 January 2013 - 11:22 AM
Is it possible to turn on a computer, advanced computer and mouse from another computer, using rednet or other way? Thanks for answer.
Clovis2
Cloudy #2
Posted 27 January 2013 - 01:06 PM
Moved to own topic.
3ydney #3
Posted 27 January 2013 - 08:32 PM
No. I dont think so
Shnupbups #4
Posted 27 January 2013 - 08:52 PM
Only using another computer/turtle.

Using 1 Computer, wrap another one as a peripheral using:
comp = peripheral.wrap(side)
then use
comp.turnOn()
and it should turn on.
Clovis2 #5
Posted 06 March 2013 - 01:20 AM
Thank you! That works fine!
But is it a mean to turn on a computer or mouse from remote position?
Exerro #6
Posted 06 March 2013 - 01:26 AM
if you have 2 comps next to each other and one of them is listening to rednet then all you have to do is send a message to that computer from any location and you could make it turn on
Spongy141 #7
Posted 06 March 2013 - 12:20 PM
I don't see how you even could turn on a computer with rednet, without using a turtle, since the computer would have to be on in order to receive a rednet message, but you could make a program run from an other computer like so (hoping thats why you wanted to have it turn on from an other computer)

id, msg = rednet.receive()
if msg == ("YOUR KEYWORD") then
  shell.run("FILE YOU WANTED") -- Or any function you want, doesn't have to run a file.
end

-- and to loop it (hoping you already know this)
while true do
  id, msg = rednet.receive()
  if msg == ("YOUR KEYWORD") then
	shell.run("FILE YOU WANTED") -- Or any function you want, doesn't have to run a file.
  end
end
Lol again sorry if this wasn't what you were looking for.