Network Configuration

Network Configuration

Try the following steps to reset the server’s internet connection:

Before Starting….

To see which file is connected to the internet, use the next command:

  • Like this, you will know which file you should update exactly.

nmcli d        

Step #1

Connect to the wifi and check the GATEWAY IP (basically the router’s IP).

  • You can check it by running the Windows terminal “cmd” and typing ipconfig.

You could also check this information by accessing the router directly:

  • The user/pass are usually → admin/admin but you sure reference your router

Step #2

You will need to change the configurations of the network directly from a network settings-oriented file usually called “ifcfg-eth0”, “ens33”, or “eno1”. In the case of this server, it is “enp89s0”. These files will usually be located at /etc/sysconfig/network-scripts/. The command to access this server’s network settings is:

vi /etc/sysconfig/network-scripts/{your_internet_file}        

Below, you can see what it usually looks like:

  • You can notice that the IPADDR, GATEWAY, and DNS1 are all “192.168.0.1” and “192.168.0.101”, changed them as shown below

Step #3

After editing the file, you must restart the network with the command next:

sudo systemctl restart network        

Right after restarting, do the next two checking measures. If the packages or the gateways are well set, the internet connection will be all setup.

ping 8.8.8.8        
route -n        


要查看或添加评论,请登录

Humberto Villalta的更多文章

  • How to Push Local Repo Code into Github Repo

    How to Push Local Repo Code into Github Repo

    This guide is intended to show how to push code from our local computer to a GitHub repository. Step 1 Open the Git…

  • HDFS Clustering Through Docker in CentOS

    HDFS Clustering Through Docker in CentOS

    Overview This guide will show you how to deploy a distributed file system for Hadoop (HDFS). We will first make a…

  • Redis Integration with Python

    Redis Integration with Python

    Overview This guide is made for those who want to install Redis in a Centos 7 docker container and to integrate Python.…

  • What is Redis?

    What is Redis?

    Overview Redis is a C programming written REmote DIctionary Server developed in 2006. Redis read and write operations…

  • Linux [~/.bashrc] File

    Linux [~/.bashrc] File

    This post is intended to show how to interact with the different settings this file offers. Some of the settings that…

  • How to Set a Virtual Machine in Windows OS

    How to Set a Virtual Machine in Windows OS

    Overview Installing a virtual machine on a Windows operating system seems to be the easiest and most basic process that…

    2 条评论
  • Spacetime Data Hub Technology Connecting the Physical and Digital Worlds

    Spacetime Data Hub Technology Connecting the Physical and Digital Worlds

    The advancement of IT technology has enabled people to project physical spaces into virtual spaces known as “digital…

  • Python Decorator Introduction with Examples

    Python Decorator Introduction with Examples

    1. Overview The decorator pattern is a software design pattern that allows us to dynamically add functionality to…

  • HyperLogLog Basics

    HyperLogLog Basics

    Overview Probabilistic data structures are very well-known because of their outstanding time and space complexity among…

  • Cuckoo Index

    Cuckoo Index

    1. Overview Cuckoo hashing is used as a solution for hash collisions, and its worst-case lookup time is constant O(1).

社区洞察

其他会员也浏览了