Multiple Octopi instances with multiple Raspberry Pi's on 1 network


#1

What is the problem?
Can I run 2 Pi's with 2 different octopi instances on 1 network? Specifically I do not want to run 2 printers from the same Pi.

** What did you already try to solve it?**
I have 1 instance of octopi already running on 1 Pi connected ethernet to a private network and USB to a Lulzbot TAZ6

** Additional information about your setup**
My question is pretty simple but I have not been able to find a similar case in the forums. I have 1 Raspberry Pi running the most recent version of octopi running fine and would like to add a 2nd printer but do not want it to be run from the same Raspberry. Most threads I have found are trying to run more than 1 printer from the same Pi. My reason for multiple Pi's is the printers are not co-located but are on the same network.

I am pretty confident this will work and I know how to look up IP addresses and have found my current instance of octopi on my switch (everything is hard wired). One of my questions is how the link "octopi-local/" will work with multiple instances of octopi on the network. I know I could call each instance by its IP but that is not as desirable since the IPs are not static and it appears the static IP setup is no longer around (or I do not know where it is).

I will add some background info that may not be needed but helps explain my setup. I am at a University that takes cyber security way too seriously. There is no way that any of my printers (currently about 20) will ever have a direct connection to the internet. There is also no open WiFi. Please just trust me when I say that connecting printers directly to the internet or even to a computer directly connected to the internet is not possible. So my solution is I have a private network setup with all of my printers (including now octopi for a Lulzbot TAZ6) on it. Then I have a powerful PC running Windows Server 2012 R2 that sits on this private network as well as my instituition's network which has internet access. This PC servers as a lab engine and allows users to remotely login to the server and then access the private network since the server sits on both networks (yes, my institution is ok with this or maybe they don't understand it, but they approved it in either case). Sounds complicated I know, but it actually works beautifully as all work funnels through a single PC, the server monitors both networks, and the printers are safe on the private side from peering IT eyes. I have run this with over 20 users simultaneously and have approximately 20 printers on the private side both with no problems.

Last point, I am not an LINUX expert so keeping it simple is appreciated. I was able to follow the directions for settings up octopi fine the first time and I am pretty experienced in Windows and general networking items.

Thanks in advance for help and thanks for octopi, it was a great solution to my USB printer problem.


#2

Yes, they each have their own IP address on your network, so you just point your web browser at whichever address you want to use


#3

No problem at all. I already did it before.


#4

Personally, I wouldn't use IP addresses.

I would issue a hostname for each like: huey.local, dewie.local, louie.local. Or use a Star Wars—based theme.

You can adjust the hostname by remoting into the Raspberry and running sudo raspi-config and look under the network option. After the reboot, it should now use its new name.

My printer's named charming-pascal.local, for what it's worth.


#5

Thanks to all and in particular thanks to OutsourcedGuru. This was the exact solution I was looking for. I prefer not to have enter IP addresses for each and really like the idea of adjusting the host names. I already have a theme for my printer names and this would allow me to continue that theme for USB based printers that I change to ethernet using octopi.

Very helpful!


#6

I do want to mention that this would only work on a LOCAL network, not over the internet, without some serious configuration and port management.