LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2003, 11:09 AM   #1
Risc91
Member
 
Registered: Jan 2002
Location: Macomb, MI
Distribution: Ubuntu|Red Hat ES|AIX
Posts: 161

Rep: Reputation: 30
Interesting internet connection problem


I recompiled my kernel the other day and everything seems to be working just great, accept my network connection. The connection itself seems to be fine. I can ping any address without any issues. However, when I try to access a web page or receive my email the applications just sit there. It's as if the applications (firebired and evolution) don't see the connection and therefore do nothing. Does anyone have any ideas??
 
Old 10-26-2003, 11:17 AM   #2
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
If you can ping other machines then the problem is not likely to be kernel related (unless you've turned on some iptables firewalling). Are you sure you haven't changed anything else ?

Does host name resolution work (can you ping a domain name rather than just an IP address) ?

Tim
 
Old 10-26-2003, 12:12 PM   #3
Risc91
Member
 
Registered: Jan 2002
Location: Macomb, MI
Distribution: Ubuntu|Red Hat ES|AIX
Posts: 161

Original Poster
Rep: Reputation: 30
Yup, I can ping by domain name. I don't recall turning on any firewall rules.
 
Old 10-26-2003, 12:23 PM   #4
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
So if I understand you correctly

ping www.google.com

works but if you type http://www.google.com in your browser it doesn't work.

How about other applications, can you try with lynx or konqueror for example ? Does the ftp client work ?

Check that you don't have any firewall rules installed with

iptables -L (as root).

If none of that works the only other thing I can think of is that you're sitting behind some other firewall that is blocking port 80.

Tim
 
Old 10-26-2003, 12:32 PM   #5
Risc91
Member
 
Registered: Jan 2002
Location: Macomb, MI
Distribution: Ubuntu|Red Hat ES|AIX
Posts: 161

Original Poster
Rep: Reputation: 30
That is correct.

Neither lynx, nor konqueror work. I can't retrieve my email via evolution, nor can I sign on to GAIM. FTP is a no go either.

iptables -L returns:

Can't locate module ip_tables

Which seems correct to me since I don't remember choosing to install it.

I don't understand it. I've got the linux machine on a network with 4 other boxes. All of which can access the outside world and each other just fine.
 
Old 10-26-2003, 01:00 PM   #6
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
Well I've certainly never seen anything like that.

When you ping a site are you seeing any packet loss (you might run ping like this :

ping -c5 www.google.com

and then look at the packet loss statistic when it finishes) ?

Are you sure the other machines don't have their browsers configured to use an HTTP proxy ?

Do you have or can you install some kind of server software on your box, like sshd or Apache ? If you can, are you able to connect to that server on localhost ?

Tim
 
Old 10-26-2003, 01:20 PM   #7
Risc91
Member
 
Registered: Jan 2002
Location: Macomb, MI
Distribution: Ubuntu|Red Hat ES|AIX
Posts: 161

Original Poster
Rep: Reputation: 30
I get 0% packet loss on everything I ping.

I'm positive none of the other machines are configured to use a proxy....I don't have one setup.

No server software(apache, ssh) at the moment. I'll see what I can do though.
(It's a little harder to get the software on here with no internet)
 
Old 10-26-2003, 04:38 PM   #8
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
I don't know how much effort you're willing to put into diagnosing this problem. Maybe there is something very weird wrong with the kernel you compiled. The quickest solution might be to go back to the old kernel.

What kernel version are you running by the way ? Have you applied any patches or is it a stock kernel ?

One of the few hypotheses that fit your symptoms is that the IP layer of the networking stack is working but that the TCP layer is somehow broken. But I don't think there's any way to configure the kernel like that, normally.

Tim
 
Old 10-27-2003, 01:38 PM   #9
Risc91
Member
 
Registered: Jan 2002
Location: Macomb, MI
Distribution: Ubuntu|Red Hat ES|AIX
Posts: 161

Original Poster
Rep: Reputation: 30
Thanks for your help. I'm going to just rebuild the kernel again and hope things work out better this time around. I'm going to keep a close eye one any errors or warnings that are generated.

Thanks again for your help.
 
Old 11-22-2003, 02:17 PM   #10
bjarvis829
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
Question I got this problem too, but it works fine in some places!

I got this same problem - I can ping domain names on the internet, but cannot browse, apt, etc.

The difference is that my setup works fine in serveral places like home, theater, cyber coffee shops, but not at some location like a shop I work at.

My eth0 is a wireless card and it gets an ip address, resolves dns, etc no problem. But in certain places I get Connection refused from all services but ping. I have even used nmap with some success. I am fairly certain this is not a firewall issue. I thought I had it pegged as a hardware issue (buggy wireless driver orinoco_cs) but recent trouble shooting has put that into question. More info is at my previous thread:

http://www.linuxquestions.org/questi...refused+debian
 
  


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
internet connection problem. bruse Linux - Networking 5 10-19-2005 11:59 PM
Internet Connection Problem genrl Linux - Networking 6 09-23-2005 03:43 PM
Interesting TCP/IP Problem? PosgreSQL and Internet Connection Sharing Don't Work iaypaa Linux - Networking 3 11-04-2002 05:23 AM
Interesting Network/Internet question ChaosX2 Linux - Networking 9 10-03-2001 10:51 AM
Internet Connection Problem jimp001 Linux - Newbie 2 08-05-2001 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration