PDA

View Full Version : How to put a program in memory of wispstation?


kiedis
06-25-2009, 04:03 AM
Hello everyone,

My problem is: I need to put a program in wispstation, so he begins to run when you connect the card.
I am using SDK.UBNT.v3.2.2.4257. That is the first time I use an SDK, so I don't know yet how this works.
What I did was put my program in the directory / apps / gpl / myprogram.

Now I don't know what to do .. I went to the folder / rootfs / root / usr / etc / rc.de seemed to me that there is something I have to do, but I don't know ...

Someone can help me?
Thank you.

Greetings.

kiedis
08-04-2009, 04:03 AM
Hello again,

Now I put the program in memory of WispStation. I made a ssh to it and saw that the program is even there. However, when I try to run, gives error.
The problem must be because the program is not compiled for the architecture desired. As presented below:
[root @ localhost robert] # file paulo
paulo: ELF 32-bit LSB executable, Intel 80386, version 1 (SysV), dynamically linked (uses shared libs), for GNU / Linux 2.6.18, not stripped

How do I compile for the desired architecture?

Thank you,

Greetings

CzechEnglishFrenchGermanItalianPolishPortugueseRussianSpanish
Translations made by vBET 3.5.4