Internet doesn't work from terminal

Issues related to configuring your network
Post Reply
all solution
Posts: 5
Joined: 2020/04/14 05:29:06

Internet doesn't work from terminal

Post by all solution » 2022/06/09 02:37:25

I am using centos 8 since 2 years ago. But now days I can't update my os, terminal hadn't internet connectivity.
Image
when I type

Code: Select all

yum update
then it call's OpenVPN access server. I don't why it calls that.

But firefox internet works fine.
How can I check internet connection of terminal. Pinging 8.8.8.8 is ok

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Internet doesn't work from terminal

Post by TrevorH » 2022/06/09 09:22:16

Why do you have a repo with "Centos7" in its name installed on a CentOS 8 system? That does not sound correct. I would suggest that you look to see which file in /etc/yum.repos.d/ defines that repo, then query which package owns that file using rpm -qf /etc/yum.repos.d/$file.repo (obviously changing $repo to the filename in question!). If a package owns it then yum remove that package as it's not the correct one for your system.

Also, CentOS Linux 8 went EOL at the end of 2021 and there will be no more updates to it. If you are running CentOS Linux 8 then you need to convert your system to one of the new rebuilds (see my Sig below) or you need to convert it to the new "beta-like" CentOS Stream 8. CentOS Linux 8 is EOL and should not be used any morel
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

all solution
Posts: 5
Joined: 2020/04/14 05:29:06

Re: Internet doesn't work from terminal

Post by all solution » 2022/06/10 00:24:44

I deleted it, now it seems work. thank you.
anyway how do I convert my current version to latest without deleting files?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Internet doesn't work from terminal

Post by TrevorH » 2022/06/10 08:21:13

Both Alma and Rocky have conversion scripts that will go from CentOS Linux 8 to their distros. Both are CentOS Linux replacements and aim to be bug for bug compatible with RHEL 8. There is also CentOS Stream 8 which is more... beta.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply