On Saturday 20 June 2009 00:17:23 Jacob Marble wrote:
Two Linux boxes, each plugged in via Ethernet to a BATMAN node (two nodes). The nodes talk batman-advanced to each other via WiFi. The Linux boxes can ping each other all day long. Both Linux boxes have Apache running. Downloading a file via HTTP works only if the file is smaller than or equal to exactly 1,145 bytes. TFTP file transfers are halting, but they get through (4 megabytes took a couple of minutes).
This happens with both r1176 and r1298 on OpenWrt.
Sry, haven't followed your other mails so I don't know your whole setup. It looks like a mtu problem for me. Please try to set the mtu a lot lower on your eth devices. You can do a ping test with `ping -s TESTSIZEINBYTE -M dont IPTOSENDIPPACKET` - dont forget to add the 28 extra bytes needed for the whole headers inside the ethernet frame. So `ping -s 1472 -M do 192.168.1.1` would send a 1500 bytes package. You can also set the mtu on your wifi devices higher (and bat0 devices). So for example wifi device to 1524 and bat0 to 1500 (like the eth devices). Also check if you have bridge mtu patch from Simon[1] (included in linux 2.6.27) when you are bridging some of the devices. Also check that icmp "Destination Unreachable" - "Fragmentation required, and DF flag set" isn't filtered anywhere.
Regards, Sven
[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=...