- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Running Android on an Mx5x platform and trying to access and run several (built-in) busybox commands from inside an app.
Many work fine, a couple of examples:
- Runtime.getRuntime().exec("ls -l")
- Runtime.getRuntime().exec("ping www.google.com")
But any busybox command does not (e.g.);
- Runtime.getRuntime().exec("busybox traceroute 74.125.225.115")
They fail immediate with exit=1, as if hte command does not exist. I have created a soft link for the command which provides a (permissions 777) linked traceroute command. I.e. to allow this;
- Runtime.getRuntime().exec("traceroute 74.125.225.115")
Still no-go. Immediate exit=1 from the .exec() ?????????
I'm STUMPED! Any input would be most appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are marking this post as solved, due to the either low activity or any reply marked as correct.
If you have additional questions, please create a new post and reference to this closed post.
NXP Community!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are marking this post as solved, due to the either low activity or any reply marked as correct.
If you have additional questions, please create a new post and reference to this closed post.
NXP Community!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mike,
I am also facing the same above mentioned issue. Have you found any solution to this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No.
Frustrating because the BusyBox traceroute is well implemented and should be accessible.
Also been thinking about implementing a duplicate function in the kernel - which I could call by Android - but concerned about the ensuring that a kernel function output can be readily captured by a calling Android app.
Alternatively I'm thinking I might have to implement a half-baked trace-route by a function chaining a series of ping's.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mike
This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.
Thanks,
Yixing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry I've been out of town.
This issue is NOT answered. JayTu recreated precisely the issue I have. The QUESTION I have posted is HOW can I work-around this limitation with busybox?
It seems there is a means to allow access to this command with sufficient permissions to execute it! I'd expect someone knows this technique. My question here is to poll those who have run into this and found a solution.
Please mark this NOT ANSWERED and STILL OPEN!
Thanks,
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If so, I don't have any idea. Sorry for the noise and I've deleted my post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No apologies needed - your time & effort is appreciated.
There is a solution - I'm polling for what others have done to address this!
Thanks,
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mike
What is the progress of this issue? Do you want to keep this one open or otherwise we should close this?
Thanks,
Yixing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yixing,
Please keep this open until someone at least points a way or suggests a probable solution!
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mike
Is the reply from our AE good? If you still need help, please feel free to reply with an update to this discussion, or create another discussion.
Thanks,
Yixing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mike
We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow resolved the issue, can we close the discussion? If you still need help, please feel free to reply with an update to this discussion.
Thanks,
Yixing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No this is still an issue in review.... Any input/suggestions would be most welcome!
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
, could you help in answering the questions?
Thanks,
Yixing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok, I'll check it soon.