Home > System Tutorial > LINUX > I cannot access the Internet after CentOS is installed. How to solve the problem?

I cannot access the Internet after CentOS is installed. How to solve the problem?

WBOY
Release: 2024-01-04 18:06:29
forward
2027 people have browsed it

CentOS cannot access the Internet normally after installation mainly because the gateway in the directory /etc/sysconfig/network-scripts/ is in the No state. This requires changing it to yes:

1. First enter /etc/sysconfig/network-scripts/, find the file ifcfg-eno (the number after the file is random, and different computers have different numbers after installation), and use the vim/vi editor to open the file ;

I cannot access the Internet after CentOS is installed. How to solve the problem?

I cannot access the Internet after CentOS is installed. How to solve the problem?

2. After configuring wq, save and exit. At this time, the network configuration still does not take effect. You need to restart the network service service network restart

I cannot access the Internet after CentOS is installed. How to solve the problem?

Ok! Done

The above is the detailed content of I cannot access the Internet after CentOS is installed. How to solve the problem?. For more information, please follow other related articles on the PHP Chinese website!

source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template