====== Setting up the Slave UMDs ======== \\ {{:rpi_umd_001b.jpg?650|}} \\ \\ ===== Slave Raspberry Pi(s) ===== \\ The slave Raspberry Pi(s) download the latest 'my_data.txt' from the Master Raspberry Pi (once a second) using a 'wget' command, this means that each slave knows what to display. The my_data.txt file is downloaded every second, so changes to the file via the web interface propagate through the UMDs very quickly. \\ \\ The 'my_data.txt' file has 8 lines, each line is for a particular display, so for example, line 1 & 2 are for LCD1 and reference monitors 1 and 2. Lines 5 & 6 are for LCD and reference monitors 5 & 6. \\ \\ The setup of the slave UMDs is very simple compared to the Master. Setup Raspbian, copy some files and away you go. \\ \\ ---- ==== Set Static IP Address ==== \\ To set a static IP address, we need to login to the RPi via SSH and change the following file: \\ \\ The default login is username: pi and password: raspberry (if this is an existing unit that is misbehaving, the login will be pi and Ericss0n) \\ \\ /etc/dhcpcd.conf \\ Enter the following \\ sudo nano /etc/dhcpdc.conf Add these lines to the end of the file (default is dhcp) using your own IP Address details eth0 static ip_address=192.168.1.11/24 static routers=192.168.1.1 static domain_name_servers=192.168.1.4 \\ Use Ctrl-X to exit and Y to save, now reboot the pi and connect to the new address \\ \\ ---- ==== Raspi Config ==== \\ From the terminal, run: \\ sudo raspi-config \\ You will see the following menu, there are several items we want to change here. \\ \\ ┌────────────────────┤ Raspberry Pi Software Configuration Tool (raspi-config) ├───────────────────────────┐ │ │ │ 1 Expand Filesystem Ensures that all of the SD card storage is available to the │ │ 2 Change User Password Change password for the default user pi) │ │ 3 Boot Options Choose whether to boot into a desktop environment or the command line │ │ 4 Wait for Network at Boot Choose whether to wait for network connection during boot │ │ 5 Internationalisation Options Set up language and regional settings to match your location │ │ 6 Enable Camera Enable this Pi to work with the Raspberry Pi Camera │ │ 7 Add to Rastrack Add this Pi to the online Raspberry Pi Map (Rastrack) │ │ 8 Overclock Configure overclocking for your Pi │ │ 9 Advanced Options Configure advanced settings │ │ 0 About raspi-config Information about this configuration tool │ │ │ │ │ │