LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-26-2002, 07:45 PM   #1
jbellmyer
LQ Newbie
 
Registered: Apr 2002
Location: Lincoln, Nebraska USA
Distribution: RedHat 7.2
Posts: 3

Rep: Reputation: 0
Can ping domains, but can't use browser


Help! I am new to Linux, but I've spent weeks now trying to solve my problem without bothering anyone. I've read through "Running Linux" and "Learning RedHat Linux" from O'Reilly, and I've dug through How-To's, FAQ's, and Forums so much I'm almost blind!

I'm using RedHat 7.2, and trying to set up DSL internet access. Although I can now ping domains or IP's, i can't access the same sites through a browser, using their domains or IP's. I can access web sites on another computer on the same network, but nothing past the gateway.

Here is my ifcfg-eth0 file:

DEVICE=eth0
USERCTL=no
BOOTPROTO=static #have also tried "none"
ONBOOT=yes
BROADCAST=64.21.205.199
NETWORK=64.21.205.192
NETMASK=255.255.255.248
IPADDR=64.21.205.195
GATEWAY=64.21.205.193

Oddly enough, this isn't loaded automatically upon bootup. I've had to more or less execute "ifconfig eth0..." and "route add" commands every time. If you need any other info, please let me know. I really appreciate any help.

-Jaime
 
Old 04-26-2002, 08:15 PM   #2
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Hi,

Do you use a proxy server? your browser might need it's proxy settings changed. either enabled or disabled.

Something simple to check
 
Old 04-27-2002, 11:15 AM   #3
jbellmyer
LQ Newbie
 
Registered: Apr 2002
Location: Lincoln, Nebraska USA
Distribution: RedHat 7.2
Posts: 3

Original Poster
Rep: Reputation: 0
No, I'm not using a proxy server (that I know of).

I've had a chance to do more testing, and it's not a browser-specific problem. I can't telnet or ftp to outside sites, either. I'm completely baffled, because I CAN ping to outside sites, using their domains or their IP's. So something is getting through.

In fact, the hub and router lights are blinking when the browser (or other software) tries to access other sites, but it's as if the software (browser, telnet, ftp, etc) never gets a response from the server. Almost as if those servers were down, but of course that's not the case because I can access them through my Win2K box.
 
Old 04-27-2002, 12:41 PM   #4
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Um, correct me if im wrong, but dont PING's go as ICMP traffic? FTP and TELNET use TCPIP. I would say that you need a tcpip stack installed.

It's also possible that IP traffic is disabled on the router. check your manual for that too.

Last edited by fatgod; 04-27-2002 at 12:43 PM.
 
Old 04-30-2002, 12:22 AM   #5
growler
Member
 
Registered: Apr 2002
Posts: 84

Rep: Reputation: 15
well, icmp is part of a tcpip stack, so that's not it, though it's a good idea.

can you do a traceroute to any sites past the gateway??

perhaps port 80 is being blocked for some reason. try something like this:

]$ telnet www.whitehouse.gov 80

if your output looks something like this, than port 80 is okay:

]$ telnet www.whitehouse.gov 80
Trying 64.124.82.30...
Connected to 64.124.82.30.akamai.com (64.124.82.30).
Escape character is '^]'

(type ctrl-], then 'exit' to escape)

if port 80 is okay, and you still can't browse, then I'm baffled. My guess would be a really restrictive firewall on your 7.2 box...
 
Old 04-30-2002, 09:12 AM   #6
dr.mutt
LQ Newbie
 
Registered: Apr 2002
Posts: 1

Rep: Reputation: 0
Well if FTP or TELNET to any sites is not working then check ot see that you allow the services (man services) from your machine. Another thing that might cause a ping to work but not an http request would be the MTU setting. Try to increase the size of your ping (man ping) and see if it time out at a certain size. The check ifconfig and see the size of you packets. If you ping times out at a lower MTU that set in ifconfig then change you MTU size (man ifconfig).
 
Old 05-09-2002, 02:09 PM   #7
jbellmyer
LQ Newbie
 
Registered: Apr 2002
Location: Lincoln, Nebraska USA
Distribution: RedHat 7.2
Posts: 3

Original Poster
Rep: Reputation: 0
Well, friends, I thank you all for your suggestions. I meticulously tried each one, and although none of them solved my problem, they were very helpful in my Linux education! But now, the moment of truth: I've solved my problem! I thought I should post the solution so that no one else would feel the need to offer new suggestions, to thank those who did, and to let everyone know about another place where things can go wrong.

After I was assigned a new IP block from my ISP, I used the first in the series for my Win32 box, and the second for my Linux system. After trying every conceivable solution, out of desperation I decided to swap IP addresses on the two systems. Lo and behold, Linux was able to access the internet, but Win32 wasn't!

It turns out that my ISP gave me a faulty block of IP's that were, evidently, partially in use by another customer. What's worse, after calling them just this morning, they gave me another IP block with the same problem! The third set didn't work at all, and finally the fourth set seems to be working fine. The moral: never underestimate the screw-ups of others.

Again, thanks for your help, one and all.
 
Old 05-10-2002, 02:38 AM   #8
growler
Member
 
Registered: Apr 2002
Posts: 84

Rep: Reputation: 15
jbellmyer, thanks for posting your solution! too many times someone will ask for help, then later post "never mind! solved it!" with no explanation to help others.

also, that was a nice idea, trying some of the other ips you owned.
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 13 03-17-2011 03:47 AM
ping gets dns but not web browser darkfire55 Linux - Wireless Networking 35 05-27-2005 09:03 PM
Red Hat - Browser does not fetch website but ping works learningkid Red Hat 3 09-13-2004 12:34 AM
Ping vs. Browser jarmstrong Linux - Networking 5 08-27-2004 01:18 PM
Internet connection problem, able to ping but unable to get web page in browser rajnishmishra Linux - Networking 13 07-15-2004 01:54 AM


All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
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