How to set up a simple Wireguard VPN

Install Wireguard I’m using a Debian virtual machine for the server. In Debian 10, you’ll need to install the following two packages: apt install wireguard-dkms wireguard-tools Set up keys First, navigate to /etc/wireguard (If not created, run mkdir /etc/wireguard as root) and then run the following commands as root: wg genkey | tee laptop-private.key | wg pubkey > laptop-public.key wg genkey | tee server-private.key | wg pubkey > server-public.key...

fevereiro 15, 2020 · 3 minutos · Bruno Miguel

Agora já sou geek

Hoje chegaram os autocolantes que encomendei no Sticker Mule em dezembro, numa promoção em que o pack ficava a €1 e pouco. Com isto, já posso dizer que sou geek e o meu portátil ficou “lit af”. Só tenho pena que o pack não incluísse um autocolante do projeto GNU. Teria sido ouro sobre azul.

janeiro 15, 2019 · 1 minuto · Bruno Miguel

How-to customize the Bash prompt

In order to adapt a bit more my Debian Stable installation to my workflow, I’ve been tweaking the bash prompt. Simplicity and small line width are key here, because I often have tmux running with several panes in the same window and small panes with large one-liner prompts suck a lot! Everything feels crammed and hard to read. Just take a look at the image below to get an idea....

setembro 21, 2018 · 2 minutos · Bruno Miguel

Trying Debian Stable for everyday desktop usage

A few days ago I installed Debian Stable. I’d been using Sparky Linux, which is based on Debian Testing, and was happy with it. The tools it integrates make the life of a desktop user easier when managing the system, I had no issues with it and had a bunch of software available in the repositories. Well, since Sparky is based on Debian, the “bunch of software available in the repositories” part was a given from the start....

setembro 3, 2018 · 2 minutos · Bruno Miguel