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

Remote Peripherals

Started by colcrunch, 17 September 2014 - 11:36 PM
colcrunch #1
Posted 18 September 2014 - 01:36 AM
I was wondering if it is possible to access a peripheral that is not directly connected to the computer. Like using the Rednet API or the Modem API?
Bomb Bloke #2
Posted 18 September 2014 - 01:46 AM
Stick a wired modem on the peripheral block, stick a wired modem on the computer. Connect them using network cable then right click the modem on the peripheral to "connect" it.

When wrapping the peripheral, instead of entering the "side", enter the name the modem told you to use when you "connected" it.
colcrunch #3
Posted 18 September 2014 - 02:20 AM
Can I do this using wireless modems?
Bomb Bloke #4
Posted 18 September 2014 - 02:33 AM
The short answer is yes. The long answer is that it's a lot harder - you can't "connect" wireless modems to peripherals like you can with wired ones, so you've instead got to attach them to a "go-between" computer, then manually send commands/results backwards and forwards.

Eg.
colcrunch #5
Posted 26 September 2014 - 09:23 AM
EDIT: NRVERMIND … cant delete this post though… oh well
Edited on 26 September 2014 - 07:25 AM