User Tools

Site Tools


info:rpi_frame

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
info:rpi_frame [2020/06/28 11:01] – [Installation] link internal NFS exports moritzinfo:rpi_frame [2020/06/28 11:07] (current) – [Installation] moritz
Line 14: Line 14:
   - Install [[https://www.raspberrypi.org/downloads/raspberry-pi-os/|Raspian Lite]] on the SD card.   - Install [[https://www.raspberrypi.org/downloads/raspberry-pi-os/|Raspian Lite]] on the SD card.
   - Edit ''/etc/fstab'' to mount the network share. Skip this step if using a local directory.<code>host:/export/media /export/media  nfs4     auto            0       0</code> Replace ''host:/export/media'' with your host and export name. See [[infra:x.antiguru.de|x.antiguru.de]] for NFS exports.   - Edit ''/etc/fstab'' to mount the network share. Skip this step if using a local directory.<code>host:/export/media /export/media  nfs4     auto            0       0</code> Replace ''host:/export/media'' with your host and export name. See [[infra:x.antiguru.de|x.antiguru.de]] for NFS exports.
-  - Crate a script ''picframe.sh'' in ''/home/pi'':<code>#!/bin/bash+  - Crate a script ''picframe.sh'' in ''/home/pi''. Update ''myfolder'' to point to the correct location.<code>#!/bin/bash
 myfolder="/export/media/picframe" myfolder="/export/media/picframe"
 if [ -d "$myfolder" ]; then if [ -d "$myfolder" ]; then
Line 39: Line 39:
 fi fi
 exit 0</code> exit 0</code>
-  - Now boot the sd card in the pi.+  - Make the script runnable: ''chmod u+x picframe.sh'' 
 +  - Now boot the pi from the SD card. 
 +  - Install ''fbi'': ''sudo apt update'', ''sudo apt upgrade'', ''sudo apt install fbi''
   - Configure auto login: ''sudo raspi-config''   - Configure auto login: ''sudo raspi-config''
-  - Append ''~/picframe.sh'' to ''/home/pi/.bashrc'+  - Append ''~/picframe.sh'' to ''/home/pi/.bashrc''
   - Configure read-only overlay fs: ''sudo raspi-config''   - Configure read-only overlay fs: ''sudo raspi-config''
info/rpi_frame.1593334860.txt.gz · Last modified: 2020/06/28 11:01 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki