Install iperf: sudo apt-get install iperf
Open two terminal windows on the same computer:
Terminal 1$ iperf -s -u -i1
Terminal 2$ iperf -c 192.168.2.1 -u -i1 -l 1300 -b 100m -t 600------------------------------------------------------------ Server listening on UDP port 5001 Receiving 1470 byte datagrams UDP buffer size: 208 KByte (default) ------------------------------------------------------------
------------------------------------------------------------ Client connecting to 192.168.2.1, UDP port 5001 Sending 1300 byte datagrams UDP buffer size: 208 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.2.110 port 56520 connected with 192.168.2.1 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 1.0 sec 4.46 MBytes 37.4 Mbits/sec [ 3] 1.0- 2.0 sec 4.45 MBytes 37.3 Mbits/sec [ 3] 2.0- 3.0 sec 4.28 MBytes 35.9 Mbits/sec [ 3] 3.0- 4.0 sec 4.32 MBytes 36.2 Mbits/sec [ 3] 4.0- 5.0 sec 4.42 MBytes 37.1 Mbits/sec [ 3] 5.0- 6.0 sec 4.35 MBytes 36.5 Mbits/sec [ 3] 6.0- 7.0 sec 4.39 MBytes 36.8 Mbits/sec [ 3] 7.0- 8.0 sec 4.35 MBytes 36.5 Mbits/sec [ 3] 8.0- 9.0 sec 4.41 MBytes 37.0 Mbits/sec
Where 192.168.2.1 is my wireless router.