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 15:10] 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 28: Line 36:
 console=serial0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fastboot noswap ro</code> console=serial0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fastboot noswap ro</code>
 <code> <code>
-apt-get -y install busybox-syslogd chrony+apt-get -y install busybox-syslogd
 apt-get -y remove --purge rsyslog apt-get -y remove --purge rsyslog
 </code> </code>
Line 41: Line 49:
 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                 /etc/console-setup tmpfs   defaults,noatime,nosuid,mode=0755,size=2m   0 0 tmpfs                 /etc/console-setup tmpfs   defaults,noatime,nosuid,mode=0755,size=2m   0 0
-tmpfs                 /var/lib/chrony    tmpfs   defaults,noatime,nosuid,mode=0755,size=2m   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                 /var/lib/lightdm   tmpfs   defaults,noatime,nosuid,size=30m            0 0
 tmpfs                 /home/pi           tmpfs   defaults,noatime,nosuid,size=100m           0 0 tmpfs                 /home/pi           tmpfs   defaults,noatime,nosuid,size=100m           0 0
Line 69: 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.1579965033.txt.gz · Last modified: by herwarth