Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:server:pxe-boot [2020-06-16 07:38] mattias [Adding Firewall Rule for TFTP] |
blocks:server:pxe-boot [2024-10-25 07:46] (current) admin Links and obsolete note |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Network Boot of PIXILAB Player ====== | ====== Network Boot of PIXILAB Player ====== | ||
- | This document describes how to configure your existing [[blocks: | ||
- | If your server comes with Blocks 3 from the outset, most of this is already done. If so, you can skip down to [[# | + | :!: **IMPORTANT**: |
- | :!: If you bring in a Blocks data folder from an older (pre-Blocks 3) installation, | + | This document describes how to configure your existing [[blocks: |
+ | |||
+ | If your provisioned your server from the desktop server image provided by Pixilab, most of this is already done. If so, you can skip down to [[# | ||
+ | |||
+ | :!: If you bring in a Blocks data folder from an older (pre-Blocks 3) installation, | ||
===== Updating your Blocks Server ===== | ===== Updating your Blocks Server ===== | ||
- | Start by [[blocks: | + | If your server is very old, you may want to make a new server based on our current Linux server image. Alternatively, |
===== Enabling the TFTP server ===== | ===== Enabling the TFTP server ===== | ||
Line 17: | Line 20: | ||
:!: The YML file format is sensitive to indentation. Make sure you keep the indentation exactly as shown above. | :!: The YML file format is sensitive to indentation. Make sure you keep the indentation exactly as shown above. | ||
+ | The linux server from our images with Ubuntu 20.04 has default port 8069 as default port. Previous versions with Ubunti 18.04 had port 9069 as default tftp port. | ||
==== Adding Firewall Rule for TFTP ==== | ==== Adding Firewall Rule for TFTP ==== | ||
- | :!: If your server is based on our Linux image dated 190711 or later, this step is already taken care of. | ||
- | The Linux firewall needs to be updated to allow for the TFTP traffic. To do so, switch to the //pixi-admin// user, open a terminal window, and enter the following three lines, pressing | + | If your server is based on a Linux server image older than 190711, as indicated by the " |
+ | |||
+ | Open a webmin interface | ||
+ | |||
+ | {{:blocks: | ||
+ | |||
+ | Select the Network Addresss Translation (NAT) IP table from the dropdown. | ||
+ | |||
+ | Click the green add rule button in the PREROUTING section or click on a rule to edit an existing. | ||
+ | {{: | ||
+ | |||
+ | In essence we need to specify: | ||
+ | * Action to take: Redirect. | ||
+ | * Network protocol: Equals UDP | ||
+ | * Target port for redirect: Port range = 8069 (default tftp adress on the blocks server.) | ||
+ | * Destination TCP or UDP port:Equals port 69 (for tftp) | ||
+ | |||
+ | Click Create (Save if edit existing rule) | ||
+ | |||
+ | Click apply configuration down the bottom of the overview. | ||
+ | |||
- | < | ||
- | sudo iptables -t nat -I PREROUTING -p udp --dport 69 -j REDIRECT --to-port 8069 | ||
- | sudo bash -c " | ||
- | sudo bash -c " | ||
- | </ | ||
- | Type the pixi-admin user's password when requested. If you haven' | ||
===== Configuring the DHCP Server ===== | ===== Configuring the DHCP Server ===== | ||
:!: If your server is based on our Linux image dated 190711 or later, this step is already taken care of. | :!: If your server is based on our Linux image dated 190711 or later, this step is already taken care of. | ||
- | A DHCP server is required as part of the network boot procedure. The method described here assumes you're using the [[blocks: | + | A DHCP server is required as part of the network boot procedure. The method described here assumes you're using the [[blocks: |
Using [[blocks: | Using [[blocks: | ||
Line 45: | Line 62: | ||
{{ : | {{ : | ||
- | ===== Obtaining | + | ==== Using external DHCP server |
- | First install the PIXILAB Player [[blocks: | + | |
+ | If you can't use the DHCP server that's built into our Linux-based server, e.g., becuse you already have another DHCP server that you prefer to use instead, then you need to make some additional configuration of that DHCP server to network boot PIXILAB Player. | ||
+ | |||
+ | * Make sure that the boot file is set to " | ||
+ | * Point to the IP address of your Blocks server using the " | ||
+ | |||
+ | This assumes you're using the standard Linux "ISC dhcpd" server, in which case these settings are found in the / | ||
+ | |||
+ | < | ||
+ | next-server 10.0.1.13; | ||
+ | filename " | ||
+ | </ | ||
+ | |||
+ | Replace // | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ===== Installing PIXILAB Player on the server | ||
+ | First install the PIXILAB Player [[blocks: | ||
* Insert the player USB into your Linux-based Blocks server. It will appear as a number of disks. | * Insert the player USB into your Linux-based Blocks server. It will appear as a number of disks. | ||
Line 58: | Line 94: | ||
Your server is now set up for network boot of players. If you need to update your PIXILAB Player later on, just replace the files inside the // | Your server is now set up for network boot of players. If you need to update your PIXILAB Player later on, just replace the files inside the // | ||
- | :!: The computer you use as player must be configured to boot from the network. This is done in the BIOS settings. See [[blocks: | + | :!: The computer you use as player must be configured to boot from the network. This is done in the BIOS settings. See [[blocks: |
===== Implementation Details ===== | ===== Implementation Details ===== | ||
This section describes some implementation details that may be of use to you if you're trying to make network boot work with other solutions than those built into our Linux-based server, or using another domain name than // | This section describes some implementation details that may be of use to you if you're trying to make network boot work with other solutions than those built into our Linux-based server, or using another domain name than // | ||
Line 103: | Line 139: | ||
</ | </ | ||
- | If your Blocks server uses another domain name than // | + | :!: If your Blocks server uses another domain name than // |