Re: FSO Wifi - can ping but cannot download

2008-08-04 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| I've configured WiFi on a fresh FSO image the same way I had on a 2008.2
| image--by creating a wpa_supplicant.conf file and editing
| /etc/network/interfaces.  This configuration worked on the 2008.2 image
| but when I try implementing it on an FSO image, I cannot download
| anything.  I can ping sites and when using wget, I can connect to them,
| but downloading never commences.  It's not a DNS issue because ping and
| wget seem to be able to resolve correctly.  Any thoughts?

Sounds specific to tcp transport, ping is ICMP and DNS usually UDP.
Maybe connect to a local Linux box and run tcpdump on there to study
what it sees from the connection action.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiWtaIACgkQOjLpvpq7dMrP8gCeNKkUgdWpiNNnrLXDD1shVpwJ
/FUAn0WZPY4IHJjjrERd8Ywr9yX+DGDL
=J4Ke
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FSO Wifi - can ping but cannot download

2008-08-04 Thread Cesar Eduardo Barros
Andy Green escreveu:
 Somebody in the thread at some point said:
 | I've configured WiFi on a fresh FSO image the same way I had on a 2008.2
 | image--by creating a wpa_supplicant.conf file and editing
 | /etc/network/interfaces.  This configuration worked on the 2008.2 image
 | but when I try implementing it on an FSO image, I cannot download
 | anything.  I can ping sites and when using wget, I can connect to them,
 | but downloading never commences.  It's not a DNS issue because ping and
 | wget seem to be able to resolve correctly.  Any thoughts?
 
 Sounds specific to tcp transport, ping is ICMP and DNS usually UDP.
 Maybe connect to a local Linux box and run tcpdump on there to study
 what it sees from the connection action.

No, it's not ping and DNS do not use TCP. It's ping and DNS and TCP 
SYN are small packets, data transfer is large packets, i.e. PMTU 
blackhole. I've seen that thing happen way too many times, and the 
workaround is almost always a MSS clamp (which is an ugly but 
unfortunately necessary hack).

-- 
Cesar Eduardo Barros
[EMAIL PROTECTED]
[EMAIL PROTECTED]

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FSO Wifi - can ping but cannot download

2008-08-04 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Andy Green escreveu:
| Somebody in the thread at some point said:
| | I've configured WiFi on a fresh FSO image the same way I had on a
2008.2
| | image--by creating a wpa_supplicant.conf file and editing
| | /etc/network/interfaces.  This configuration worked on the 2008.2 image
| | but when I try implementing it on an FSO image, I cannot download
| | anything.  I can ping sites and when using wget, I can connect to them,
| | but downloading never commences.  It's not a DNS issue because ping and
| | wget seem to be able to resolve correctly.  Any thoughts?
|
| Sounds specific to tcp transport, ping is ICMP and DNS usually UDP.
| Maybe connect to a local Linux box and run tcpdump on there to study
| what it sees from the connection action.
|
| No, it's not ping and DNS do not use TCP. It's ping and DNS and TCP
| SYN are small packets, data transfer is large packets, i.e. PMTU
| blackhole. I've seen that thing happen way too many times, and the
| workaround is almost always a MSS clamp (which is an ugly but
| unfortunately necessary hack).

Well, he says it worked on some other image.

The guy can test this by seeing if he has any bulk transfer with local
machines on his side of his router.

He can also mess with his ping payload size and confirm if that controls
the issue...

# ping -s 4096 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 4096(4124) bytes of data.
4104 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=5.36 ms

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiW5ZUACgkQOjLpvpq7dMoHgACeK6w6rX+tMzVLnl50113lHjL2
wTMAn2KI6JMwBAWgJj1JV4EXOHGIguVz
=687x
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FSO Wifi - can ping but cannot download

2008-08-04 Thread arne anka
 I can wget files hosted on the local side of the router, cannot wget
 anything external.  ping -s 4096 192.168.1.1 still works.

did you check your firewall/iptables setup and/or that mss clamp proposed?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FSO Wifi - can ping but cannot download

2008-08-04 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:

| I can wget files hosted on the local side of the router, cannot wget
| anything external.  ping -s 4096 192.168.1.1 http://192.168.1.1 still
| works.

