In most cases, we can use the "ip a" command for checking the current internet connection, but this command does not provide enough information about the current internet status, such as DNS server, hardware information, subnet, netmask, and router IP. In these types of cases, we need to use "ifconfig" in the terminal.

audio-thumbnail
Ifconfig command on Debian
0:00
/85.272

However, this feature is not built-in on Ubuntu or Debian operating systems. To install it, we need to input the given command in the Debian terminal:

$ sudo apt-get install net-tools
install net-tools on debian

After inputting this command, it will ask for permission to install. Press "y" to start the downloading and installation process. This is an open-source tool for Linux and Unix. To check your current internet status, use the following command:

$ sudo ifconfig
run ifconfig command in debian

This command provides all the information you need about your current internet connection. It lists all the Ethernet ports, network cards, current IP address, router IP address, DNS server, current connection, and more information you might need. I like this tool, and I also use it for checking internet connections and information on my Linux system.

Thanks for reading this content. If you'd like to get more of this type of content, then subscribe to my blog. If you can fix or find the best solution regarding what you're looking for, then support me by giving your small contribution.

The link has been copied!