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. For Example: ...

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. It is not big but it is what I mostly use in the servers I have with Linux. ...

October 24, 2020 · 2 min · Yvoictra
IPInfo.io Home

Get IP address location info from command line

The Linux command line is a great tool. Today I’ll like to share a method to get Geographical IP information with one command, using curl and the tool of ipinfo.io. It is as easy to use this command: $ curl ipinfo.io/<IP Address> Here you have an example: You will have these parameters: IP City Region Country Loc (Coordinates) Org Postal Timezone If you want to get information about the Public IP Address you use to go to The Internet, you could execute the command this way: ...

September 5, 2020 · 1 min · Yvoictra

Solve issue "client intended to send too large body" in NGINX

I have faced an issue in a web server using NGINX while trying to upload a file using wordpress. In the nginx error log I saw the error “Client intended to send too large body” in this entry: $ tail -f /var/log/nginx/*error*.log 2020/09/01 14:31:04 [error] 884#884: *126565 client intended to send too large body: 1195619 bytes, client: 55.173.250.46, server: test.com, request: "POST /wp-json/wp/v2/media?_locale=user HTTP/2.0", host: "test.com", referrer: "https://test.com/wp-admin/post.php?post=2460&action=edit" ...

September 1, 2020 · 1 min · Yvoictra

How to resolve LAN hostnames with Ubuntu

By default, Ubuntu desktop installation will provide DNS resolving configured, however in Ubuntu server installation avahi-daemon (or mdnsresponder) is needed to be installed to provide local LAN DNS resolution. In my case, i found the error “Temporary failure in name resolution” when I tried to resolve a machine of my LAN from Ubuntu. yvoictra@zoar:~$ ping erie.local ping: erie.local: Temporary failure in name resolution To solve this issue, there is no need to install a DNS server in the LAN. We can use the mDNS (Multicast Domain Name System) protocol. This protocol is used to resolve host names in a small network (LAN). The mDNS service can be contacted using UDP queries over port 5353. The mDNS protocol is published as RFC6762 and implemented by the Apple Bonjour and avahi-daemon services. ...

April 19, 2020 · 2 min · Yvoictra