Sounds like an MTU problem, (the 302 http reply is quite small in your telnet example).<br><br>Try the -s flag in ping.<br><br>Curon<br><br><div class="gmail_quote">On 9 January 2012 14:33, Daniel Morgan <span dir="ltr"><<a href="mailto:plodski@gmail.com" target="_blank">plodski@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>
<br>
I am am having trouble connecting my work pc (Debian Squeeze) to any<br>
external sites at the moment. I was wondering if anybody could shed<br>
some light on how I can troubleshoot this.<br>
<br>
Okay first off, the LAN works perfectly I can access local websites<br>
and resources (in fact the keyboard and mouse I am using to type this<br>
is running over synergy to my windows pc).<br>
<br>
DNS seems fine, and so does ping:<br>
<br>
dtmorgan@daniel-debian:~$ ping <a href="http://www.google.co.uk" target="_blank">www.google.co.uk</a><br>
PING <a href="http://www-cctld.l.google.com" target="_blank">www-cctld.l.google.com</a> (173.194.67.94) 56(84) bytes of data.<br>
64 bytes from <a href="http://wi-in-f94.1e100.net" target="_blank">wi-in-f94.1e100.net</a> (173.194.67.94): icmp_req=1 ttl=47<br>
time=17.9 ms<br>
64 bytes from <a href="http://wi-in-f94.1e100.net" target="_blank">wi-in-f94.1e100.net</a> (173.194.67.94): icmp_req=2 ttl=47<br>
time=17.9 ms<br>
^C<br>
--- <a href="http://www-cctld.l.google.com" target="_blank">www-cctld.l.google.com</a> ping statistics ---<br>
2 packets transmitted, 2 received, 0% packet loss, time 1001ms<br>
rtt min/avg/max/mdev = 17.975/17.982/17.990/0.134 ms<br>
dtmorgan@daniel-debian:~$<br>
<br>
So I thought maybe there was a problem with port 80 traffic, so I<br>
telnet to google on port 80 and this works also.<br>
<br>
dtmorgan@daniel-debian:~$ telnet <a href="http://www.google.com" target="_blank">www.google.com</a> 80<br>
Trying 173.194.67.106...<br>
Connected to <a href="http://www.l.google.com" target="_blank">www.l.google.com</a>.<br>
Escape character is '^]'.<br>
GET /<br>
HTTP/1.0 302 Found<br>
Location: <a href="http://www.google.co.uk/" target="_blank">http://www.google.co.uk/</a><br>
Cache-Control: private<br>
Content-Type: text/html; charset=UTF-8<br>
Set-Cookie: PREF=ID=aa6314ad0c697a80:FF=0:TM=1326119362:LM=1326119362:S=bHW89V6BfLlLhHXj;<br>
expires=Wed, 08-Jan-2014 14:29:22 GMT; path=/; domain=.<a href="http://google.com" target="_blank">google.com</a><br>
Date: Mon, 09 Jan 2012 14:29:22 GMT<br>
Server: gws<br>
Content-Length: 221<br>
X-XSS-Protection: 1; mode=block<br>
X-Frame-Options: SAMEORIGIN<br>
<br>
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"><br>
<TITLE>302 Moved</TITLE></HEAD><BODY><br>
<H1>302 Moved</H1><br>
The document has moved<br>
<A HREF="<a href="http://www.google.co.uk/" target="_blank">http://www.google.co.uk/</a>">here</A>.<br>
</BODY></HTML><br>
Connection closed by foreign host.<br>
<br>
but if I use wget I just get<br>
<br>
dtmorgan@daniel-debian:~$ wget <a href="http://www.google.co.uk" target="_blank">www.google.co.uk</a><br>
--2012-01-09 14:29:23-- <a href="http://www.google.co.uk/" target="_blank">http://www.google.co.uk/</a><br>
Resolving www.google.co.uk... 173.194.67.94<br>
Connecting to <a href="http://www.google.co.uk" target="_blank">www.google.co.uk</a>|173.194.67.94|:80... connected.<br>
HTTP request sent, awaiting response...<br>
<br>
and it hangs.<br>
<br>
It's not just port 80 traffic I can ssh to servers on the lan, but I<br>
can't ssh to external servers the other side of the wan.<br>
<br>
My route table looks like this:<br>
<br>
dtmorgan@daniel-debian:~$ sudo route<br>
[sudo] password for dtmorgan:<br>
Kernel IP routing table<br>
Destination Gateway Genmask Flags Metric Ref Use Iface<br>
172.16.0.0 * 255.255.252.0 U 1 0 0 eth0<br>
default 172.16.3.254 0.0.0.0 UG 0 0 0 eth0<br>
<br>
from looking around on google, I was going to try ntop. However<br>
apt-get is also failing.<br>
<br>
Hope somebody has got some ideas<br>
<br>
Dan<br>
_______________________________________________<br>
SWLUG Discussion List - <a href="mailto:Discuss@swlug.org" target="_blank">Discuss@swlug.org</a><br>
<a href="http://swlug.org/mailman/listinfo/discuss" target="_blank">http://swlug.org/mailman/listinfo/discuss</a><br>
</blockquote></div><br>