Jump to content




[1.51+] Using Network Cables (for dummies)


  • You cannot reply to this topic
106 replies to this topic

#81 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 30 August 2013 - 11:37 AM

Once you turn on the disk's modem, it should be available to you, mounted under the /disk directory.

Peripherals connected to computers act exactly as if they were right next to the computer itself, just that instead of accessing it by side, you access it by name.

In the case of disk drives, sides aren't involved, so names aren't involved. Connecting a disk drive to a computer via peripheral cable automatically mounts it, just like placing it next to the computer.

#82 MayContainVennom

  • Members
  • 47 posts

Posted 30 August 2013 - 11:40 AM

View PostKingdaro, on 30 August 2013 - 11:37 AM, said:

Once you turn on the disk's modem, it should be available to you, mounted under the /disk directory.

Peripherals connected to computers act exactly as if they were right next to the computer itself, just that instead of accessing it by side, you access it by name.

In the case of disk drives, sides aren't involved, so names aren't involved. Connecting a disk drive to a computer via peripheral cable automatically mounts it, just like placing it next to the computer.

I forgot to add it to my Network >.<
Letme go ahead and faceplam for a few hours.

#83 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 30 August 2013 - 11:57 AM

View PostMayContainVennom, on 30 August 2013 - 11:16 AM, said:

Is there a way I can edit a program on a floppy disk in a drive through a network? For instance I want to edit disk/test in drive_0 on a computer on the network. How would I go about doing this?
Definitely possible. If you have the disk drive attached to the computer and type "ls" or "dir" it will come up on the computer under "disk#" where # is the order it has been attached...

However if you do not know which one it is you can do the following:

method 1. use the disk API
local path =disk.getMountPath("drive_0")

method 2. use the peripheral API
local path =peripheral.call("drive_0", "getMountPath")

method 3. use a slightly more verbose peripheral API call
local drive = peripheral.wrap("drive_0")
local path = drive.getMountPath()


#84 kreezxil

  • Members
  • 128 posts
  • LocationBowie, TX

Posted 30 August 2013 - 12:16 PM

Awesome tutorial and even more awesome comments. I'm getting new ideas for the computers in my base now .... *EvilGrin*

#85 YuvonDovah

  • Members
  • 28 posts

Posted 10 September 2013 - 01:21 PM

Thanks for the tutorial, I really wanted to know how to connect a monitor via wired cable.

#86 kennywd7

  • Members
  • 9 posts

Posted 27 September 2013 - 09:26 PM

thx for the help

#87 lixowurm

  • Members
  • 5 posts

Posted 20 October 2013 - 07:57 AM

Hello there :) nice tutorial.
id like to ask you a question: ist there a limit how far the cable works?
thx - lixowurm

#88 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 21 October 2013 - 12:23 PM

I'm sure there's a limit, but I'm not exactly sure what it is.

#89 sens

  • Members
  • 49 posts
  • LocationFrance

Posted 21 October 2013 - 06:06 PM

Thanks for making the tutorial!

View PostKingdaro, on 21 October 2013 - 12:23 PM, said:

I'm sure there's a limit, but I'm not exactly sure what it is.
I remember reading somewhere that the limit is 256 per network.

#90 awsmazinggenius

  • Members
  • 930 posts
  • LocationCanada

Posted 21 October 2013 - 08:55 PM

Thanks for finally allowing me to have more than 6 peripherals. Is is possible to connect directly to turtles by placing a block, then a modem next to them? Or do I have to transmit a message to a computer over the wire and have the computer on a program to immediately rebroadcast the message wirelessly via Rednet.

#91 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 22 October 2013 - 12:17 AM

A Turtle can interface directly with any peripheral on any side where there is not already a peripheral present (tools included). However a Turtle cannot connect to a wired network. If you're using OpenPeripheral however a Turtle can connect to a wired network by means of a Peripheral Proxy.

#92 MudkipTheEpic

  • Members
  • 639 posts
  • LocationWhere you'd least expect it.

Posted 22 October 2013 - 06:07 PM

