How to set up Wi-Fi on Debian

How to set up Wi-Fi on Debian running on the Raspberry Pi 4

First off, as a prerequisite it is needed to have a CLI access to the Debian OS. It can be done using a keyboard and a screen connected to the Raspberry Pi, or using a SSH connection. If you have followed the post of how to install Debian On a Raspberry Pi 4, you should be able to access with SSH using the Ethernet (RJ45) port. Also, you should have the SSID and the password of your Wi-Fi connection, and it should be enabled the DHCP protocol in your router....

November 2, 2022 路 3 min 路 Yvoictra
Install Debian on a Raspberry Pi

How to install Debian on a Raspberry Pi

I have several Raspberry Pi and in all of them I have used the Ubuntu distro. However I also wanted to use Debian as it is one of the most used Linux distros. Besides Ubuntu is based on Debian, so I guess I will feel confortable with it. Debian vs Ubuntu Debian is more stable than Ubuntu, indeed, it is one of the most stable Linux. The releases in Debian are not as frequent as in Ubuntu, and the software updates in Debian usually don鈥檛 have the latest versions....

October 29, 2022 路 4 min 路 Yvoictra
Mail Server

How to Install a Mail Server in Ubuntu with Postfix

Introduction Nowadays, the knowledge to install a mail server is an important task for any System Administrator. In our case, we are going to see how to deploy a mail server with Postfix on Ubuntu. About Postfix Postfix is a free and open-source MTA (Mail Transfer Agent) which routes and delivers electronic mail (e-mails). As an SMTP server, Postfix implements a first layer of defense against spambots and malware. Can be used to send and receive e-mail....

July 27, 2022 路 15 min 路 Yvoictra
Check TCP connectivity with Netcat

How to check TCP connectivity with Netcat

In my diary activities usually I have to check the connectivity between two hosts. In this article I will explain which is the method I use to do it. ...

July 20, 2022 路 3 min 路 Yvoictra
Test bandwidth with iPerf

How to test bandwidth with iPerf

iPerf is a tool designed to test the bandwidth between two hosts using the network. It is a really simple, powerful CLI which allows generating traffic / load TCP or UDP between 2 hosts. You could use to measure the maximum bandwidth of the network between a client and a server. It can be used to do stress tests of the Ethernet, Wi-Fi or of your ISP. iPerf2 vs iPerf3, what is the difference?...

July 18, 2022 路 7 min 路 Yvoictra
Ubuntu DNS Servers

How to get configured DNS servers in Ubuntu

In some situations could be needed to know exactly which DNS server is being used by an Ubuntu host. There are several ways to get this info, however the best option I have found is to use the systemd service systemd-resolve. This service is in charge of the name resolution of the local applications. You can use it executing systemd-resolve --status or just resolvectl. The command will return the DNS servers configured in each network interface, and which one is currently being used....

December 26, 2021 路 1 min 路 Yvoictra
Wake On LAN

How to Wake up a Synology NAS from an Ubuntu server

I have several NAS servers at home (one for Media, other for Backups鈥) so in order to extend shelf life, not all of them are on all the day. However, there are some situations in which I need to have access to a server, but it could be off and maybe i鈥檓 not at home. In that case, I have a way to turn on the Synology NAS remotely from another server....

August 25, 2021 路 2 min 路 Yvoictra
RaspberryPi

How to know which Raspberry do you have

There are several models of Raspberry Pi, with different types of CPU, RAM and hardware in general. In order to know which version do you have, there are different options. CPUinfo file Each Raspberry Pi model could have several revision codes. You can know your Raspberry Pi鈥檚 revision code using this command: cat /proc/cpuinfo The last lines show the Hardware type, the revision code, the Serial Number and in the newer ones, the Model....

February 25, 2021 路 2 min 路 Yvoictra