How to bind a rootless container to a privileged port on Linux

One of the main innovations introduced by Podman was the ability to run rootless containers. Security wise, this was a big improvement, since a potentially compromised container running as root represents a security threat for the host system. In order to obtain a similar behavior, recent versions of Docker support running the docker daemon in the user context. Running unprivileged containers, albeit more secure, has also its drawbacks, as the inability to bind to privileged host ports.

Read more

How to check WiFi signal strength on Raspberry Pi

How to check WiFi signal strength on Raspberry Pi

The latest Raspberry Pi models have WiFi chips built in that allow the device to connect to a wireless network. If you are connected to WiFi on your Raspberry Pi, but experiencing poor speed or dropped connections, it is time to check the WiFi signal strength to begin troubleshooting the issue. Generally, the little WiFi chip built into Raspberry Pi 4, Raspberry Pi 3, or Raspberry Pi Zero W models is about as strong as the one you would find in your mobile phone, but checking the signal strength will tell you if you are close enough to the router or hotspot.

Read more

Set static IP on Raspberry Pi

Set static IP on Raspberry Pi

Setting a static IP address for your Raspberry Pi will ensure that the device can always be accessible at the same IP address on your network, since it will never change. This is ideal for a Raspberry Pi being used to host a service such as a gaming server, web server, etc. It makes it more convenient when applying network configurations, since you know that the Raspberry Pi can always be found at the same, predictable IP address.

Read more

How to enable xrdp on Raspberry Pi

How to enable xrdp on Raspberry Pi

When it comes to remotely accessing your Raspberry Pi, you have a lot of options available, such as SSH and VNC. Yet another option available would be xrdp, which is the open source implementation of the Remote Desktop Protocol (RDP). RDP is commonly used on Windows systems, where it is installed by default, and other operating systems also like to implement this protocol in some capacity due to its widespread use and reliability.

Read more

How to check open ports on Raspberry Pi

How to check open ports on Raspberry Pi

Raspberry Pi devices are commonly used to host a variety of lightweight services as they can do so very affordably. A simple example would be a web server, which handles user requests whenever someone navigates to a website. In order to make sure these services are accessible either on the local network or over the internet, we must make sure that the corresponding ports are open. Checking for open ports is also an essential security task that all administrators should perform in order to make sure that their Raspberry Pi only has the ports open that are necessary.

Read more

Ubuntu Server 20.04: Connect to WiFi from command line

Ubuntu Server 20.04: Connect to WiFi from command line

In this tutorial, you will learn how to connect to WiFi from command line on Ubuntu using Netplan. While this method can be used on Ubuntu desktop systems with a GUI, it is especially useful if you’re running a headless Ubuntu 20.04 system like a Raspberry Pi or need to connect to Wifi on Ubuntu Server. Follow along with us below as we connect to a WiFi on command line via SSID and network key.

Read more

How to set hostname on Raspberry Pi

How to set hostname on Raspberry Pi

The purpose of this tutorial is to show how to change the system hostname on a Raspberry Pi. The hostname is an important part of your device, as it allows it to be easily identified on the local network. The hostname is also shown in other prominent places throughout the system, such as in the prompt of the command line terminal. This helps make it easy to know which system you are working on if you frequently SSH into your Raspberry Pi and other systems simultaneously.

Read more

How to perform Internet speed test on Raspberry Pi

How to perform Internet speed test on Raspberry Pi

Performing an internet speed test from your Raspberry Pi is a good way to confirm that you are getting the expected download and upload speeds to your device. If you suspect that websites or other external connections are loading slower than they should be, performing a speed test is the first troubleshooting step to take, and allows us to see if our suspicions are correct. After the speed test, we can pinpoint the source of slow downs as either the connection to a router or other local device, or perhaps the ISP itself is the problem.

Read more