[Cerowrt-devel] Need help with the speedtest

Chuck Anderson cra at WPI.EDU
Tue Mar 25 22:58:18 EDT 2014


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 at 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 at 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 ?



More information about the Cerowrt-devel mailing list