3

I've set up RaspBMC with a D-Link DWA-125 and everything appear to be working except for playing the videos residing at the far end of the house. I'm pretty damn sure this is due to the room the RaspBMC is in being at the limits of our router's range but would like to check to see what speed it is actually connecting to the network at, just to confirm this.

Is this possible? I can't find it in the Network Manager addon or in the Raspbmc Settings addon either.

1
  • dlanod, then install it on the pi. Commented Jan 27, 2013 at 8:13

3 Answers 3

5

You can SSH into it and use iperf.

DESCRIPTION

   iperf  is a tool for performing network throughput measurements.  
   It can test either TCP or UDP throughput.  To perform an iperf 
   test the user must establish both a server (to discard traffic) 
   and a client (to generate traffic).
2
  • 1
    iperf gives a "command not found" error.
    – dlanod
    Commented Jan 27, 2013 at 1:21
  • It's available in raspbian repository. Try install it with the command "sudo apt-get install iperf". You also need another host to do the test with. Check this link to know how it works: openmaniak.com/iperf.php.
    – Pipe
    Commented Jan 28, 2013 at 13:32
3

The two best alternatives (less hassle than setting up iperf on multiple systems to test it fully) I found were to SSH in and run either:

  • cat /proc/net/wireless. This will give you the quality but not the connection speed.
  • apt-get install wavemon and wavemon. This will give you real time information of link quality, signal strength and bit rate, amongst other statistics.
2

You can check the WiFi transmit(tx) bitrate using the iw command e.g.:

iw dev wlan0 link

Or using the older iwconfig command e.g.:

iwconfig wlan0

And also for Ethernet you can see the rate at which the interface is operating at using ethtool e.g.:

sudo ethtool eth0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.