How do I create a home network with my Linux computer? – Complete design

Creating a home network is very easy.In this article, we’ll show you how to do that and the steps Set up a home network on a Linux computer. Following the article below, you can easily create your home network on your Linux computer.

What does it take to create a home network?

In an office, it is common for all computers to be connected to each other to facilitate file transfers and network connections.but also at your house You can have a home network, especially if you have several computers and electronic devices through a network known in computing as a LAN

Additionally, you can create a home network to easily connect devices by creating and configuring a WiFi wireless network or via an Ethernet cable. This not only transfers files, but also computer data, printer sharing, and internet connections.

Now, to create a home network, you need three basic elements, for example: you must There are wireless and network cards, as well as ethernet cables and wifi modem routers. All this is enough to start creating your network in your home. In the case of Linux, you must have a computer with that operating system, the scanning protocol. But in addition, in order to be able to enjoy the network you create, you must configure your network correctly. Please note the following:

have a home network connection to linux

What is the procedure to start creating a home network on Linux?

Now, to start creating your home network on your Linux computer, you must first install the Server package on the computer that will be used as a server and on the terminals corresponding to the other computers in your home, you must Install the client package.

To perform this process, Enter the terminal as root And execute the following command for the server: sudo apt-get install openssh/server, and for other computers, namely the terminal execute the following command: sudo apt-get install openssh/client. You can also install both packages on each computer, so the navigation will be reciprocal.

Now You run Nautilus, which is the file manager that allows you to configure the network system on Linux. You must run Nautilus in browser mode and proceed to change the address as described here: sftp:///. This will allow you to access the desired remote folder, now press enter.

The popup that appears on the screen will most likely ask you to enter your username and password, click OK and you will see the files in the remote folder. In this way, you will create a home network on the Linux operating system. You’ll also automatically have a remote entry that you can configure to connect to other devices in your home. This is a simple process that can be performed safely and securely.

How to configure a home network in Linux?

In order to configure Linux for your home network, it is important to understand how networking works. If the network does not work on the system, it must be configured with DHCP and a static IP address. So, so that you can properly configure your home network on your Linux computer, we’ll show you how to perform the configuration process.

Configure your home network

Set up in network hardware

This is an automated program.because most of The distribution has a scripting system that allows automatic detection of network cards And modules can be loaded from their respective drivers. When compiling the kernel, you must ensure that the correct drivers are compiled into the main kernel file. This way it will be loaded at system startup.

On the other hand, you have to remember that if the hardware is not detected correctly, You will need to load the network hardware drivers To do this, you must use the following must-do command: modprobe. This allows for network adjustments.

Configure using DHCP

The DHCP protocol is the easiest way to configure computers on a network. DHCP corresponds to a client/server protocol, so one computer can manage the parameters of other computers. It works as follows: When a client is running with DHCP, a multicast is sent to discover the DHCP server.

configure dhcp

The server responds with this address to connect to the network using this IP address. more importantly, The DHCP server provides the hostname that the client must configure according to the parameters it receives. In the Linux operating system, the DHCP clients are pump, dhclient, and dhcpcd. The most commonly used Linux distributions mainly include these three clients. When the system receives an instruction to use DHCP in the installation, these clients are installed by default.

You can easily modify it if your distribution has multiple clients. Now, the DHCP client must be running at system startup, and the system has a line in the configuration file that allows you to check if you can run the DHCP client on Red Hat or Fedora. The line must contain the following: BOOTPROTO=dhcp. After configuring the DHCP client, you proceed to test the described configuration.

IP address

Personalize with a static IP address

To customize with a static IP address, you must keep the following in mind: You can Use the ifconfig command to define the IP address and netmask. The gateway address you can set with the route command. And the parameters of the DNS server, which are required to perform translation between hostnames and IP addresses. You can permanently parameterize and establish domains.

Deja un comentario