View previous topic :: View next topic |
Author |
Message |
motie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 16 Nov 2003 Posts: 30
|
Posted: Sat Apr 14, 2007 11:40 pm Post subject: Outgoing internet problem (but incoming works fine) |
|
|
I have one Gentoo machine that provides Bugzilla and SSH logins to external, off-site users. Bugzilla and SSH work fine. But I cannot get OUT from the machine via rsync (for portage updates) or web browsing with the links browser. But ping works.
1. Bad: emerge sync times out.
2. Bad: links (as in "links google.com") gets stuck at "Making connection".
Good: The machine still serves up Bugzilla to users over the internet just fine on port 80.
Good: I can SSH to the machine remotely.
Good: I can ping e.g. google.com just fine.
I haven't upgraded this machine in about a year and it's long past time for me to do so. But I can't get onto the internet from the machine via rsync or HTTP. Very strange. I have no idea what is wrong.
Note: I don't have physical access to the machine at the moment. All my problem reports in this post are based upon my remote login via SSH. However, I used to do all my emerge Gentoo upgrades via SSH so this did used to work.
Any ideas would be appreciated!
Emerge of portage fails with
Code: | formic ~ # emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 3) app-misc/pax-utils-0.1.13 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/pax-utils-0.1.13.tar.bz2
--19:34:20-- http://distfiles.gentoo.org/distfiles/pax-utils-0.1.13.tar.bz2
=> `/usr/portage/distfiles/pax-utils-0.1.13.tar.bz2'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.238.52|:80... |
Here is the output from "tracepath google.com".
Code: | formic ~ # tracepath google.com
1?: [LOCALHOST] pmtu 1500
1: 24.96.193.1 (24.96.193.1) 20.083ms
2: 24.96.110.1 (24.96.110.1) 22.036ms
3: ge.0-2-0.202.cr-Pine.FL.US.knology.net (24.214.0.225) asymm 4 20.909ms
4: so.0-1-1.cr-Atla.GA.US.knology.net (24.214.0.69) asymm 6 48.264ms
5: user-24-96-68-94.knology.net (24.96.68.94) asymm 7 46.191ms
6: ge-7-2-105.car1.Atlanta1.Level3.net (63.211.121.29) asymm 7 45.920ms
7: ae-32-52.ebr2.Atlanta2.Level3.net (4.68.103.62) asymm 8 47.928ms
8: ae-1-100.ebr2.Atlanta2.Level3.net (4.69.132.34) 41.086ms
9: ae-21-56.car1.Chicago1.Level3.net (4.68.101.162) asymm 10 59.269ms
10: ae-21-54.car1.Chicago1.Level3.net (4.68.101.98) asymm 11 59.997ms
11: no reply
12: no reply
13: no reply
14: no reply
15: no reply
16: no reply
17: no reply
18: no reply
19: no reply
20: no reply
21: no reply
22: no reply
23: no reply
24: no reply
25: no reply
26: no reply
27: no reply
28: no reply
29: no reply
30: no reply
31: no reply
Too many hops: pmtu 1500
Resume: pmtu 1500
formic ~ # |
Any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jmbsvicetto Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/131796264c80fa19b97a2.png)
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Sun Apr 15, 2007 12:04 am Post subject: |
|
|
Hi.
How do you connect to the Internet? Is there any router/firewall in the middle?
if links doesn't work, I assume wget doesn't as well. Am I right? Do you use any proxy? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
motie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 16 Nov 2003 Posts: 30
|
Posted: Mon Apr 16, 2007 1:24 am Post subject: |
|
|
There's a router I use as a gateway.
I don't use a proxy.
wget does not work.
But ping works.
Here is my /etc/conf.d/net.
Code: | formic ~ # cat /etc/conf.d/net
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="10.4.40.40 broadcast 192.168.1.255 netmask 255.0.0.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
# For setting the default gateway
#
#Knology:
gateway="eth0/10.0.0.115"
#RR:
#gateway="eth0/10.0.0.111"
formic ~ # |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carpenike Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 10 Feb 2005 Posts: 127
|
Posted: Mon Apr 16, 2007 10:46 am Post subject: |
|
|
As weird as this sounds... It seems like that might be a network side problem and not your own side... I know of situations where natural disasters or other problems have dropped the link between some segments of the internet and others... In your case your traceroute is getting past your provider and out to level 3... Almost sounds like L3 is having some type of outage... It's a weird thought... But I've seen it happen before... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
motie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 16 Nov 2003 Posts: 30
|
Posted: Mon Apr 16, 2007 1:22 pm Post subject: |
|
|
I wondered about that myself based upon the tracepath output. I'll have it looked into. But it sure is odd as this isn't the only machine using that gateway. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
motie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 16 Nov 2003 Posts: 30
|
Posted: Mon Apr 16, 2007 3:17 pm Post subject: |
|
|
Here is my "netstat -atun" output. Does this explain why I can't browse the internet from this machine (port 80) or use emerge (rsync)?
Code: | formic ~ # netstat -atun
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 10.4.40.40:21 0.0.0.0:* LISTEN
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::81 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 :::443 :::* LISTEN
tcp 0 0 ::ffff:10.4.40.40:22 ::ffff:24.94.132.:62354 ESTABLISHED
tcp 0 548 ::ffff:10.4.40.40:22 ::ffff:24.94.132.:62491 ESTABLISHED
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jmbsvicetto Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/131796264c80fa19b97a2.png)
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Mon Apr 16, 2007 6:01 pm Post subject: |
|
|
Are you sure the router doesn't have a firewall? Could your router be blocking some traffic?
I assume you have an IPv4 internet connection. Do you have an IPv6 tunnel? If not, are you sure that your clients aren't having a problem with IPv6? I've heard of some web browsers, such as Firefox, having problems with IPv6 enabled hosts. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
motie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 16 Nov 2003 Posts: 30
|
Posted: Tue Apr 17, 2007 9:48 pm Post subject: |
|
|
I tried another gateway and was able to get out onto the internet (my goal.) So it's apparently something with the original gateway, indeed.
Thanks to everyone who helped me. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|