LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-27-2006, 12:12 PM   #1
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
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
 
Old 12-27-2006, 12:14 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The "http://" isn't part of the hostname, it just specifies the protocol to use in your browser.
 
Old 12-27-2006, 12:22 PM   #3
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Original Poster
Rep: Reputation: 30
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
 
Old 12-27-2006, 03:03 PM   #4
raven4d
Member
 
Registered: Feb 2006
Location: Damascus-Syria
Posts: 117

Rep: Reputation: 15
if u r behind a proxy ,,did u export it ?
 
Old 12-27-2006, 03:36 PM   #5
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GET http://www.google.com/intl/zh-CN/ ? filex Linux - Security 3 09-18-2006 02:13 AM
ping from xp to www.google.com gideonho Linux - Networking 4 07-26-2006 03:59 AM
ping: unknown host www.google.com juanjavier_xxx Debian 8 01-02-2006 01:47 PM
difference between www.google.com/linux and www.google.com dr_zayus69 General 4 01-12-2005 02:45 PM
Still can't ping www.google.com Wyk3d Linux - Networking 1 11-07-2004 01:17 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration