Speed test and Speed Optimization on Firewalla

Follow

Comments

12 comments

  • Avatar
    Sukumar Patel

    Which IP do we use in FWG when it's in router mode?

    0
    Comment actions Permalink
  • Avatar
    Firewalla

    if you are doing local testing, it will be the gateway IP (of your network segment) of the Firewalla Gold. 

    0
    Comment actions Permalink
  • Avatar
    Chris Hewitt

    This doesn’t work with the Internet IP address - right?

    0
    Comment actions Permalink
  • Avatar
    mobius strip

    I've read that ISP's cheat and grant traffic priority to speed test websites to give their customers the dishonest appearance that the boosted results are accurate measurements that represent the customer's typical internet speeds...does the choice of speedtest providers have this in mind?

    I've read good things about self-hosting your own instance of librespeed is one such way of effectively combating this, just to put this out there in case the issue hasn't already been addressed....

    https://github.com/librespeed/speedtest 

    0
    Comment actions Permalink
  • Avatar
    Michael Bierman

    Want to have speedtest cli on Firewalla Gold? This will tell you how fast your internet connection is right on Firewalla (no wifi or Ethernet involved)

    Firewalla will remove anything installed after upgrades so you can install a script to reinstall for you after firewalla upgrades and possibly reboots. Seehttps://gist.github.com/mbierman/9ac6a35622ee5a0c631ed6f6ad74b722.

    Then you can run speedtest.

    speedtest --interface=eth0

    Or

    speedtest --interface=eth1

    if you have dual WAN and want to test WAN2

     

    0
    Comment actions Permalink
  • Avatar
    remotebloke

    The wget command doesn't work.

    pi@firewalla:~ (Firewalla) $ wget https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-x86_64-linux.tgz
    --2021-07-21 20:30:37-- https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-x86_64-linux.tgz
    Resolving bintray.com (bintray.com)... 108.168.194.93
    Connecting to bintray.com (bintray.com)|108.168.194.93|:443... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    2021-07-21 20:30:38 ERROR 403: Forbidden.

    0
    Comment actions Permalink
  • Avatar
    Michael Bierman

    Yeah, speedtest changed something. I'll update my script shortly. 

    0
    Comment actions Permalink
  • Avatar
    Sukumar Patel

    Why don't you just use Speedtest CLI?

    0
    Comment actions Permalink
  • Avatar
    remotebloke

    speedtest cli fails with:

    Traceback (most recent call last):
    File "/usr/bin/speedtest", line 11, in <module>
    load_entry_point('speedtest-cli==2.0.0', 'console_scripts', 'speedtest')()
    File "/usr/lib/python3/dist-packages/speedtest.py", line 1832, in main
    shell()
    File "/usr/lib/python3/dist-packages/speedtest.py", line 1729, in shell
    secure=args.secure
    File "/usr/lib/python3/dist-packages/speedtest.py", line 1009, in __init__
    self.get_config()
    File "/usr/lib/python3/dist-packages/speedtest.py", line 1081, in get_config
    map(int, server_config['ignoreids'].split(','))
    ValueError: invalid literal for int() with base 10: ''

    0
    Comment actions Permalink
  • Avatar
    Michael Bierman

    Interesting. it is working correctly for me. Are you running the latest speedtest version?

    0
    Comment actions Permalink
  • Avatar
    remotebloke

    Yes I think so, I just installed it.

    speedtest-cli is already the newest version (2.0.0-1)

    0
    Comment actions Permalink
  • Avatar
    Sukumar Patel

    Weird, it's working fine for me.

    pi@firewalla:~ (The Patels FWG) $ speedtest -s 19081

    Speedtest by Ookla
    Server: Airtel Broadband - Mumbai (id = 19081)
    ISP: Airtel Broadband
    Latency: 1.98 ms (0.22 ms jitter)
    Download: 855.39 Mbps (data used: 677.5 MB)
    Upload: 913.85 Mbps (data used: 718.3 MB)
    Packet Loss: Not available.
    Result URL: https://www.speedtest.net/result/c/861224b7-7f6a-4e7c-bbe6-68cdb6fece26

    I followed the steps mentioned here

    Speedtest CLI - Internet connection measurement for developers

    ## If migrating from prior bintray install instructions please first...
    # sudo rm /etc/apt/sources.list.d/speedtest.list
    # sudo apt-get update
    # sudo apt-get remove speedtest
    ## Other non-official binaries will conflict with Speedtest CLI
    # Example how to remove using apt-get
    # sudo apt-get remove speedtest-cli
    curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash
    sudo apt-get install speedtest
    0
    Comment actions Permalink

Please sign in to leave a comment.