Fail2ban

Protect your server with Fail2ban

What is Fail2ban? Fail2ban is a software written in Python which help us to prevent brute force or DDoS attacks. It uses the failed access attempts logged in the system to detect the malicious IP addresses. Then, these IP addresses are blocked to avoid more attempts. It’s a software highly recommended to have installed in any system exposed to The Internet. How does Fail2ban work? Fail2ban is as a daemon which is monitoring every access to the system to the different services which have open ports (Mainly SSH, HTTPS…)....

December 25, 2022 · 4 min · Yvoictra
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’t have the latest versions....

October 29, 2022 · 4 min · Yvoictra

Raspberry Pi

This blog have several items related to Raspberry. I decided to created this page to have all Raspberry Pi related posts, ordered. Info How to know which Raspberry do you have How to install Ubuntu in your Raspberry Pi 4 without Keyboard nor screen How to install Debian on a Raspberry Pi How to change the hostname in Ubuntu How to change language and timezone in Ubuntu Customization Customize the terminal with screenFetch How to add alias to your Linux Customize bash prompt with colours in Ubuntu Networking How to set up Wi-Fi on Ubuntu running on the Raspberry Pi 4 How to set up Wi-Fi on Debian running on the Raspberry Pi 4 How to resolve LAN hostnames with Ubuntu Monitoring How to Monitor an Ubuntu Server with Grafana and Prometheus How to monitor network traffic with vnStat Mail Configure Postfix to send e-mail using Sendinblue as SMTP server Security Protect your server with Fail2ban Integrate AbuseIPDB with Fail2ban Users How to create a new user in Ubuntu from terminal How to activate SUDO for a user in Ubuntu

March 31, 2020 · 1 min · Yvoictra

List installed packages in Ubuntu or Debian

In some situations we need to know which packages we have installed in a Debian or Ubuntu system. In that case, we can use the tool dpkg, which will give us the information we need. dpkg Next command will give us the current packages installed with different states: dpkg --get-selections The states we can have are: install: The package is selected for installation. hold: A package marked to be on hold is not handled by dpkg, unless forced to do that with option –force-hold....

July 30, 2018 · 2 min · Yvoictra

Customize our Linux terminal with screenFetch (Ubuntu, Debian, CentOS, Linux Mint...)

screenFetch is a software for GNU/Linx which shows information related to our Hardware and our Operating System, including the logo of the Linux Distro it is being used. This is the info screenFetch shows: User Name Host Name OS with Code Name Installed Kernel Info System Uptime List of Installed Packages bash Shell Version System Resolution DE (Desktop Environment) WM (Window Manager) WM Theme GTK Theme Icon Theme Font CPU RAM Usage Here some examples:...

January 4, 2018 · 2 min · Yvoictra