triochi/QtAdb — Issue #2: busybox arp not found
Author: Nushio
Created: 2012-02-28 18:04:57+00:00
State: open

This happened on my Galaxy S2 with CM7.2 installed.

adb shell busybox arp
arp: applet not found

The alternative is to use netcfg, which does return IPs:

# netcfg
lo UP 127.0.0.1 255.0.0.0 0x00000049
svnet0 UP 0.0.0.0 0.0.0.0 0x000000d1
usb0 DOWN 0.0.0.0 0.0.0.0 0x00001002
tunl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
gre0 DOWN 0.0.0.0 0.0.0.0 0x00000080
sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
pdp0 UP 10.127.52.94 255.255.255.0 0x000010d1
eth0 UP 192.168.11.110 255.255.255.0 0x00001043

However this requires creating a new parsing method in phone.cpp, and I'm familiar enough with c++ to do this.