Mount samba shares with systemctl

This comes directly from the archwiki, due to I got tired of mount the nas shares using dolphin (or similar) and have to go to the /run/media.... path everytime, or by manually running: 1 mount --mkdir -t cifs //SERVER/sharename /mnt/mountpoint -o username=username,password=password,workgroup=workgroup,iocharset=utf8,uid=username,gid=group Instead, I will just manually run: 1 systemctl start mnt-nas.mount Or enable it to mount it automatically during boot and to unmount I just have to stop the service. ...

June 22, 2025 · 2 min · 311 words · Me

Folder share from Proxmox to LXC, for Samba

Since I installed Proxmox for my small home server, I struggled a bit with nas shares due to user ownership and permissions, but after searching a bit I encountered a tutorial (I can remember where) to do it easily. So, before I forget it I will write here how I nailed it. It works to share a mountpoint from Proxmox to the LXCs, so if you have an ssd/hdd in that directory, it will share the whole disk. ...

June 21, 2025 · 2 min · 307 words · Me

Make elegant presentations with org and reveal

Please see the presentation version of this post Reveal.js is an open source HTML presentation framework. It's a tool that enables anyone with a web browser to create fully-featured and beautiful presentations for free. You can either write the presentation with HTML, Markdown or using a plan in Slides, but there is an easier way. Org-Reveal Org-Reveal exports your Org documents to reveal.js presentations. With Org-reveal, you can create beautiful presentations with 3D effects from simple but powerful Org contents. ...

November 15, 2023 · 3 min · 639 words · Me

Enable blog comments in GitHub pages with utterance

It's been three years since I started this blog using Hugo and GitHub pages, but I never enabled comments since this blog makes use of static pages, some users commented my posts using github issues and I thought it was a good idea. There were many workarounds to enable comments in github pages, but I wasn't convinced. Luckily, yesterday I found out about utterances. A lightweight comments widget built on GitHub issues. Use GitHub issues for blog comments, wiki pages and more! ...

November 5, 2023 · 2 min · 389 words · Me

Automating with Python: A start

I remember once hearing "No matter what you do for living, learn a programming language it will ease your life." Although, using Linux takes you to a long trip of practicing scripting with bash, I was never really into programming (still not, eventhough I would have liked at some point). From my school years, I think the first programming language I was in touch with was C++ in highschool. ...

October 29, 2023 · 5 min · 1032 words · Me

Make smart a dumb coffee machine with ESPHome

As a Coffee lover… of course this post had to start that way. I have a dumb coffee machine for my morning coffee on my way to work. It is just an on-off coffee machine, the brewing cycle last around 10 min and then it just keeps warm the jar. Wouldn't it be a good idea to make it smart so the coffee will be ready when I wake up? ...

August 20, 2023 · 7 min · 1316 words · Me

Sonoff mini r2, my screw up and repair

I bought a sonoff mini r2 with the intention to automate my bedroom light. It requires a neutral wire to work, so it was quite difficult to use in my room due to light is connected in a two way switch and it does not have neutral wire. Eventually, I sorted it out by pulling a neutral from a plug close to one of the switches. However, in the process I screwed it up… ...

July 26, 2023 · 2 min · 264 words · Me

IoT devices, local control

If you started to install smart devices, you realized that you need apps to manage the devices. The more popular are Tuya, Smart life and eWeLink. However, they come with a drawback: They rely on the third party cloud, if you loss internet connection you won't be able to control the devices. In order to solve that you can re-flash the devices with another software. In other words, override the software of the device which will allow you to control the device locally. I'll discuss some I've used just for put them in your radar. ...

July 23, 2023 · 5 min · 901 words · Me

Home-Assistant, being lazy at home

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. HomeAssistant is basically an OS (?) where you can add all the IoT devices (e.g. smart switches, cameras, smart led lights, sensors, TVs, etc.) of your home, to be controlled locally from a friendly UI, with ability to create automations to be executed at specific times and/or events. I will just cover the basics. ...

July 16, 2023 · 3 min · 605 words · Me

Headscale, how to self-host tailscale

Previously, we spoke of how easy is to set a mesh network between your devices with tailscale. Usually, that will work for most of the people, but in the view that you are using a third party server that might log your activity you would probably want to avoid that and maybe self host the mesh management (there are huge communities that like to selfhost this kind of services of their homelab). Luckily, headscale exist as An open source, self-hosted implementation of the Tailscale control server. It has support for most of the OS's ...

February 25, 2023 · 5 min · 948 words · Me