LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-19-2008, 06:51 AM   #1
johnsnails77
LQ Newbie
 
Registered: Nov 2007
Location: Sydney Australia
Distribution: Fedora 8
Posts: 11

Rep: Reputation: 0
Question Yum firefox cannot access internet, Konqueror and kopete can


I have found similar threads but none arrived at solution.

http://www.linuxquestions.org/questi...s-fine-452413/
http://www.linuxquestions.org/questi...ternet-570428/
http://www.linuxquestions.org/questi...ternet-476570/

So here is my problem, i finially got my windows box to share its wireless connection with my fedora 7 box(fresh install) by bridging the connections. Konqueror works fine, so does kopete. Unfortunately yum and firefox that I have realsied so far dont work.

here is the error from yum:
[root@localhost ~]# yum search kde
Loading "installonlyn" plugin
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-7&arch=i386 error was
[Errno 4] IOError: <urlopen error (113, 'No route to host')>
Error: Cannot open/read repomd.xml file for repository: fedora



if i type http://www.google.com into firefox it gives a standard error message about not being able to connect, but if i do this:
http://64.233.167.99/
which is one of google's ip addresses it displays the google page fine.

any other info you want just ask. thanks heaps.
regards
 
Old 03-19-2008, 07:48 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,451
Blog Entries: 3

Rep: Reputation: 182Reputation: 182
you need to configure your repository . the the default one does not work. if you are using 7 then you may be in trouble the repository has been down for a long time. f8 is what they are using. yum looks for the repository you configured in setting. but if F7 is no longer being kept up then it is not usable. so If you do find a f7 repository then use there key and carry on.
 
Old 03-19-2008, 07:52 AM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Looks like a DNS issue. Check that /etc/resolv.conf has your nameservers listed.

Dave
 
Old 03-19-2008, 04:08 PM   #4
johnsnails77
LQ Newbie
 
Registered: Nov 2007
Location: Sydney Australia
Distribution: Fedora 8
Posts: 11

Original Poster
Rep: Reputation: 0
Cool Here is my /etc/resolv.conf output

Quote:
Originally Posted by ilikejam View Post
Looks like a DNS issue. Check that /etc/resolv.conf has your nameservers listed.

Dave
[root@localhost ~]# cat /etc/resolv.conf

nameserver 10.1.1.1
nameserver 10.1.1.1

afaik this is my dns. at least that is what ipconfig /all lists next to dns on my windows box.

many thanks.
 
Old 03-19-2008, 04:11 PM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Can you ping 10.1.1.1 ?
 
Old 03-19-2008, 04:12 PM   #6
johnsnails77
LQ Newbie
 
Registered: Nov 2007
Location: Sydney Australia
Distribution: Fedora 8
Posts: 11

Original Poster
Rep: Reputation: 0
should i try my fedora 8 box...

Quote:
Originally Posted by Drakeo View Post
you need to configure your repository . the the default one does not work. if you are using 7 then you may be in trouble the repository has been down for a long time. f8 is what they are using. yum looks for the repository you configured in setting. but if F7 is no longer being kept up then it is not usable. so If you do find a f7 repository then use there key and carry on.
thanks for the response. I do have an installation of fedora 8. Was very problematic when it came to installing compiz so decided to install fc7 on old h/d. i will try set up internet connection sharing on my f8 box and see if that solves the yum issue. hmm, but it still does not explain firefox behaviour does it?
 
Old 03-19-2008, 04:14 PM   #7
johnsnails77
LQ Newbie
 
Registered: Nov 2007
Location: Sydney Australia
Distribution: Fedora 8
Posts: 11

Original Poster
Rep: Reputation: 0
Ping Statistics

Quote:
Originally Posted by ilikejam View Post
Can you ping 10.1.1.1 ?
here are my ping statistics

[root@localhost ~]# ping 10.1.1.1
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=255 time=6.16 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=255 time=3.45 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=255 time=3.26 ms
64 bytes from 10.1.1.1: icmp_seq=4 ttl=255 time=4.70 ms
64 bytes from 10.1.1.1: icmp_seq=5 ttl=255 time=2.68 ms

--- 10.1.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 2.683/4.055/6.167/1.246 ms

guess so

thanks heaps for prompt reply
 
Old 03-19-2008, 04:56 PM   #8
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Weird.

So QT apps work (Konqueror and Kopete), but YUM and Firefox don't.

Is there anything in kcontrol -> Internet & Network set up to go through a proxy, or any service discovery?
Does 'ping google.com' work?

Dave
 
Old 03-19-2008, 05:21 PM   #9
johnsnails77
LQ Newbie
 
Registered: Nov 2007
Location: Sydney Australia
Distribution: Fedora 8
Posts: 11

Original Poster
Rep: Reputation: 0
fedora 8 box

Just before I check, here are my findings from my f8 box.

initially firefox actually worked, it could find www.google.com hmm but then it stopped, it would however find it though http://64.blahblah

kopete worked as did konqueror in the expected way. again yum didnt though.

John.
 
Old 03-19-2008, 05:28 PM   #10
johnsnails77
LQ Newbie
 
Registered: Nov 2007
Location: Sydney Australia
Distribution: Fedora 8
Posts: 11

Original Poster
Rep: Reputation: 0
K Kontrol Center

Under Proxies it is set up as "direct connection to the internet" and nothing else seems to be the problem, at least that I can see.

thanks.
 
Old 03-19-2008, 05:36 PM   #11
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Assuming 'ping google.com' works, I can't think of any reason yum shouldn't work.
Does 'env | grep -i http' return anything?

I'm stabbing in the dark now...

Dave
 
Old 03-19-2008, 05:40 PM   #12
johnsnails77
LQ Newbie
 
Registered: Nov 2007
Location: Sydney Australia
Distribution: Fedora 8
Posts: 11

Original Poster
Rep: Reputation: 0
Wink

opps, sorry forgot to tell you that ping google.com works fine.

um nar it didnt return anything.
thanks heaps
John.
 
Old 03-19-2008, 05:53 PM   #13
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
I'm completely stumped. I can't think of anything common to Firefox and YUM that would affect name service lookups that wouldn't affect QT apps.

I think you may have to sacrifice an animal to get this working. A goat is traditional for network issues.

Dave
 
Old 03-19-2008, 06:09 PM   #14
johnsnails77
LQ Newbie
 
Registered: Nov 2007
Location: Sydney Australia
Distribution: Fedora 8
Posts: 11

Original Poster
Rep: Reputation: 0
hahahah
thanks for all your help.

yep, goat it is.

 
Old 03-19-2008, 06:29 PM   #15
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
OK, last ditch attempt. Put the goat away for a minute.

Try using a different DNS service...
Put:

nameserver 208.67.222.222

as the *only* entry in /etc/resolv.conf and see if yum/Firefox works. It's an OpenDNS server.

Dave
 
  


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
Firefox can not access the internet sharkus Linux - Software 8 07-30-2007 12:57 AM
Konqueror won't access the internet Larry Webb Suse/Novell 7 12-04-2006 01:13 AM
native kde progs (konqueror, kopete etc) are unable to connect to internet MasterOfTheWind Linux - Software 5 08-25-2006 08:19 AM
No access to internet from Konsole, Konqueror works fine Tim.R Linux - Networking 2 06-07-2006 09:57 PM


All times are GMT -5. The time now is 12:56 PM.

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