User Tools

Site Tools


raspberry_pi_kiosk

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
raspberry_pi_kiosk [2020/01/25 14:51] herwarthraspberry_pi_kiosk [2020/05/16 18:44] (current) herwarth
Line 15: Line 15:
 systemctl enable ssh.service systemctl enable ssh.service
 systemctl start ssh.service systemctl start ssh.service
 +</code>
 +<code - /etc/systemd/timesyncd.conf>
 +[Time]
 +NTP=172.16.0.254
 +#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
 +#RootDistanceMaxSec=5
 +#PollIntervalMinSec=32
 +#PollIntervalMaxSec=2048
 </code> </code>
 ==== Making the system a read-only system ==== ==== Making the system a read-only system ====
Line 33: Line 41:
 Edit fstab so it looks something like this. Your PARTUUIDs are different! Edit fstab so it looks something like this. Your PARTUUIDs are different!
 <code - /etc/fstab> <code - /etc/fstab>
-proc                  /proc             proc    defaults                                    0 0 +proc                  /proc              proc    defaults                                    0 0 
-PARTUUID=6c586e13-01  /boot             vfat    defaults,ro                                 0 2 +PARTUUID=6c586e13-01  /boot              vfat    defaults,ro                                 0 2 
-PARTUUID=6c586e13-02                 ext4    defaults,noatime,ro                         0 1 +PARTUUID=6c586e13-02                  ext4    defaults,noatime,ro                         0 1 
-tmpfs                 /tmp              tmpfs   defaults,noatime,nosuid,mode=1777,size=100m 0 0 +tmpfs                 /tmp               tmpfs   defaults,noatime,nosuid,mode=1777,size=100m 0 0 
-tmpfs                 /var/tmp          tmpfs   defaults,noatime,nosuid,size=30m            0 0 +tmpfs                 /var/tmp           tmpfs   defaults,noatime,nosuid,size=30m            0 0 
-tmpfs                 /var/log          tmpfs   defaults,noatime,nosuid,mode=0755,size=100m 0 0 +tmpfs                 /var/log           tmpfs   defaults,noatime,nosuid,mode=0755,size=100m 0 0 
-tmpfs                 /var/run          tmpfs   defaults,noatime,nosuid,mode=0755,size=2m   0 0 +tmpfs                 /var/run           tmpfs   defaults,noatime,nosuid,mode=0755,size=2m   0 0 
-tmpfs                 /var/lib/lightdm  tmpfs   defaults,noatime,nosuid,size=30m            0 0 +tmpfs                 /etc/console-setup tmpfs   defaults,noatime,nosuid,mode=0755,size=2m   0 0 
-tmpfs                 /home/pi          tmpfs   defaults,noatime,nosuid,size=500m           0 0+tmpfs                 /var/lib/systemd/timesync tmpfs defaults,noatime,nosuid,mode=0755,size=2m 0 0 
 +tmpfs                 /var/lib/lightdm   tmpfs   defaults,noatime,nosuid,size=30m            0 0 
 +tmpfs                 /home/pi           tmpfs   defaults,noatime,nosuid,size=100m           0 0
 </code> </code>
 <code> <code>
Line 67: Line 77:
 TimeoutSec=30s TimeoutSec=30s
 </code> </code>
-Because /var/spool is also a tmpfs filesystem, we need to disable that directory to become mask 0755. Comment out the following line so it looks like this: +Because /var/spool is also a tmpfs filesystem, we need to disable that directory to become mask 0755. Copy the following file 
-<code - /usr/lib/tmpfiles.d/var.conf>+<code> 
 +cp /usr/lib/tmpfiles.d/var.conf /etc/tmpfiles.d 
 +</code> 
 +comment out the following line so it looks like this: 
 +<code - /etc/tmpfiles.d/var.conf>
 . .
 . .
raspberry_pi_kiosk.1579963869.txt.gz · Last modified: by herwarth