View Posttheoriginalbit, on 22 October 2013 - 12:17 AM, said:

-snip-
However a Turtle cannot connect to a wired network. If you're using OpenPeripheral however a Turtle can connect to a wired network by means of a Peripheral Proxy.

View PostPixelToast, on 28 September 2013 - 11:39 PM, said:

Posted Image
we have been able to do this the whole time

the turtle can use rednet, just aslong as its attached to a solid block
c_c


#93 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 22 October 2013 - 11:45 PM

View PostMudkipTheEpic, on 22 October 2013 - 06:07 PM, said:

Spoiler
Uhhh sorry to burst your bubble and rain on your parade but look.

Setup

Code
http://pastebin.com/2JrsUhFC

Result

I've never been able to replicate the circumstances in that image.

Edited by theoriginalbit, 08 November 2013 - 03:23 AM.


#94 MudkipTheEpic

  • Members
  • 639 posts
  • LocationWhere you'd least expect it.

Posted 23 October 2013 - 08:56 AM

View Posttheoriginalbit, on 22 October 2013 - 11:45 PM, said:

View PostMudkipTheEpic, on 22 October 2013 - 06:07 PM, said:

Spoiler
Uhhh sorry to burst your bubble and rain on your parade but look.

Setup
Spoiler

Code
http://pastebin.com/2JrsUhFC

Result
Spoiler

I've never been able to replicate the circumstances in that image.

Posted Image


Posted Image

#95 mrgreaper

  • Members
  • 88 posts

Posted 24 November 2013 - 12:43 PM

very helpful, thank you

#96 mrgreaper

  • Members
  • 88 posts

Posted 24 November 2013 - 01:27 PM

Actually i have a bit of a problem, i want to add lan to some icbm launchers from the icbm mod and some monitors, now, i can hook the monitors up perfectly but i cant place the modem onto the icbm launcher control panal, tried everything i could think off...annoyingly it will connect to the dirt block next to it just fine lol. the controler can be used as a peripheral (placing a computer next to it will allow me to control its coordinates and fire etc all wrapped as a peripheral, so in theory i could have 10 computers all hooked up looking for wireless signals to then fire the missiles/set coords/report what missile is in the bay etc, but for efficency sake and convience i really just want to use 1 computer with these all connected with lan.

i will link calclavia to this as well incase its a bug with icbm

mekenism also seems to have this issue, i suspect it may be in the way they deal with right clicking?


**SOLVED** sort of, theres a mod called openPeripherals, that has a peripheral proxy block, using that i can indeed connect to "ICBMLaunchers" etc ...awesome

Edited by mrgreaper, 24 November 2013 - 03:42 PM.


#97 buzzy613

  • Members
  • 3 posts

Posted 10 December 2013 - 01:28 AM

finally! this makes my printer setup alot more convinient. i could never get those wires working before.

#98 ZagKalidor

  • Members
  • 111 posts

Posted 12 December 2013 - 05:20 AM

Hey Guys,

maybe I'm to stupid for this, but please explain.
Let's say, i have one central computer, and i have 10 others connected to the central one. Every computer of those 10 is wrapped at the central like so: local com1 = peripheral.wrap("computer_1") a.s.o
How do i call, maybe the command rs.setOutput("top", true) on the central, for one of those connected 10 remote computers.

greetz

Edited by ZagKalidor, 12 December 2013 - 05:21 AM.


#99 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 12 December 2013 - 09:12 AM

You would need to set up a system where the remote computers would accept commands over a network, because you wouldn't be able to call commands on them like that directly.

#100 awsmazinggenius

  • Members
  • 930 posts
  • LocationCanada

Posted 12 December 2013 - 06:53 PM

View PostKingdaro, on 12 December 2013 - 09:12 AM, said:

You would need to set up a system where the remote computers would accept commands over a network, because you wouldn't be able to call commands on them like that directly.

Yeah. You should use a message handler.

//Off Topic: I replied to your other tutorial with how to get a Lua syntax highlight.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users