Wireless is slow, but only to the internet, not local connections

Solution 1:

I would guess that you are facing a problem of wireless interference, so that lowering the packet length minimizes the damage done by lost packets and the time it takes to resend the packet.

If the problem is interference exterior to your home, you could use a wireless network detector to detect the networks around you and the channels that are used. Some such products are inSSIDer or Kismet. You could then choose a channel that doesn't conflict with your neighbors. Channel 11 should be preferred, if possible, as it is the strongest.

The interference may also be caused by a heavy home appliance working (such as the dish-washer), at your place or at the neighbor's. This only applies if the effective network speed undergoes fluctuations.

The placement of the wireless router is very important. It should be positioned away from metallic or electrical elements and away from the floor. You could experiment with various places for it to see if this has any effect. The computers using it should not be placed too far away or at the end of its range.

Another possibility is that some wireless network card in your house is defective and deranges the entire network. It could be "bombarding" the network with packets and causing collisions. Try to turn on computers in a controlled manner and test network speed (turning them off by also unplugging the power cord).

Last, you wireless router may be defective. Try another router to test it out.

Solution 2:

Sounds like a traffic shaping issue. Please try to do the following:

  1. Do you have qos-scripts installed?
    If you don't know, please check the /etc/config/qos file and see if there are any specific rules for the wireless interface.
  2. What build/version of OpenWRT are you using? Latest trunk, latest stable release, latest LTS? If it is latest trunk, try to roll back to the latest stable one.

Solution 3:

It seems you have MSS clamping

You have to check and fix iptables rules

Useful readings (partially related)

  • MSS Clamping without LAN forwarding?
  • MSS clamping does not work in default firewall setup
  • Can I disable MSS clamping?

HTH