well I do not know if this is the correct method of running the script right. But I ran the command: /usr/lib/sqm/betterspeedtest.sh instead of the command: /usr/lib/sqm/ sh betterspeedtest.sh and voila it is actually running! I get the welcome message and everything. But I do not know if that is the correct way of doing it ? But I'll post my results down below:
Without SQM
root@cerowrt:~# /usr/lib/sqm/betterspeedtest.sh
............................................................
Download: 57.66 Mbps
Latency: (in msec, 61 pings, 0.00% packet loss)
Min: 4.308
10pct: 91.300
Median: 112.655
Avg: 110.100
90pct: 127.918
Max: 129.345
............................................................
Upload: 39.21 Mbps
Latency: (in msec, 61 pings, 0.00% packet loss)
Min: 4.839
10pct: 165.525
Median: 201.487
Avg: 197.311
90pct: 234.007
Max: 248.005
With SQM
root@cerowrt:~# /usr/lib/sqm/betterspeedtest.sh
...........................................................
Download: 47.12 Mbps
Latency: (in msec, 61 pings, 0.00% packet loss)
Min: 4.307
10pct: 4.397
Median: 4.724
Avg: 4.829
90pct: 5.122
Max: 7.566
............................................................
Upload: 33.65 Mbps
Latency: (in msec, 61 pings, 0.00% packet loss)
Min: 4.276
10pct: 4.441
Median: 4.699
Avg: 4.794
90pct: 5.064
Max: 7.303