If you're using UPnP mode in PeakHour to talk to your router and you know or suspect the reporting is inaccurate, we recommend going through the steps below to test your router by installing third-party UPnP client called MiniUPnP.
MiniUPnP is a free, light-weight UPnP client. You can use MiniUPnP to poll your router's UPnP stack and get a report of what information is it sending back.
To install MiniUPnP on your Mac, follow these steps:
- Open Terminal (type 'Terminal' into Spotlight)
Ensure the Xcode command-line tools are installed:
(Note: if you prefer to use a different package manager (such as MacPorts), skip this step.)
Once upnpc is installed, run the following command to query your router:
If your router is responding to UPnP requests correctly, you should see output similar to this:
Here are some tips to interpretting the output:
- Most important is the Bytes line. This is what PeakHour needs in order to calculate the information it displays (graphs, current upload/download speeds and usage).
- Run the command a few times over a few seconds and observe any changes to the Sent: and Recv: Bytes numbers.
- If the Bytes line is 0 or stuck around 4,294,967,295, then it's likely that your router has a bug with UPnP or it isn't properly implementing the specification.
- (Advanced) If the Bytes values appear to be incrementing but you suspect they're not correct, do the following:
- Note the values then run again a few seconds later and note the new values.
- Subtract the first from the second and divide by the number of seconds you waited. This will give you the average bytes/sec.
- (Optional) Use a site like speedtest.net to generate a known amount of throughput.