1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

R7800 Voxels firmware .. measure wan bandwidth

Discussion in 'NETGEAR AC Wireless' started by RMinNJ, Oct 8, 2019.

  1. RMinNJ

    RMinNJ Regular Contributor

    Joined:
    Mar 23, 2016
    Messages:
    83
    In the RST_statistic.htm (internet port, show statics page) the Rx and Tx B/s do not increment. (Voxels 1.0.2.69)

    Is there any place in Voxels firmware to measure the bandwidth in and out on the WAN port of the 7800. I had a program called networx that probed the router via upnp and gave the Mbit/s quite accurately.. but the program stopped working on my linux box (not related to the router firmware). Any other simple programs for linux that will probe the router stats?
     
  2. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,655
    It is not quite clear: do you intend to measure your speed (ISP) or just R7800 WAN capabilities (e.g. artificial environment when R7800 is connected by WAN port to your server by 1Gbps cable).

    Speedtest by OOKLA included into WebGUI allows to measure the speed.

    Other simple programs is e.g. iperf3 (available also in Entware). And of course practically all Linux allows to install iperf3. It could be used in artificial environment and in Internet. E.g.

    https://speedtest.wtnet.de/

    Download speed:
    Code:
    iperf3 -c speedtest.wtnet.de -p 5200 -P 10 -4 -R
    
    Upload speed:
    Code:
    iperf3 -c speedtest.wtnet.de -p 5200 -P 10 -4
    
    I myself do use iperf3 (artificial environment) for testing. Probably most accurate tool. See "man iperf3" for details and options.

    There are other free iperf3 servers in Internet. E.g.

    https://iperf.fr/iperf-servers.php

    Or use e.g. speedtest-cli (by speedtest.net). But only WAN for real Internet connection environment.

    https://packages.debian.org/buster/speedtest-cli

    Voxel.
     
  3. RMinNJ

    RMinNJ Regular Contributor

    Joined:
    Mar 23, 2016
    Messages:
    83
    Kind of..
    I rebooted my 7800 and the internet show statistics box is incrementing. Its in B/s though and I think its a total average over the whole up time of the router.

    The networx program from Softperfect probes the router via upnp (it can do snmp also) and graphs the instantaneous Mbit/s downloaded and uploaded through the WAN port.

    I can see how much of my wan is being used say by my kid watching a 4k youtube video. I saw for example that those Netflix previews as your flipping through titles burst to 60Mbit/s. My kid downloading an Xbox game would use m.y entire pipe. I've since upgraded from 100Mbit cable service to 200Mbit.

    The data is from the router, one would think the router itself could display a current live rate for us.

    youtube_vs_dtvn.jpg
     
    Last edited: Oct 9, 2019
  4. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,655
    Well, If you are interested in real-rime monitoring your router... There is a package in Entware: netdata.

    netdata is a highly optimized Linux daemon providing real-time performance monitoring for Linux systems, applications and SNMP devices over the web.

    It shows current load of router. E.g. network (WAN):

    upload_2019-10-10_21-46-7.png

    plus other resources.

    upload_2019-10-10_21-50-31.png

    etc. See e.g.

    https://github.com/netdata/netdata/wiki

    or

    https://ahelpme.com/software/monito...phs-system-overview-cpu-memory-disks-and-nfs/

    Could be installed on the router. Accessible from your browser e.g. http://192.168.1.1:19999

    Voxel.
     
    jsmiddleton4 and spocko like this.
  5. RMinNJ

    RMinNJ Regular Contributor

    Joined:
    Mar 23, 2016
    Messages:
    83
    Cool ! seems like it will include the wan port in aggregate data.. So first I need entware installed.. just follow your tutorial.. Will netdata load down the router much ?
     
  6. Mariachi

    Mariachi Occasional Visitor

    Joined:
    Oct 5, 2017
    Messages:
    11
    Hi, unfortunately the netdata package is no longer available.... Also the opkg update command does not update:
    [email protected]:/tmp/mnt/sda1/entware/bin$ opkg update
    Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ipq806x/generic/packages/Packages.gz.
    Collected errors:
    * opkg_download: Failed to download http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ipq806x/generic/packages/Packages.gz: Error.

    Location does not exist anymore. Nothing there for ipq806x. Any idea where I can get netdata for the R7800?
     
  7. kamoj

    kamoj Very Senior Member

    Joined:
    May 12, 2017
    Messages:
    743
  8. e38BimmerFN

    e38BimmerFN Very Senior Member

    Joined:
    May 25, 2012
    Messages:
    1,073
    Location:
    USA
  9. kamoj

    kamoj Very Senior Member

    Joined:
    May 12, 2017
    Messages:
    743
    Yes, need Entware.
     
  10. e38BimmerFN

    e38BimmerFN Very Senior Member

    Joined:
    May 25, 2012
    Messages:
    1,073
    Location:
    USA
    Thank you.
     
  11. Mariachi

    Mariachi Occasional Visitor

    Joined:
    Oct 5, 2017
    Messages:
    11
    Weird, I'm getting this on a r7800

    [email protected]:/tmp$ wget http://www.voxel-firmware.com/Downl...e-3x-Voxel/netdata_1.19.0-1_cortex-a15-3x.ipk
    --2020-03-24 20:17:54-- http://www.voxel-firmware.com/Downl...e-3x-Voxel/netdata_1.19.0-1_cortex-a15-3x.ipk
    Resolving www.voxel-firmware.com... 194.135.87.112
    Connecting to www.voxel-firmware.com|194.135.87.112|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1581232 (1.5M) [application/vnd.shana.informed.package]
    Saving to: 'netdata_1.19.0-1_cortex-a15-3x.ipk'

    netdata_1.19.0-1_cortex-a15 100%[=========================================>] 1.51M 1.15MB/s in 1.3s

    2020-03-24 20:17:56 (1.15 MB/s) - 'netdata_1.19.0-1_cortex-a15-3x.ipk' saved [1581232/1581232]

    [email protected]:/tmp$ opkg install netdata_1.19.0-1_cortex-a15-3x.ipk
    Unknown package 'netdata'.
    Collected errors:
    * pkg_hash_fetch_best_installation_candidate: Packages for netdata found, but incompatible with the architectures configured
    * opkg_install_cmd: Cannot install package netdata.
     
  12. Mariachi

    Mariachi Occasional Visitor

    Joined:
    Oct 5, 2017
    Messages:
    11
    Apologies, opkg was not in path so it was using the original netgear openwrt version. Netdata installed and running. My bad.
     
    Voxel, kamoj and L&LD like this.
  13. Arnout Verbeken

    Arnout Verbeken New Around Here

    Joined:
    Aug 31, 2018
    Messages:
    8
    Thank you Voxel and Kamoj. Very interesting information. netdata is up and running (I had to create some directories myself though).
    But please, can you give an overview of all different interfaces?
    I have
    ath0
    ath1
    br0
    brwan
    eth1
    eth2
    ethlan
    ethwan
    tap0
    tun0

    I have difficulties pinpointing them to what interfaces those exactly are.

    Hope you can explain. TIA
     
  14. kamoj

    kamoj Very Senior Member

    Joined:
    May 12, 2017
    Messages:
    743
    WIFI:
    ath0
    ath1
    eth1 # Not used
    eth2 # Not used

    BRIDGE:
    br0
    brwan

    LAN:
    ethlan

    WAN:
    ethwan

    TUNNELS devies e.g. for OpenVPN:
    tap0
    tun0
     
    spocko likes this.
  15. RMinNJ

    RMinNJ Regular Contributor

    Joined:
    Mar 23, 2016
    Messages:
    83
    Hey.. good deal. I never did install entware and netadata.. I had gotten the networx program working again on my linux box. Here is tonight with my kid watching a show on netflix and me watching FX
    on sling..

    Screenshot from 2020-03-25 21-23-39.png
     
    kamoj and Voxel like this.
  16. e38BimmerFN

    e38BimmerFN Very Senior Member

    Joined:
    May 25, 2012
    Messages:
    1,073
    Location:
    USA
    So I wanted to see if I could get Entware installed and then install this Netdata app as well. I believe I got Entware installed by using Voxels readme file.
    I was able to run use “/opt/bin/opkg update” and “/opt/bin/opkg upgrade”.

    However when I got to try to get Netdata app installed, I'm getting the following:
    wget http://www.voxel-firmware.com/Downl...e-3x-Voxel/netdata_1.19.0-1_cortex-a15-3x.ipk
    --2020-03-31 14:35:08-- http://www.voxel-firmware.com/Downl...e-3x-Voxel/netdata_1.19.0-1_cortex-a15-3x.ipk
    Resolving www.voxel-firmware.com... 194.135.87.112
    Connecting to www.voxel-firmware.com|194.135.87.112|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1581232 (1.5M) [application/vnd.shana.informed.package]
    Saving to: 'netdata_1.19.0-1_cortex-a15-3x.ipk'
    netdata_1 0%[ ] 0 --.-KB/s
    netdata_1. 2%[ ] 35.04K 94.7KB/s
    netdata_1.1 5%[> ] 85.95K 143KB/s
    netdata_1.19 8%[> ] 124.13K 134KB/s
    netdata_1.19. 13%[=> ] 204.73K 181KB/s
    netdata_1.19.0 18%[==> ] 278.26K 208KB/s
    netdata_1.19.0- 23%[===> ] 358.87K 230KB/s
    netdata_1.19.0-1 29%[====> ] 455.02K 255KB/s
    netdata_1.19.0-1_ 36%[======> ] 562.49K 281KB/s
    netdata_1.19.0-1_c 44%[=======> ] 691.17K 311KB/s
    netdata_1.19.0-1_co 54%[=========> ] 833.99K 344KB/s
    etdata_1.19.0-1_cor 66%[============> ] 1021K 389KB/s
    tdata_1.19.0-1_cort 83%[===============> ] 1.26M 454KB/s
    data_1.19.0-1_corte 97%[==================> ] 1.47M 492KB/s
    etanetdata_1.19.0-1_co 100%[===================>] 1.51M 496KB/s in 3.1s
    2020-03-31 14:35:12 (496 KB/s) - 'netdata_1.19.0-1_cortex-a15-3x.ipk' saved [1581232/1581232]

    [email protected]:/tmp$ opkg install netdata_1.19.0-1_cortex-a15-3x.ipk
    Unknown package 'netdata'.
    Collected errors:
    * pkg_hash_fetch_best_installation_candidate: Packages for netdata found, but incompatible with the architectures configured
    * opkg_install_cmd: Cannot install package netdata.


    Let me know if I missed something...
     
  17. R. Gerrits

    R. Gerrits Regular Contributor

    Joined:
    Nov 12, 2019
    Messages:
    116
    you forgot the path with the command opkg install netdata_1.19.0-1_cortex-a15-3x.ipk, so it is probably using stock opkg instead of entware opkg.

    you should have used /opt/bin/opkg install netdata_1.19.0-1_cortex-a15-3x.ipk

    btw, normally /opt/bin/opkg install netdata should have also worked (i.e without first downloading the .ipk with wget)
     
    e38BimmerFN and kamoj like this.
  18. e38BimmerFN

    e38BimmerFN Very Senior Member

    Joined:
    May 25, 2012
    Messages:
    1,073
    Location:
    USA
    Ok that worked. /opt/bin/opkg install netdata_1.19.0-1_cortex-a15-3x.ipk
    I'm taking notes for future reference.
    Is there anything else?
    Should I be able to run it from a browser now? http://192.168.#.1:19999
     
  19. R. Gerrits

    R. Gerrits Regular Contributor

    Joined:
    Nov 12, 2019
    Messages:
    116
    you might need to start it via opt/etc/init.d/S60netdata start (or reboot the router)
     
    Voxel, kamoj and e38BimmerFN like this.
  20. e38BimmerFN

    e38BimmerFN Very Senior Member

    Joined:
    May 25, 2012
    Messages:
    1,073
    Location:
    USA
    And with that, its running. Wow. Sure is handy. Lots of info to check out.
    Thank you very much for your help.

    One last question, how can I update the ipk package. I see that NetData has an update. Something I need to run in telnet?