From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id B732B21F244 for ; Thu, 27 Mar 2014 06:33:54 -0700 (PDT) Received: by mail-qc0-f181.google.com with SMTP id e9so4185720qcy.40 for ; Thu, 27 Mar 2014 06:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TGj00JKEiB7Vbj4HLZnfT6HdBUTtCOCtIXYBRd9xkkM=; b=gHWHC8E8yx3C5oPCvroYlo3DKcREFiT/Da7i75C7rqVQMmEeqHDfSRJIyRT5HwniOb +t85Tm4xJrfmeHHf6HU+6cXiJ8gm1G21HBrVaTYm/aEikTw9uhTKKJntsw2kqpmQoZGT zUeo9L3bp9JcfUny2iUEoC08RdHWv9ijt8XMFS7y4TwyPlIFz0CPItQSFgyvq+tHIh9w 7UiHB1DBAUWB5dIeUiDkNDotxBVJMDwY8H2xhwQaLZYCU6Qr6w5P08S6VNIENmf06IHI EASBUBUHNfwaI5ZGcf1/xoS/otX0fLX6gT41AQtBb4i8fACuiHl7ClKe9QT6angjrZun w3Jw== MIME-Version: 1.0 X-Received: by 10.140.104.228 with SMTP id a91mr1354954qgf.113.1395927233665; Thu, 27 Mar 2014 06:33:53 -0700 (PDT) Received: by 10.140.85.85 with HTTP; Thu, 27 Mar 2014 06:33:53 -0700 (PDT) In-Reply-To: <20140326025817.GX7867@angus.ind.WPI.EDU> References: <20140326025817.GX7867@angus.ind.WPI.EDU> Date: Thu, 27 Mar 2014 09:33:53 -0400 Message-ID: From: Ernesto Elias To: Ernesto Elias , Dave Taht , "cerowrt-devel@lists.bufferbloat.net" Content-Type: multipart/alternative; boundary=001a11354186e53d4404f596a228 Subject: Re: [Cerowrt-devel] Need help with the speedtest X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 13:33:55 -0000 --001a11354186e53d4404f596a228 Content-Type: text/plain; charset=ISO-8859-1 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 Testing against netperf.richb-hanover.com while pinging gstatic.com (60 seconds in each direction) ............................................................ 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 Testing against netperf.richb-hanover.com while pinging gstatic.com (60 seconds in each direction) ........................................................... 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 On Tue, Mar 25, 2014 at 10:58 PM, Chuck Anderson wrote: > The file is probably in MS-DOS text format with CR-LF line endings > given you downloaded it on Windows. You need to convert it to Unix > text format. Try this from the shell: > > cat speedtest.sh | tr -d \r > speedtestfixed.sh > mv speedtestfixed.sh speedtest.sh > > On Tue, Mar 25, 2014 at 10:26:54PM -0400, Ernesto Elias wrote: > > Well I made it all read and executable but I still get permission denied. > > > > and I tried using "putty" but to no avail has it worked for me, but I'll > > try again to see if maybe I messed up setting up putty. > > On Mar 25, 2014 9:52 PM, "Dave Taht" wrote: > > > > > chmod a+rx speedtest.sh > > > > > > will make it readable and executable. > > > > > > you will also need to edit the file to use #!/bin/sh > > > > > > I'd argue that a better place for it would be /usr/bin/ > > > > > > and "putty" is a popular ssh client for windows. > > > > > > On Tue, Mar 25, 2014 at 6:22 PM, Ernesto Elias < > ernestogelias@gmail.com> > > > wrote: > > > > Hello everyone ! I'm in dire need of assistance with the new speed > test > > > that > > > > our fellow community member has made. I'm on windows 7 and I used > WinSCP > > > > program to move the speedtest script into /usr/lib/sqm/ and I double > > > checked > > > > to make sure that everything is there copied from the webpage into > the > > > file > > > > and named it speedtest.sh and so I used my phone because I have no > idea > > > how > > > > to use ssh on windows 7. And so using the app juicessh I ran the > command > > > : > > > > /usr/lib/sqm/ sh speedtest.sh and I got a permission denied. Any > ideas on > > > > what I can do ? > --001a11354186e53d4404f596a228 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
well I do not know if this is the correct method of runnin= g 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 k= now if that is the correct way of doing it ? But I'll post my results d= own below:

