Setting up timesync via NTP on debian & raspberry pi

I use systemd-timesyncd to keep the system time up to date on my raspi / debian system.
To do so i did the following steps:

1. Check the state of timedatectl
Therefore type the comand timedatectl to the shell.
The output should look something like this:

Local time: Fr 2023-01-06 19:34:27 CET
Universal time: Fr 2023-01-06 18:34:27 UTC
RTC time: n/a
Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: no
NTP service: n/a
RTC in local TZ: no

The important part is “System clock synchronized: no” and “NTP service: n/a“. This tells us that there currently is no timesyncing via systemds timedatectl.

2. Install systemd-timesyncd

More ...

Erase ESP – quickly reset the wifi chip

TLDR:
Install esptool.py
pip3 install esptool

Erase flash of the esp
esptool.py -- erase_flash


One of my smart ESP devices wasn’t responding after a power down.
I debugged the problem by connecting it to a serial interface. On the comandline I saw that the chip wasn’t able to connect to its WIFI. To check wether the chip was fried or if its just the software thats messing around I had to delete all of its storage, to reflash the software afterwards. To do that i used the comands stated above.

Limoncino Sprizt – Ligurien im Glas – ein leckeres Sundowner Getränk

Zwischen Bergen und Meer, auf kleinen Straßen die sich an den Hängen von Bucht zu Bucht winden. Wo sich die kleinen Orte bunt vom Meer den Hang hinauf winden. Hier wo die Zitronen blühen, hier in Ligurien, hier kommt er her der Limoncino. Er ist der nördliche Bruder des Limoncello, der eher an der Amalfi Küste und in Sizilien zu hause ist.

More ...

Archiv