Home » Android » android – How to traceroute in adb shell?

android – How to traceroute in adb shell?

Posted by: admin June 15, 2020 Leave a comment

Questions:

I have a rooted device, I type “su” in adb shell, then I try to traceroute.
It says “traceroute: not found”.
I can’t find traceroute in any bin folders.

Thanks for any hints.

How to&Answers:

Traceroute is not avaiable with standard Android distribution. You may want to try installing BusyBox on your device: http://www.ihackintosh.com/2009/12/how-to-install-busybox-on-a-rooted-device/

It contains many useful tools that are avaiable on UNIX systems and are also working for Android. It can be downloaded here: http://www.busybox.net/

Answer:

After installing busybox run the following command:

$su
# /path to folder where u have installed busybox/busybox traceroute ip 

like i have installed the busybox in /system/xbin folder then command is

# /system/xbin/busybox traceroute  74.125.236.66