LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-07-2006, 09:36 PM   #1
mdwvt
LQ Newbie
 
Registered: Feb 2005
Location: VT, USA
Distribution: Mandriva 2006 DVD Edition
Posts: 10

Rep: Reputation: 0
Unhappy can ping just about anything but no http traffic


Hi you awesome Linux community. Ok I am officially asking for help! So like my subject implies when running linux I can ping google.com, yahoo.com, etc. and get a reply. No problems there. As soon as I open a browser (tried firefox, epiphany, konqueror) and try to go anywhere (google.com, linuxquestions.org) I usually/eventually get an error equivalent to "your request timed out"... ya know...the website couldn't be found kind of thing.

Ok so let me briefly describe my set up:

I get my internet access via ADSL (Asynchronous Digital Subscriber Line...yeah I know I probably don't need to spell that out...but anyway). The ADSL Modem is made by "Paradyne" and its Model # is 6381-A3-200-0GR if that helps at all. The Serial # (for the DSL Modem) is 6438015.

Ok so behind my DSL modem is a Belkin 54-G Wireless Router with 4 10/100 Ethernet ports on it. It doesn't matter if I try to connect via one of the ethernet ports or the wireless ... I can ping like described above but no browser/http traffic/activity what-so-ever! =(...... Its making me pretty sad here guys... I just want to be able to use apache to serve up a site or whatever...ya know?!? Ok also let me say that I also have windows on two of my PCs and they have perfect access to the internet no problem (one Dekstop connected via an ethernet port and one laptop connected via the wireless).

Now I've also tried completely uninstalling (I think I got everything) iptables and any firewall software in linux and still no successful browsing. I think I had partial success using Ubuntu but I find Debian kind of confusing from a core system kind of way since they deviate from the traditional linux system. Anyway...thats probably for a different forum/thread.

Also let me say that I had a Satellite Internet connection before moving and getting this DSL connection and used the same router behind the Satellite Modem/router and I was able to succesfully connect to the internet in linux...no problem. So I don't get it!!!!! If someone even remotely has an idea of what I can try in linux please let me know!!! I'm relatively proficient when it comes to linux so don't be afraid to throw terms and commands at me! =D Guys thank you so much in advance of any help you can offer! Its been a while since I've utilized and visited LinuxQuestions.org but I am so glad that this site exists! I wish I was more involved honestly. I hope my detailed post is as helpful as possible and appreciated.

-Matt
 
Old 01-08-2006, 06:28 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
First I would make sure the Belkin 54-G Wireless Router has the right dns server information.
 
Old 01-08-2006, 11:10 AM   #3
mdwvt
LQ Newbie
 
Registered: Feb 2005
Location: VT, USA
Distribution: Mandriva 2006 DVD Edition
Posts: 10

Original Poster
Rep: Reputation: 0
dns is a funky non-routable IP because my DSL IP is dynamic....

So yeah my DNS address is 10.0.0.2 and if I remember right that is not internet routable right? So that means that my ISP has me on their network behind firewalls and switches, etc... right? So I figure thats all well and good.

But I am just trying to DHCP my ip in linux from the belkin router and it gets it and I can ping using "google.com" and it shows me googles IP when I get the reply...so yeah I don't know. Has anyone else out there dealt with something like this? I guess what I'll try doing is connecting linux directly to the DSL modem and using the "real" DNS and Default Gateway (10.0.0.2) which I kind of tried before.
 
Old 01-08-2006, 02:18 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
While you are connected directly to the modem if everything works ok post;
ifconfig
route -n
cat /etc/resolv.conf
then do the same after you hook up the router
 
Old 01-09-2006, 07:50 PM   #5
mdwvt
LQ Newbie
 
Registered: Feb 2005
Location: VT, USA
Distribution: Mandriva 2006 DVD Edition
Posts: 10

Original Poster
Rep: Reputation: 0
will try the two connection configs

Hey thank you very much for the info! I'll try the two connections and post the results as soon as I can. =)
-Matt
 
Old 01-10-2006, 09:52 PM   #6
mdwvt
LQ Newbie
 
Registered: Feb 2005
Location: VT, USA
Distribution: Mandriva 2006 DVD Edition
Posts: 10

Original Poster
Rep: Reputation: 0
connected right now via the DSL router

So I actually managed to make it here in linux. The only way I can actually get to any website is by first using ping to get the actual IP address of (for example) www.linuxquestions.org. When the browser (I'm using firefox) starts to load the site it takes a long, long time. Some sites take longer than others. For example I can actually navigate to different sections of linuxquestions.org but I tried to load www.gamespy.com and yeah its definitely still loading...pretty much text so far and we're going on like 8 or 10 minutes or more. I've also tried to sign on to aim using gaim (of course ) and yeah that just sits there with the "status bar" going no where and sometimes eventually says that it couldn't connect.

Ok so...

Here are the results of ifconfig:

eth0 Link encap:Ethernet HWaddr 00:0C:76:F7:5F:8B
inet addr:10.0.0.4 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:76ff:fef7:5f8b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1236 errors:0 dropped:0 overruns:0 frame:0
TX packets:3728 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1131503 (1.0 MiB) TX bytes:294713 (287.8 KiB)
Interrupt:11 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:834 errors:0 dropped:0 overruns:0 frame:0
TX packets:834 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:48154 (47.0 KiB) TX bytes:48154 (47.0 KiB)

Here are the results of route -n:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0
0.0.0.0 10.0.0.2 0.0.0.0 UG 10 0 0 eth0

Here's my resolv.conf:

nameserver 10.0.0.2

Ok I'll post the other configuration when I'm connected through my belkin router.

Thank you in advance for any help!
 
Old 01-10-2006, 10:20 PM   #7
mdwvt
LQ Newbie
 
Registered: Feb 2005
Location: VT, USA
Distribution: Mandriva 2006 DVD Edition
Posts: 10

Original Poster
Rep: Reputation: 0
Here's the same info as above when I'm connected through the belkin router...

ifconfig:

eth0 Link encap:Ethernet HWaddr 00:0C:76:F7:5F:8B
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::20c:76ff:fef7:5f8b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45 errors:0 dropped:0 overruns:0 frame:0
TX packets:870 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5669 (5.5 KiB) TX bytes:43194 (42.1 KiB)
Interrupt:11 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:324 errors:0 dropped:0 overruns:0 frame:0
TX packets:324 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19638 (19.1 KiB) TX bytes:19638 (19.1 KiB)

route -n:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0
0.0.0.0 192.168.2.1 0.0.0.0 UG 10 0 0 eth0

cat /etc/resolv.conf:

search Den
nameserver 192.168.2.1
 
Old 01-10-2006, 10:41 PM   #8
Mantrout
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
I'm having the exact same problem. I can ping machines both internal and external to the network, but when I try to download a website it is SLOW. As you indicated, on the order of 15 minutes for something simple. Unfortunately I don't have a solution for you, but I'll keep my eye on this thread and if I come up with something I will let you know. In the mean time, here is the results from my setup, maybe you can spot something similar to you that might be both our problems. I'm currently connecting to a linksys 802.11b router through a little wusb54g wireless access point. Here is what I'm showing:

iwconfig info:
eth1 IEEE 802.11bg ESSID:"Mantrout" Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.437 GHz Access Point: 00:0C:41:49:F0:E8
Bit Rate:2 Mb/s Tx-Power:100 Sensitivity=10/0
RTS thr: off Fragment thr: off
Encryption key: off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

ifconfig info:
eth1 Link encap:Ethernet HWaddr 00:12:17:75:74:E9
inet addr:192.168.1.44 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::212:17ff:fe75:74e9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4417 (4.3 KiB) TX bytes:6169 (6.0 KiB)

route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 192.168.1.9 0.0.0.0 UG 0 0 0 eth1

dhclient eht1:
Internet Systems Consortium DHCP Client V3.0.2-RedHat
Copyright 2004 Internet Systems Consortium.
All rights reserved.

Listening on LPF/eth1/00:12:17:75:74:e9
Sending on LPF/eth1/00:12:17:75:74:e9
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 192.168.1.9
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.9
bound to 192.168.1.44 -- renewal in 41157 seconds.

[root@localhost ~]# ping -c 10 <GOOGLE URL>
PING <GOOGLE URL> (216.239.37.104) 56(84) bytes of data.
64 bytes from 216.239.37.104: icmp_seq=0 ttl=246 time=32.2 ms
64 bytes from 216.239.37.104: icmp_seq=1 ttl=246 time=33.2 ms
64 bytes from 216.239.37.104: icmp_seq=2 ttl=246 time=32.4 ms
64 bytes from 216.239.37.104: icmp_seq=3 ttl=246 time=32.9 ms
64 bytes from 216.239.37.104: icmp_seq=4 ttl=245 time=32.9 ms
64 bytes from 216.239.37.104: icmp_seq=5 ttl=246 time=32.6 ms
64 bytes from 216.239.37.104: icmp_seq=6 ttl=245 time=32.3 ms
64 bytes from 216.239.37.104: icmp_seq=7 ttl=245 time=32.6 ms
64 bytes from 216.239.37.104: icmp_seq=8 ttl=246 time=32.8 ms

--- <GOOGLE URL> ping statistics ---
10 packets transmitted, 9 received, 10% packet loss, time 28081ms
rtt min/avg/max/mdev = 32.200/32.692/33.244/0.361 ms, pipe 2

[root@localhost network-scripts]# wget <GOOGLE URL>
--22:02:17-- <GOOGLE URL>
=> `index.html'
Resolving <GOOGLE URL>... 216.239.37.104, 216.239.37.99
Connecting to <GOOGLE URL>|216.239.37.104|:80... connected.
HTTP request sent, awaiting response...

As you can see, its so slow I sometimes just get a timeout, but every once in a while I'll get a page to load, I'll be it after an insanely long time.
 
  


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
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 01:09 AM
No HTTP traffic after changing to a new router jamesf303 Linux - Networking 5 05-26-2007 12:57 AM
how to find http traffic and mail traffic alone? basbosco Linux - General 1 06-07-2005 11:29 PM
HTTP Traffic crawling along ericnmu Linux - Networking 7 07-12-2004 01:38 AM
Can't ping/ssh my box, Shorewall seems to block all traffic except http / ftp tiduck Linux - Networking 10 05-22-2003 10:21 PM


All times are GMT -5. The time now is 04:12 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