====== Setting up the Master UMD ====== \\ {{:rpi_umd_001b.jpg?650|}} \\ \\ ==== Master Raspberry Pi ==== \\ The primary Raspberry Pi does a little more than the others. As well as writing to the LCD display, this unit has a web server (Apache) and PHP running. The web server hosts a text file (my_data.txt) that is hosted and is editable via a web interface and PHP. \\ For this to work we need the following installed and configured \\ \\ ---- ==== 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 │ │ │ │ │ │