Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Ernesto Elias <ernestogelias@gmail.com>
To: Ernesto Elias <ernestogelias@gmail.com>,
	Dave Taht <dave.taht@gmail.com>,
	 "cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] Need help with the speedtest
Date: Thu, 27 Mar 2014 09:33:53 -0400	[thread overview]
Message-ID: <CAAMzHDaha6GzPS=G5FcezXT+=eg8F8vrZnt=nKXMtFf5tuoABA@mail.gmail.com> (raw)
In-Reply-To: <20140326025817.GX7867@angus.ind.WPI.EDU>

[-- Attachment #1: Type: text/plain, Size: 3379 bytes --]

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 <cra@wpi.edu> 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" <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 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 ?
>

[-- Attachment #2: Type: text/html, Size: 4909 bytes --]

  reply	other threads:[~2014-03-27 13:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26  1:22 Ernesto Elias
2014-03-26  1:52 ` Dave Taht
2014-03-26  2:26   ` Ernesto Elias
2014-03-26  2:58     ` Chuck Anderson
2014-03-27 13:33       ` Ernesto Elias [this message]
2014-03-27 17:47         ` Dave Taht
     [not found]           ` <CAAMzHDZQm3+7r6=75jNz0KoM_ztYp9=UHumztJZAJ9cEr813nA@mail.gmail.com>
2014-03-27 19:48             ` [Cerowrt-devel] Fwd: " Ernesto Elias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAMzHDaha6GzPS=G5FcezXT+=eg8F8vrZnt=nKXMtFf5tuoABA@mail.gmail.com' \
    --to=ernestogelias@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=dave.taht@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox