Author: andreas
-
Raspberry Pi service startup scripts
Sometimes you want to run your own scripts or tools on a Raspberrry Pi a service or daemon . That is a program running in the background which is usually automatically started when Linux boots and which is shut down when Linux shuts down. The idea is to put a shell …
-
Heiraten in China
Hier eine kurze Zusammenfassung der notwendigen bürokratischen Schritte, um als Deutscher in China zu heiraten. Stand der Infos ist Juni bis November 2014. Alles bezieht sich auf den Wohnort Düsseldorf bzw. Shanghai. Alle Angaben ohne Gewähr. Genauere bzw. aktuelle Infos gibt es hier: Deutsche Botschaft in China. Meldebescheinigung Das ist …
-
Just married
Since 2014-11-29 I am married to my wonderful wife Yao Yi :-) Just married! Here are a few pictures and infos of the wedding day. Breakfast Every good day starts with a good breakfast, so we went to Wagas 📌. Marriage Then we went to the Marriage Registration Center of Shanghai Civil …
-
Chili on the Balcony
Yao Yi planted chili plants in spring on the balcony. This is the result. Chili plant on the balcony Chili plant detail Chilis! I will update the post as soon as I tried them and know how spicy they are... Ok, here's the update: The chilis are medium spicy. So …
-
Introduce our cats
My blog was inactive for a long time now and had ended with the previous post about arriving in Shanghai one and a half year ago. So this is my new effort to write posts more regularly and catch up with the things that have happened in the meantime. So …
-
Umzug nach Shanghai
Der Abreisetermin ist schneller da, als gedacht. Aber nun sitze ich zuhause auf gepackten Koffern und warte darauf, dass mein Vater mich abholt. Dann gehen wir noch essen und dann bringt er mich zum Bahnhof. Von dort geht es nach Frankfurt zum Flughafen und dann nach Shanghai, meinem neuen Zuhause …
-
Read-only Root Filesystem
In my previous posts about ramdisks and persistent storage on my Raspberry Pi, I explained my goal to reduce write access to the sd card as far as possible. The last step is to mount the sd card read-only, so its filesystems can almost never get damaged. This is the …
-
Persistent storage with ramdisks
As written in the last post about ramdisks, it is good to reduce the number of write cycles to the sd card of the Raspberry Pi, to prevent damage to the filesystem and the sd card. But what to do with data that is regularly written and that you want …
-
Measuring temperature with the Raspberry Pi
One of my Raspberry Pi is running as a headless device measuring the room temperature. It uses a DS1820 sensor, which is directly attached to the i/o connector of the raspberry and uses the 1-Wire bus. The temperature sensor connected to the 1-wire bus The measured temperature values can …
-
Ramdisks for the Raspberry
If you use your Raspberry Pi as a standalone (headless) device, e.g. to measure and log the room temperature, there is no need to write all log files etc. to the SD card. Instead you can mount ramdisks into the relevant directories. This reduces the number of write accesses …