# Bring driver back & iproute2 add in CAN kmod load $drv ip link set can0 type can bitrate 125000 triple-sampling on ifconfig can0 up
This script works well when I launch it throug ./start_can.sh in /home/root of my mangOH (I put it in this folder through scp command).
At this point I want that it is lounched through an application. So I wrote this code:
But it doesn’t work! Also mux commands don’t work beside I added the muxctrl.api (in therminal they work).
Have I to do something other? For my project I don’t want to make script manual run but auto
Any help will be appreciated
In your opinion have I to include something other? It’s strange that it can’t see mux, ifconfig, etc, I included these commands in the various .adef. On the other hand, if it hadn’t, this script wouldn’t have worked with the ./start_can.sh command on the terminal either.
sandboxed must be true or not? (in your code is false, but in this way it doesn’t see file system)
I solved!
As always, everything on this board is always complicated! There is not even the linux whereis command, so I had to look for the commands one by one where they were. On average they are all in the linked / systems / current folder. Thanks for your attention, another problem solved .
However, the best procedure is yours, simply by running the script with the systems command! Great!