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

The purpose of this tutorial is to show 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

ssh_exchange_identification read connection reset by peer

ssh_exchange_identification read connection reset by peer

The ssh_exchange_identification read connection reset by peer SSH error is something you may see in your terminal when trying to log in to a remote host or when your session expires on a Linux system. In this tutorial, we will go over a few different causes for this error and show you how to troubleshoot the connection on your system. Using one of our methods below will hopefully remedy the error and allow you to log in via SSH or maintain your current session.

Read more

ssh_exchange_identification: connection closed by remote host

ssh_exchange_identification: connection closed by remote host

If you are trying to SSH into a remote host from a Linux system, the ssh_exchange_identification: connection closed by remote host error is one you might encounter when trying to log in. In this tutorial, we will go over a few different causes for this error and show you how to troubleshoot the connection on your system. Using one of our methods below will hopefully remedy the error and allow you to log in via SSH.

Read more

Resolving the bash: netstat: command not found error on Debian/Ubuntu Linux

bash: netstat: command not found – Debian/Ubuntu Linux

The netstat Linux command is used by system administrators to see information about network connections. Netstat is a powerful utility that can print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. It has been superseded by the ss command in recent years, but is still a viable tool for network diagnostics and troubleshooting.

Read more

Ubuntu 22.04 NTP server

Ubuntu 22.04 NTP server

NTP stands for Network Time Protocol and is used for clock synchronization across multiple computers. An NTP server is responsible for keeping a set of computers in sync with each other. On a local network, the server should be able to keep all client systems to within a single millisecond of each other.

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 ifconfig command.

Read more

Netplan static ip on Ubuntu configuration

Netplan static IP on Ubuntu configuration

In this article 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