Manuals/door

From Minux Wiki
Revision as of 09:49, 24 September 2024 by Shorun (talk | contribs)
Jump to navigation Jump to search

this is a very simple remote door opener, while it could be used to control other devices it wasn't intended for it.

the whole point of this is so users can type "open doorname" and it either opens if they are allowed to or it doesn't.


requirements:

first up, you'll need to have a functional dhcp and auth server, both your client computer and door computer need to be able to access the rednet network.

the door computer itself uses redstone to open the door, how you wire up your computer to the door is your worry, the side doesn't matter since the installation will account for that, make sure your wires work before installing the computer.

obviously we assume minux is installed on all computers involved.


on the door computer:

user access:

we need to control who can open this door, this is done by controlling who can log in on the door's computer.

more information on how to set up user rights can be found here. make sure that the people you want to give access can log in to the door's computer.


setup:

now we need to register this system so that clients can find us, this is done trough the "auth-client" package.

type "apt -i auth-client" to install this, now type "dhcp register systemname", replace systemname with any name you want.

once registered, we verify if we can look it up, run "dhcp lookup sys, it should now give you the registery information.

now run "apt -i door", this will install the door program, after it's finished, reboot the computer.

the computer will now ask you some questions regarding it's settings, such as redstone wire side, answer the questions and proceed.

done.


on the client side:

run "apt -i open". done.

you can use "open systemname" to request a door to open, you can use "dhcp lookup systemname" to request registration information.