Props to Cesar then, looks like he had the right idea.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiXBDEACgkQOjLpvpq7dMplfwCcCSx9DR5UV2tGY8BF5t9UumYE
Q2YAnjxJ4yYfpAypSeto/hWSKI4HoDZM
=LbYl
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FSO Wifi - can ping but cannot download

2008-08-04 Thread Asheesh Laroia
On Sun, 3 Aug 2008, Dylan Semler wrote:

 I've configured WiFi on a fresh FSO image the same way I had on a 2008.2
 image--by creating a wpa_supplicant.conf file and editing
 /etc/network/interfaces.  This configuration worked on the 2008.2 image but
 when I try implementing it on an FSO image, I cannot download anything.  I
 can ping sites and when using wget, I can connect to them, but downloading
 never commences.  It's not a DNS issue because ping and wget seem to be able
 to resolve correctly.  Any thoughts?

Are you, by any chance, connected to the Internet over DSL?

Can you try:

ifconfig $DEVICE mtu 1200

on the FreeRunner?  (Set $DEVICE to usb0, I think.)

If that works, then the issue is probably MTU-related, and others can help 
you figure things out from there.

It's safe to try even if the problem is not this, and the setting will 
disappear at the next reboot at the latest.

-- Asheesh.

-- 
Where's the Coke machine?  Tell me a joke!!

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FSO Wifi - can ping but cannot download

2008-08-04 Thread Dylan Semler
On Mon, Aug 4, 2008 at 11:40 AM, macebre [EMAIL PROTECTED] wrote:

 hi had the same problem with the ASU image. Another (second or
 third?) udhcpc in the Terminal did it for me.



Thanks for the suggestion but that didn't work

-- 
Dylan

Type faster. Use Dvorak:
http://dvzine.org
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FSO Wifi - can ping but cannot download

2008-08-04 Thread Dylan Semler
On Mon, Aug 4, 2008 at 5:46 AM, Cesar Eduardo Barros [EMAIL PROTECTED]wrote:

 Andy Green escreveu:
  Sounds specific to tcp transport, ping is ICMP and DNS usually UDP.
  Maybe connect to a local Linux box and run tcpdump on there to study
  what it sees from the connection action.

 No, it's not ping and DNS do not use TCP. It's ping and DNS and TCP
 SYN are small packets, data transfer is large packets, i.e. PMTU
 blackhole. I've seen that thing happen way too many times, and the
 workaround is almost always a MSS clamp (which is an ugly but
 unfortunately necessary hack).


Well internet is working now, I'm still not sure what was wrong though.  I
got a bit of help about MSS clamp[1] and tried the following commands from
my router:

# nvram set ppp_mtu=1492
# nvram commit
# reboot

upon reboot of the router I verified that it worked:
# nvram show | grep mtu
pptpd_client_mtu=1450
mtu_enable=0
size: 25395 bytes (7373 left)
pptpd_client_srvmtu=1450
wan_mtu=1500
ppp_mtu=1492

but internet still didn't work.  I then started stabbing in the dark, trying
nvram set wan_mtu=1492 and nvram set mtu_enable=1.  Those changes didn't
seem to take hold (according to nvram show) so I set them back to 1500 and 0
and rebooted.  When the router came back online the internet was working on
my Freerunner.  I then set ppp_mtu=1500 to verify that that was the issue,
and my Freerunner still worked.  So now I'm not hacking an MSS clamp and the
internet seems to be working.  Maybe the router just needed to be restarted
a few times.

Thanks for all of your help.

[1] http://forum.openwrt.org/viewtopic.php?id=5662
-- 
Dylan

Type faster. Use Dvorak:
http://dvzine.org
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


FSO Wifi - can ping but cannot download

2008-08-03 Thread Dylan Semler
I've configured WiFi on a fresh FSO image the same way I had on a 2008.2
image--by creating a wpa_supplicant.conf file and editing
/etc/network/interfaces.  This configuration worked on the 2008.2 image but
when I try implementing it on an FSO image, I cannot download anything.  I
can ping sites and when using wget, I can connect to them, but downloading
never commences.  It's not a DNS issue because ping and wget seem to be able
to resolve correctly.  Any thoughts?

-- 
Dylan

Type faster. Use Dvorak:
http://dvzine.org
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support