After configuring haproxy for the use of content in http on the standard port
we configure the Linux machine to publish the hostname on the network with the avahi daemon.
On Linux and OSX machines this service is natively visible, while for Windows systems it is necessary to install the Bonjour service
Bonjour application for windows
On the Orange PI PC the avahi daemon must be installed with the command
1 |
sudo apt-get install avahi-daemon |
We change the name to which our 3D print server must match in the two files /etc/hosts and /etc/hostname
1 2 |
sudo nano /etc/hosts sudo nano /etc/hostname |
In our case the name orangepcpc has been changed to 3dprinter.
Restarting the linux box, the services are accessible using the name 3dprinter.local.