-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cable speed seems to be incorrectly reported #72
Comments
Hi, which overview page do you mean? The The values marked with blue are for the internet connection line, this is the speed which is theoretically possible on this line. The values marked with red is the actual internet connection speed which I booked at my provider. The red values indicates my download/upload speed. May you can add a screenshot to better indicate what values you mean. If so please blur the sensitive information such as IP address, passwords, etc. |
@dirkpauli @uclara I will have a look into this! Since I don't have access to a cable connection can I ask you to test possible patches? :-) |
Anytime :-) |
@uclara Thanks! 👍 Unfortunately there is currently no way to collect debug information. The implementation for a debug mode depends on #79. As soon as I have the debug mode ready I'll provide a pre-release version for v1.2.0 than we can begin to debug this. The final v1.2.0 will definitely not be released until this bug is fixed. Maybe you can test the old bash script and verify if the cable speed is also reported wrong. If it works with the bash script this would indicate a bug in the Go implementation otherwise AVM changed something in the Fritz!Box API. Bash Script: https://github.com/mcktr/check_tr64_fritz |
@mcktr sorry for the delay ... these are my results with my FRITZ!Box 6591 Cable, FRITZ!OS-Version: 07.13 Tested with check_tr64_fritz (Version 2.1)
The Down- and Uplink speed reported by FRITZ!OS GUI is the following: for comparison the values I got via check_fritz (v1.1.0)
|
@uclara No worries, I am currently also short on time :-) The results look identical, this is not good. But I am sure we can figure this out. I just learned that there can be multiple sync groups for one internet connection. For example I have one sync group on my VDSL connection with the ID 0. In the code I just query the sync group with ID 0 and calculate the downstream/upstream. If now for some reason a cable connection has two sync groups and the sync group with ID 0 is used for something different this can lead to wrong downstream/upstream speed calculation as the other sync groups with other IDs are not queried. I put in a little development sprint to create a version of this check plugin to identify and debug this issue. :-) The debug version is based on the latest master branch including the changes from the branch Basically what this does it queries all sync groups and outputs a bunch of debug information. Can you please test this version? You can download a ZIP archive containing the binary from the following URL: https://github.com/mcktr/check_fritz/actions/runs/115055209 Just select
The full debug function with querying all sync groups is only implemented in the Please share the full debug output here. Thanks! 👍 |
@mcktr I tested the version mentioned in your post and got the following result:
It matches perfectly what the FRITZ!Box 6591 Cable, FRITZ!OS-Version: 07.13 displays as the max downstream rate. But unfortunately the --debug option fails:
Update (June, 7th):
or the new check_fritz, that you sent me for testing
Ulli |
I tested the debug option again and today I was able to get the desired output (obviously I did something wrong the last time)
|
Implements a new query algorithm for the methods downstream_max and upstream_max. The new algorithm will now perform multiple queries since the needed information to calculate the values for the methods downstream_max and upstream_max can be stored in additional sync groups. The first query will always determine how many sync groups are found. If only one sync group is found the result from this query will be used for calculation, if multiple sync groups are found the algorithm queries all sync groups but stops when a supported sync group mode is found. Currently only the sync group modes VDSL and CABLE are supported. refs #72
Changes the downstream_max and upstream_max method to query all found sync groups to ensure a correct calculated max down-/up-stream value. refs #72
I use an FB 6591 Cable with Fritz!OS 7.12. On the overview page, the cable speed is shown as 57,5 MBit don / 53 MBit up; nevertheless, the plugin reports downstream_max as 62,48 MBit/s and upstream_max as 34,24 MBit
The text was updated successfully, but these errors were encountered: