LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting Error: Cannot find base url for repo: base (CentOS 6) (https://www.linuxquestions.org/questions/linux-newbie-8/getting-error-cannot-find-base-url-for-repo-base-centos-6-a-4175476568/)

tverbeek 09-10-2013 04:09 AM

Getting Error: Cannot find base url for repo: base (CentOS 6)
 
Hi there,

I'm a newbie and I'm working hard to get this error fixed, but it doesn't work. I looked at the other posts in this forum but nothing helps.

I got this error:
Code:

[root@server ~]# yum install screen
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base

Can anyone help me to fix this?

Greets,
t.Verbeek

knudfl 09-10-2013 05:48 AM

Looks like you are not connected to the Internet.
Please check with your "Network applet".

The link http://mirrorlist.centos.org/?releas...h=i386&repo=os
.. is OK here. I get the expected mirror list.

tverbeek 09-10-2013 06:03 AM

I can't ping google.com so that means I'm not connected to the internet isn't it? How can i fix this? Or do i have to mail my hoster.

T verbeek.

knudfl 09-10-2013 07:31 AM

Did you check the `Network applet' ?

On some installs of CentOS 6 you will have to activate your connection
by using the "Network Manager applet" at every start up.

tverbeek 09-10-2013 07:54 AM

How to do that? Searched on the web, found nothing. I can't install NetworkManager 'cause by every yum -y command I got the error.

CodeFreaker 09-10-2013 08:11 AM

Quote:

Originally Posted by tverbeek (Post 5025226)
How to do that? Searched on the web, found nothing. I can't install NetworkManager 'cause by every yum -y command I got the error.

Network Manager comes with Redhat ..It must already installed.

Check the service

"service NetworkManager status"

If the service not running them start using "service NetworkManager start"

If you can see the network icon in above panel then check the setting and make sure you are connected to internet.

jitendra.sharma 09-11-2013 05:22 AM

Setup your network connection proper via this tutorial

http://www.cyberciti.biz/faq/rhel-ce...configuration/

Terminator3000 10-04-2013 08:41 AM

Here is a guide to setting up the NetworkManager Applet. It is fairly straightforward and you just need to fetch a couple of dependencies, although for wireless the procedure, it is the same for all.

DavidMcCann 10-04-2013 10:49 AM

You should find the tool in your menu under System - Preferences - Network connections, or run nm-connection-editor in a terminal.


All times are GMT -5. The time now is 01:06 AM.