I was testing the throughput between two pcs connected on the same router: one with 100mbps lan, the other with 54mbps wifi.
I tested both
iperf and the throughtput I get is only 2.6mb/s.
What can be wrong? Shouldn't it be more?
Questions on Unix & Linux Stack Exchange are expected to relate to Unix or Linux within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
Just because your wireless card is capable of 54mbs connections doesn't mean you are going to get that throughput. In particularly, it sounds like you have 802.11g which has an Achilies heel. As long as *every wireless device it is talking to is also g it will go fast, but as soon as even one device that is only b speed capable, it has to use the lowest common denominator to talk to all devices.
You might try opening a terminal on the machine with wireless and running