LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FC6 ping on terminal works with www.google.com, not with http://www.google.com (https://www.linuxquestions.org/questions/linux-networking-3/fc6-ping-on-terminal-works-with-www-google-com-not-with-http-www-google-com-514069/)

pxumsgdxpcvjm 12-27-2006 12:12 PM

FC6 ping on terminal works with www.google.com, not with http://www.google.com
 
Howdy,

I am having issues with yum, and think I have traced the issue back to what I can and cannot ping. When I try:

[dwilson@localhost etc]$ ping mirrors.fedoraproject.org
PING fpserv.linux.duke.edu (152.3.220.166) 56(84) bytes of data.
64 bytes from mirrors.fedoraproject.org (152.3.220.166): icmp_seq=1 ttl=52 time=105 ms

Which works all fine and dandy. However, when I add the http://, I get:

[dwilson@localhost etc]$ ping http://mirrors.fedoraproject.org
ping: unknown host http://mirrors.fedoraproject.org

Both URLs open fine in FireFox. When I try with nslookup with both:

[dwilson@localhost etc]$ nslookup http://mirrors.fedoraproject.org
Server: 205.171.3.65
Address: 205.171.3.65#53

** server can't find http://mirrors.fedoraproject.org: NXDOMAIN

[dwilson@localhost etc]$ nslookup mirrors.fedoraproject.org
Server: 192.168.0.1
Address: 192.168.0.1#53

Non-authoritative answer:
Name: mirrors.fedoraproject.org
Address: 152.3.220.166

I can provide any needed information for resolution, but I am pretty rusty on my linuxing, it has been years, so explicit instructions are helpful.
Thank you kindly in advance for your attention in this matter.

Dan W

Nylex 12-27-2006 12:14 PM

The "http://" isn't part of the hostname, it just specifies the protocol to use in your browser.

pxumsgdxpcvjm 12-27-2006 12:22 PM

Let me take a step back. I am having an issue with yum, and am completely unable to do updates. Because all the conf files and mirror listings contain the protocols, I am assuming this may be the issue for the yum as it is for ping. When I try to run yum, I get the following:

[dwilson@localhost yum.repos.d]$ sudo yum -y update
Password:
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...re-6&arch=i386 error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Error: Cannot find a valid baseurl for repo: core

Perhaps there is a different underlying issue? Thanks very much.

Dan W

raven4d 12-27-2006 03:03 PM

if u r behind a proxy ,,did u export it ?

pxumsgdxpcvjm 12-27-2006 03:36 PM

I do not believe I am going through a proxy. This is all through my home via a qwest dsl connection. On the my windows side, anything I would've expected to need to give proxy info to hasn't needed it.


All times are GMT -5. The time now is 08:42 PM.