Without SQM


roo= t@cerowrt:~# /usr/lib/sqm/betterspeedtest.sh
Testing against netperf.richb-hanover.com whil= e pinging gstatic.com (60 seconds in eac= h direction)
............................................................
=A0Download: =A057.66 Mbps
=A0 Latency: (in msec, 61 pings, 0.00= % packet loss)
=A0 =A0 =A0 Min: 4.308
=A0 =A0 10pct: 91= .300
=A0 =A0Median: 112.655
=A0 =A0 =A0 Avg: 110.100
=A0 =A0= 90pct: 127.918
=A0 =A0 =A0 Max: 129.345
..............= ..............................................
=A0 =A0Upload: =A0= 39.21 Mbps
=A0 Latency: (in msec, 61 pings, 0.00% packet loss)
=A0 =A0 =A0 Min: 4.839
=A0 =A0 10pct: 165.525
=A0 = =A0Median: 201.487
=A0 =A0 =A0 Avg: 197.311
=A0 =A0 90p= ct: 234.007
=A0 =A0 =A0 Max: 248.005


With SQM



root@cerowrt:~# /usr= /lib/sqm/betterspeedtest.sh
Testing against netperf.richb-hanover.com while pinging gstatic.com (60 seconds in each direction)
...........................................................
= =A0Download: =A047.12 Mbps
=A0 Latency: (in msec, 61 pings, 0.00%= packet loss)
=A0 =A0 =A0 Min: 4.307
=A0 =A0 10pct: 4.3= 97
=A0 =A0Median: 4.724
=A0 =A0 =A0 Avg: 4.829
=A0 =A0 90p= ct: 5.122
=A0 =A0 =A0 Max: 7.566
......................= ......................................
=A0 =A0Upload: =A033.65 Mb= ps
=A0 Latency: (in msec, 61 pings, 0.00% packet loss)
=A0 =A0 =A0 Min: 4.276
=A0 =A0 10pct: 4.441
=A0 = =A0Median: 4.699
=A0 =A0 =A0 Avg: 4.794
=A0 =A0 90pct: = 5.064
=A0 =A0 =A0 Max: 7.303



On Tue, Mar 25, 2014 at 10:58 PM, Chuck Anderson= <cra= @wpi.edu> wrote:
The file is probably in MS-DOS text format with CR-LF line endings
given you downloaded it on Windows. =A0You need to convert it to Unix
text format. =A0Try this from the shell:

cat speedtest.sh | tr -d \r > speedtestfixed.sh
mv speedtestfixed.sh speedtest.sh

On Tue, Mar 25, 2014 at 10:26:54PM -0400, Ernesto Elias wrote:
> Well I made it all read and executable but I still get permission deni= ed.
>
> and I tried using "putty" but to no avail has it worked for = me, but I'll
> try again to see if maybe I messed up setting up putty.
> On Mar 25, 2014 9:52 PM, "Dave Taht" <dave.taht@gmail.com> wrote:
>
> > chmod a+rx speedtest.sh
> >
> > will make it readable and executable.
> >
> > you will also need to edit the file to use #!/bin/sh
> >
> > I'd argue that a better place for it would be /usr/bin/
> >
> > and "putty" is a popular ssh client for windows.
> >
> > On Tue, Mar 25, 2014 at 6:22 PM, Ernesto Elias <ernestogelias@gmail.com>
> > wrote:
> > > Hello everyone ! I'm in dire need of assistance with the= new speed test
> > that
> > > our fellow community member has made. I'm on windows 7 a= nd I used WinSCP
> > > program to move the speedtest script into /usr/lib/sqm/ and = I double
> > checked
> > > to make sure that everything is there copied from the webpag= e into the
> > file
> > > and named it speedtest.sh and so I used my phone because I h= ave no idea
> > how
> > > to use ssh on windows 7. And so using the app juicessh I ran= the command
> > :
> > > /usr/lib/sqm/ sh speedtest.sh and I got a permission denied.= Any ideas on
> > > what I can do ?

--001a11354186e53d4404f596a228--