is there the consolewd application in the same folder as where the goconsolewd.sh file is?
you could try manualy…copy the library files in the deploy folder to the /usr/lib/ folder (as root)
then run the consolewd directly from where installed
./consolewd
(although the goconsolewd.sh is supposed to allow the program to be installed anywhere)
ATM working in /usr/local/src/consolewd/ where everything is is 0777.
Have copied lib files from deploy to /usr/lib (but I don’t think that was the problem because that is called before line 27).
There is a file “consolewd”.
Still the same problem though for ./GoWdconsole.sh and ./consolewd simply returns “-bash: ./consolewd: No such file or directory” run both as the user and root.
I changed line 27 in ./GoWdconsole.sh for /usr/local/srs/consolewd/consolewd but now I get;
./GoWdconsole.sh: line 27: /usr/local/src/consolewd/consolewd: No such file or directory
It seems to not like the file to consolewd. I have tried renaming and reinstalling but get the same result.
Just in case there was a problem with moving the tar.gz from a windoze PC I have also tried downloading to a SuSE box, moving it on to the slug and then extracting it but makes no difference.
I have also tried creating simple bash and shell scripts containing “ls $DIRECTORY” and they both run OK from same location. So I edited ./GoWdconsole to run these instead of consolewd and it worked fine.
you have downloaded the ARM version of consolewd?
does the consolewd file show up in the files in the download OK?
also try installing to a directory that is not called consolewd
that might be confusing things
Yes consolewdarm.tar.gz and the file consolewd is in the bundle.
As I said I also downloaded from a Linux box, copied the tar.gz on to the slug using a samba share and then untarred it in situe.
I will try renaming the directory tomorrow but I am not sure that it will make a difference as I tried copying consolewd and running that with its new name and essentially got the same result.
I can’t see that Debian 5 could be causing the problem over 4 as everything else works.
Yes I was rather hoping someone with a bit more experience of Linux than you or I might have stepped up to the plate by now. Here’s hoping
I suppose I could reinstall it as D4 but then that shouldn’t make any dif and we need to make it work on a current (albeit Beta2 but recommended by a head honcho) version.
The files are set as full 0777 so that should allow read, write and execute. I can’t think where else to tell them to be executable but bash definitely objects to something.
The processor shouldn’t be anything different as it is an out of the box NSLU2 with its Arm processor.
As an experiment I have just extracted the tar.gz to a SuSE 10.3.5 PC (i.e. not an Arm processor), set the permissions to 0755 but the result is “bash: ./consolewd cannot execute binary file” which at least is different to the response on the Slug.
“file” does not exist on my D5 install. I am not sure if this is deliberate or something wrong. I sent it off to do an update and upgrade but that didn’t get me anything.
Aha (many hours later) Tasksel - and do a manual install of missing file. Does this mean there are other required utils or packages missing hence no WD? Is there a list of required packages or libs that we might be missing?
Anyhow (after manual install “file”);
/bin/ls: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, stripped
Also just noticed that /usr/lib now has a shed load of files (unlike above) see attached. These have even come from today’s “apt-get update & upgrade” or from installing “file”. But doesn’t help WD.
Is there any way I can trap any more info about what is happening when I run ./consolewd?
BTW kernel for my Debian 5.0Beta2 is “Linux LKGA57091 2.6.25-2-ixp4xx #2 Wed Jul 16 07:37:56 UTC 2008 armv5tel GNU/Linux” but I guess something compiled for an earlier kernel should be OK?