View Single Post
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#137
Originally Posted by demolition View Post
Might have been asked here alerady. Does this BB version have any valid flags with the 'ping' command? -h even seems not to work.
BusyBox' ping accepts: -q -v -c -t -w and -W, no -h unfortunately. As tuxsavvy pointed out, you could use the full ping binary if you find ping to be lacking some options you need.

Originally Posted by tuxsavvy View Post
The latest busybox-power does not seem to have ping applet. If it helps I have the ping program from the package iputils-ping. This package maybe found in devtools repository.
Maemo bug #700 was fixed in busybox-power 1.19.0power1. This required splitting busybox into busybox and busybox_root (which has the SUID bit set). As ping is an utility that requires root permissions, it was moved to busybox_root. I assume you've only checked /bin/busybox to see whether it lists ping as a supported utility or not, am I right?

Code:
Nokia-N900:~# ls -l /bin/ping
lrwxrwxrwx    1 root     root            17 Oct 29 18:15 /bin/ping -> /bin/busybox_root
Nokia-N900:~# ls -l /bin/busybox_root 
-rwsr-xr-x    1 root     root         80768 Oct 29 17:33 /bin/busybox_root
BusyBox should support automatically dropping privileges for applets that don't require the SUID bit to be set. However, there were some security issues concerning this feature in the past AFAIK, which is the main reason for splitting the binary.

Last edited by iDont; 2011-11-02 at 21:22.
 

The Following 3 Users Say Thank You to iDont For This Useful Post: