PDA

View Full Version : Why after installation,Fedora can only access fedora's website?


cwchen
2008-07-10, 02:28 AM CDT
I can't access other website,my Ip is static ,DNS works well,but can only access fedora's website,I confused,also yum don't work.
Any body can help me ?

glennzo
2008-07-10, 03:08 AM CDT
A lot of questions for you.

Is the computer at home or work?
Wireless or wired?
What's your IP address?
How do you know DNS works?
Can you ping anything at all?
Are you behind a router?
Can you access the router from your computer?
The list could go on from here.

Yum probably doesn't work because of your network issues so once you get that sorted yum will likely work.

roachy
2008-07-10, 03:32 AM CDT
try doing an nslookup for known good sites:

nslookup www.google.com

Just to prove DNS is fine....then try to ping the address, just to prove that you can connect externally....

If this works but the web doesn't possibly firewall/proxy issue

cwchen
2008-07-10, 04:38 AM CDT
A lot of questions for you.

Is the computer at home or work?
Wireless or wired?
What's your IP address?
How do you know DNS works?
Can you ping anything at all?
Are you behind a router?
Can you access the router from your computer?
The list could go on from here.

Yum probably doesn't work because of your network issues so once you get that sorted yum will likely work.

My computer at work,and is wired,my ip address is internal address,DNS works well because my windows computer is in use, i can ping my gateway address
Thanks!

cwchen
2008-07-10, 04:40 AM CDT
try doing an nslookup for known good sites:



Just to prove DNS is fine....then try to ping the address, just to prove that you can connect externally....

If this works but the web doesn't possibly firewall/proxy issue

All you said works fine,i use nslookup www.google.com,it works ,and my browser doesn't use any proxy ,and my firewall already disabled.

Thanks!

roachy
2008-07-10, 05:21 AM CDT
hmmm

Do you have Lynx installed? could you try installing that (yum install lynx) and trying to see whether you can browse the web?

Just trying to narrow down whether it's possibly a browser issue....

cwchen
2008-07-10, 05:28 AM CDT
hmmm

Do you have Lynx installed? could you try installing that (yum install lynx) and trying to see whether you can browse the web?

Just trying to narrow down whether it's possibly a browser issue....

Sorry,I didn't understand, what Lynx is?
My computer was default installed,I didn't change anything.

Thanks

pete_1967
2008-07-10, 06:08 AM CDT
Did you check that Firefox isn't in offline mode (File->Work Offline)?

roachy
2008-07-10, 06:45 AM CDT
Sorry,I didn't understand, what Lynx is?
My computer was default installed,I didn't change anything.

No problem - Petes comment might be a good jumping off point to test....in the File menu, check that work offline is NOT checked. If this doesn't work, then....

Lynx is a text based browser and is really useful for testing whether issues you are experiencing are to do with firefox of something more unusual. To install Lynx, open a terminal and type

yum install lynx

From the command line, then type

lynx

then type

g

Then type

www.google.com

See if you get the Google screen (in text format) and try to do a search.....if that works, then it must be an issue in firefox....

cwchen
2008-07-10, 06:41 PM CDT
Thanks roachy, as I first mentioned, yum command is not woking fine on my computer , just said <urlopen error timed out>,that's the network error.
Why I can access fedora's website,other's can't?
I am confused!

cwchen
2008-07-10, 06:44 PM CDT
Did you check that Firefox isn't in offline mode (File->Work Offline)?


Thank's , but my firefox is not work in offline mode. I think it's a network problerm.
If i can't connect to the internet,why I can access Fedora's website?
If I can connect to the internet, why I can't access other's website?

I'm totally confused!

cwchen
2008-07-10, 07:03 PM CDT
Should I disable SElinux?

marcrblevins
2008-07-10, 08:20 PM CDT
Should I disable SElinux?

No, please look in /var/log files named, secure & messages and see anything is complaining?

Can you start terminal and show:

su -
ifconfig

hyperspace
2008-07-11, 06:45 AM CDT
Thank's , but my firefox is not work in offline mode. I think it's a network problerm.
If i can't connect to the internet,why I can access Fedora's website?
If I can connect to the internet, why I can't access other's website?

I'm totally confused!Wait a second, when you say you can connect to Fedora's web site, what is the address listed in the location bar?

cwchen
2008-07-14, 08:13 PM CDT
Wait a second, when you say you can connect to Fedora's web site, what is the address listed in the location bar?
Yes,i still can't connect to the web........except fedora's....

marcrblevins
2008-07-14, 08:20 PM CDT
Hyperspace asked you what was the website name on your address bar.

Was it:
http://start.fedoraproject.org/

If so, you are probably reading from the cache. Start Firefox, see Fedora's, then hold down Control Key and press R to refresh the page. What happens?

Or send us a screenshot.

briantan
2008-07-14, 08:54 PM CDT
I believe the Fedora web pages are loaded from your harddisk (default home page in older FC). Is the URL something like "file://...."

You definitely have network problem. Please include output of following:

# ifconfig -a
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# chkconfig --list NetworkManager
# netstat -nr