Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Chuck Anderson <cra@WPI.EDU>
To: Ernesto Elias <ernestogelias@gmail.com>
Cc: "cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] Need help with the speedtest
Date: Tue, 25 Mar 2014 22:58:18 -0400	[thread overview]
Message-ID: <20140326025817.GX7867@angus.ind.WPI.EDU> (raw)
In-Reply-To: <CAAMzHDYpA_Di6uuRvaL05pOxXhq80KgeGKUMJuo0op7dMo5GNA@mail.gmail.com>

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 ?

  reply	other threads:[~2014-03-26  2:58 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 [this message]
2014-03-27 13:33       ` Ernesto Elias
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=20140326025817.GX7867@angus.ind.WPI.EDU \
    --to=cra@wpi.edu \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=ernestogelias@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