<div dir="ltr">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:<div>
<br></div><div>Without SQM</div><div><br></div><div><br></div><div><div>root@cerowrt:~# /usr/lib/sqm/betterspeedtest.sh</div><div>Testing against <a href="http://netperf.richb-hanover.com">netperf.richb-hanover.com</a> while pinging <a href="http://gstatic.com">gstatic.com</a> (60 seconds in each direction)</div>
<div>............................................................</div><div> Download:  57.66 Mbps</div><div>  Latency: (in msec, 61 pings, 0.00% packet loss)</div><div>      Min: 4.308</div><div>    10pct: 91.300</div><div>
   Median: 112.655</div><div>      Avg: 110.100</div><div>    90pct: 127.918</div><div>      Max: 129.345</div><div>............................................................</div><div>   Upload:  39.21 Mbps</div><div>  Latency: (in msec, 61 pings, 0.00% packet loss)</div>
<div>      Min: 4.839</div><div>    10pct: 165.525</div><div>   Median: 201.487</div><div>      Avg: 197.311</div><div>    90pct: 234.007</div><div>      Max: 248.005</div></div><div><br></div><div><br></div><div>With SQM</div>
<div><br></div><div><br></div><div><br></div><div><div>root@cerowrt:~# /usr/lib/sqm/betterspeedtest.sh</div><div>Testing against <a href="http://netperf.richb-hanover.com">netperf.richb-hanover.com</a> while pinging <a href="http://gstatic.com">gstatic.com</a> (60 seconds in each direction)</div>
<div>...........................................................</div><div> Download:  47.12 Mbps</div><div>  Latency: (in msec, 61 pings, 0.00% packet loss)</div><div>      Min: 4.307</div><div>    10pct: 4.397</div><div>
   Median: 4.724</div><div>      Avg: 4.829</div><div>    90pct: 5.122</div><div>      Max: 7.566</div><div>............................................................</div><div>   Upload:  33.65 Mbps</div><div>  Latency: (in msec, 61 pings, 0.00% packet loss)</div>
<div>      Min: 4.276</div><div>    10pct: 4.441</div><div>   Median: 4.699</div><div>      Avg: 4.794</div><div>    90pct: 5.064</div><div>      Max: 7.303</div></div><div><br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Tue, Mar 25, 2014 at 10:58 PM, Chuck Anderson <span dir="ltr"><<a href="mailto:cra@wpi.edu" target="_blank">cra@wpi.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The file is probably in MS-DOS text format with CR-LF line endings<br>
given you downloaded it on Windows.  You need to convert it to Unix<br>
text format.  Try this from the shell:<br>
<br>
cat speedtest.sh | tr -d \r > speedtestfixed.sh<br>
mv speedtestfixed.sh speedtest.sh<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Mar 25, 2014 at 10:26:54PM -0400, Ernesto Elias wrote:<br>
> Well I made it all read and executable but I still get permission denied.<br>
><br>
> and I tried using "putty" but to no avail has it worked for me, but I'll<br>
> try again to see if maybe I messed up setting up putty.<br>
> On Mar 25, 2014 9:52 PM, "Dave Taht" <<a href="mailto:dave.taht@gmail.com">dave.taht@gmail.com</a>> wrote:<br>
><br>
> > chmod a+rx speedtest.sh<br>
> ><br>
> > will make it readable and executable.<br>
> ><br>
> > you will also need to edit the file to use #!/bin/sh<br>
> ><br>
> > I'd argue that a better place for it would be /usr/bin/<br>
> ><br>
> > and "putty" is a popular ssh client for windows.<br>
> ><br>
> > On Tue, Mar 25, 2014 at 6:22 PM, Ernesto Elias <<a href="mailto:ernestogelias@gmail.com">ernestogelias@gmail.com</a>><br>
> > wrote:<br>
> > > Hello everyone ! I'm in dire need of assistance with the new speed test<br>
> > that<br>
> > > our fellow community member has made. I'm on windows 7 and I used WinSCP<br>
> > > program to move the speedtest script into /usr/lib/sqm/ and I double<br>
> > checked<br>
> > > to make sure that everything is there copied from the webpage into the<br>
> > file<br>
> > > and named it speedtest.sh and so I used my phone because I have no idea<br>
> > how<br>
> > > to use ssh on windows 7. And so using the app juicessh I ran the command<br>
> > :<br>
> > > /usr/lib/sqm/ sh speedtest.sh and I got a permission denied. Any ideas on<br>
> > > what I can do ?<br>
</div></div></blockquote></div><br></div>