Executable on USB device

2 posts / 0 new
Last post
faldir
faldir's picture
Executable on USB device

Hello,

 

I would like to know if it is possible to compile a program with the cross compilation tools for MIPS and install that executable on the USB device of a WNR3500L and then execute it from an SSH console for example.

I tried to do so but I had an error like:

unknown sh

 

Thanks in advance

Subhra
Subhra's picture
There is an alternative way

There is an alternative way to run your cross-compiled executable on the board.

Mount your USB device (containing that executable).
Copy that cross-compiled executable from your USB device to /usr/bin via ssh console.

Now as the path is already exported, you can run that executable by just typing the executable
name (same as usr commands).