Erick Durán A personal blog

Keeping my plants alive while overseas

During the last couple of months I’ve been getting into amateur gardening, even though I had planned to go on vacation for a few weeks. In order to keep my plants alive for that time, I set myself the goal, as an automation fan, to create a home-made irrigation system using Python, Raspberry Pi and Telegram, using some other projects I found online as reference.

Read more

Distroless: a first step into securing Docker

Docker came as great and easy solution to overcome many problems, such as dependencies, isolation, agility, etc. However, time passes and it becomes more and more common to find developers blindly including vulnerable dependencies that they might even not be using. Distroless can be the first step to solve that.

Read more

Setting up multiple static IP addresses on a Raspberry Pi

After looking up in a couple of sites, I couldn’t find a working configuration to get multiple IP addresses working on the wlan0 interface for a Raspberry Pi running Raspbian Stretch (Desktop version). This version of Raspbian configures the network interfaces via the dhcpcd service instead of networking, like other distributions of Linux.

Read more

A Google Domains IP updater script for dyndns2 incompatible routers

I was recently making a setup for a home VPN using a Raspberry Pi Zero W and OpenVPN and I ran into a problem when trying to link my home’s IP address to my domain. My current DNS provider is Google Domains and it turns out that they use the dyndns2 protocol for Dynamic DNS, and my router isn’t compatible with it. After looking around my configuration I simply couldn’t find a sane way to enable it, but I found here that they have an API to update your Dynamic DNS record. I decided to make a script that could run in background after my Pi’s startup so it would update the current IP to Google Domains and keep my domain updated all the time (or most of it).

Read more

Cristales de papel

Estaba sentado, concentrado en el plano monocromático. Esas voces escurriéndose, entrelazándose y escapándose entre sí, siguiendo caminos armónicos delicadamente planeados por uno de los genios más sentimentales de la historia. Los sonidos colapsaban unos con otros, dejando caer sus partes en las posiciones más precisas del suelo melódico. Un mapa de las vibraciones esparcidas por el aire se formaba en mi cabeza, asimilando la belleza visual de un caleidoscopio transformando a las luces de diversos colores que emanan de una metrópoli por la noche.

Read more