Change IP address on Ubuntu Server

Change IP address on Ubuntu Server

You have two options when configuring the IP address on your Ubuntu Server, and that is either a static IP address or DHCP. A static IP address allows you to manually select your IP address by configuring it on the Linux system, whereas DHCP relies on the router or DHCP server to lease you an IP address – either a reserved one or the next available one that is currently free, depending on the setup.

Read more

Installing and using the ifconfig command on Debian

How to install missing ifconfig command on Linux

Most of us longtime Linux users have the ifconfig command seared into our brain, after years of repetitive use. It comes as a shock to some when they type the command and are met with an error message (ifconfig command not found). Indeed, the command has become deprecated, but it’s still possible to install the ifconfig command. The newer alternative is the ip command, which has new functions but also a different syntax that takes some getting used to.

Read more

Ubuntu 22.04 network configuration

Ubuntu 22.04 Network Setup

Network setup for Ubuntu can range from easy to hard, depending on what you’re trying to do. Canonical prides itself on making their Ubuntu 22.04 Jammy Jellyfish Linux operating system very simple to use, even if you do not have a lot of technical knowledge. Despite its simplicity, Ubuntu has a lot going on under the hood to make things work, including networking configuration that allows you to connect to local devices or servers across the world.

Read more

Ubuntu Static IP configuration

Ubuntu Static IP configuration

In this tutorial, you will learn all about Ubuntu static IP address configuration. We will provide the reader with a step by step procedure on how to set static IP address on Ubuntu Server via netplan and Ubuntu Desktop using NetworkManager. Static IP address is recommended for servers as the static address does not change as oppose to a dynamic IP address assignment via DHCP server.

Read more

How to find my IP address, default gateway and DNS server on Ubuntu 20.04 Focal Fossa Linux from command line

How to find my IP address on Ubuntu 20.04 Focal Fossa Linux

In this tutorial, we will show how to use the Ubuntu ip command to see information about the local IP address, default gateway, and DNS servers on Ubuntu 20.04 Focal Fossa Linux. The IP address is used by your Ubuntu machine to talk to other devices on the network, like a router or other PCs. Keep in mind that your internal IP address is different from your system’s external IP.

Read more

Netplan static ip on Ubuntu configuration

Netplan static IP on Ubuntu configuration

In this tutorial, we will discuss a netplan static IP configuration on Ubuntu Linux. Netplan allows for straightforward network IP address configuration using human-readable data-serialization language YAML. The article will also discuss a default Netplan network settings and the location of the Netplan configuration file.

Read more

Ubuntu 20.04 Remote Desktop Access from Windows 10

Ubuntu 20.04 Remote Desktop Access from Windows 10/11

In this tutorial, we will show how to remote desktop into Ubuntu 20.04 from Windows 10 and 11. This will save the user from having to get up and go to their Ubuntu 20.04 computer any time that they need to access it. Instead, you will simply be able to remote desktop into Ubuntu 20.04 from Windows and it will be as if you are sitting at the other computer.

Read more

Linux IP forwarding

Linux IP forwarding – How to Disable/Enable using net.ipv4.ip_forward

It may be necessary to configure Linux IP forwarding on a Linux system in certain scenarios. If the Linux server is acting as a firewall, router, or NAT device, it will need to be capable of forwarding packets that are meant for other destinations (other than itself). Linux uses the net.ipv4.ip_forward kernel variable to toggle this setting on or off.

Read more

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