Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

One crucial aspect regarding the Raspberry Pi is, that the vehicle will be turned off by using the switch on the bottom, mostly. That will directly cut off the power supply of the RPI. In order to avoid damage to the OS, it is important to configure the filesystem to be read-only. For that, follow the instructions on https://kofler.info/raspbian-lite-fuer-den-read-only-betrieb/ . (As alternative https://www.mehr4u.de/raspberry-pi-mit-readonly-filesystem.html may also be used. Vehicle 20 is created by following the first link but using "fastboot noswap ro" instead of "of fastboot noswap" .)

In order to make NTP working properly with a read-only filesystem, it is also necessary to copy the following file

...

It might happen that the system clock is not automatically synchronizing via NTP if it differs too much from the real time. Firstly, take care that your timezone is set correctly:

sudo raspi-config --> 4 Localisation Options --> I2 Change Time Zone --> None of the above --> 

In the opening UI go to: 4 Localisation Options → I2 Change Time Zone → None of the above → UTC

Furthermore, you can force NTP to set the time once. Therefore, stop the service, force it, and restart it again :

...