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’m 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’s 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
Speedtest

How to Use Speedtest From Terminal

Speedtest is a great tool to verify the status of your internet connection. With it you could check if your ISP (Internet Service Provider) is providing you the speed you have contracted. Normally you would like to use the Speedtest Website version, but here I am going to explain how to use from a Linux Command Line or Linux Terminal. This tutorial is based of the use of the speedtest-cli GitHub Project....

February 19, 2021 · 3 min · Yvoictra
CSGO Ubuntu Ubuntu

How to install a CS GO (Counter-Strike: Global Offensive) server in Ubuntu 20.10

Some people are interested in have a private server in order to play CS GO (Counter-Strike: Global Offensive) with their friends. The process is easy to follow. What is needed? A server Memory: At least 2GB RAM (I recommend 4GB) Disk: At least 15 GB os disk space CPU architecture: x86 (ARM not supported) A Valve account Create a new user First of all, it is important to create a new user in Linux in order to prevent CS GO server possible hacking to affect your Linux node....

December 8, 2020 · 7 min · Yvoictra

How to add aliases to your Linux

Using a Linux Operating System, there is a high level of customization, depending on your preferences or needs. One important thing is to create aliases to the most common commands in order to optimize the time you use. In mi case, I love to use .. instead of cd .. or update to update all my Linux software pending updates. Here I put my list of aliases for Ubuntu (based on Debian) or CentOS (based on RHEL) distribution....

October 24, 2020 · 2 min · Yvoictra