How do I use and install the «IFCONFIG» command on my Ubuntu 20 device?

Once we talk about computers, we undoubtedly talk about the internet and connectivity, and The deeper we go, the more we talk about the web. This is a highly relevant question in every operating system we know of. For the Ubuntu operating system, it is necessary to know how the network is configured.

On systems provided by Linux, Using the Command Prompt is the foundation of everything, because through this we can execute various commands by command. Because mastering the network is so important to be able to perform the designed functions of these media, because without being securely connected to the network, there is nothing we can do.

connect everything online

What does the ifconfig command do in Ubuntu 20?

Order ifconfig is designed to own domains over the network, as well as configuration and management and all the parts that make it up. Taking Ubuntu as an example, it is generally used when there is a problem with the network and we need to adjust it. But the reality is that it is a very integral element in every aspect of the web. One of its features allows us to know what the MAC address of our device is.

This command is very useful for us to understand what the network integrates, how the network is composed, and where the failure occurs.Furthermore, it gives us Programmatic tools to make necessary adjustments And to resolve any issues that arise, it is undoubtedly worth examining what this command provided by the Unix operating system is so well known and sought after at the business level for us.

What actions can be performed in a command?

In this part, we will investigate what we can do with this useful command.How to find out what the IP address of a computer is, we can also View accurate information about network adapters And to be able to understand in detail how it is constructed. By entering the ifconfig command, we can continue.

  • We can see what the interface of the adapter is through the «Link encap» line, usually Ethernet
  • The broadcast address of the network can be viewed with «Broadcast»
  • Using «addressHW» we can see the physical address of the network adapter to which we can give unique access
  • «-a» shows all available interfaces
  • «UP» is the interface to activate the selection
  • «Down» to close the interface
  • «–help» provides us with help information for the ifconfig command
  • To know the number of packets is «packetRX»

use ifconfig command in ubuntu

These are just some of the subcommands that make up this utility, which allows us to understand what it is and our potential in determining what process is going on, how it is configured, and how we can manage it.

How to do IFCONFIG installation on Ubuntu 20?

To proceed with installing ifconfig, we will first investigate whether We have installed the net-tools packageto be able to access everything related to tools that allow configuration and execution of commands.

Since it’s not installed by default, we have to install net-tools «sudo apt install network tools» But first we have to update the system package «sudo apt update». Having installed the tool, we can execute the ifconfig command. Once executed, we can start using it.

How do you start using it to change your system?

To get started with this command, we just need to add the determinant to ifconfig, i.e. «ifconfig -a» will show all available interfaces Or we can type «ifconfig -s» which shows us the same information but abbreviated, if we wanted to make a change we would type something like «ifconfig eth0 up» to enable an interface and «ifconfig eth0 down» to disable it.

We can also perform specific configuration operations to prepare the configuration in case we want to use the web server, when activating it we have to remember that we have to install the «net-tools» package to use it, otherwise it is possible

How to enter ifconfig?

To enter you just need to open the command prompt console and enter the ifconfig command, this will give us a detailed information, with Information about the networks we are connected to.

connect to everything server

Why does «Order not found» appear and how to fix it?

Once we’re in the terminal and access the ifconfig command utility, we can get to work in case a message appears, tell us order not found, the safest thing is that we don’t have the «net –tools» package installed, we have to go ahead and install it as described above. Remember to update the package before and you will be in control.

Deja un comentario