Install inetutils from Cydia or
Huang-Jiang-Bins-iPhone-3:/var/mobile root# ping www.google.com sh: ping: command not found Huang-Jiang-Bins-iPhone-3:/var/mobile root# apt-get install inetutils Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: inetutils 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/212kB of archives. After this operation, 889kB of additional disk space will be used. Selecting previously deselected package inetutils. (Reading database ... 5760 files and directories currently installed.) Unpacking inetutils (from .../inetutils_1.6-8_iphoneos-arm.deb) ... Setting up inetutils (1.6-8) ... Huang-Jiang-Bins-iPhone-3:/var/mobile root# ping www.google.com PING www-g-com-chn.l.google.com (66.249.89.104): 56 data bytes 64 bytes from 66.249.89.104: icmp_seq=0 ttl=50 time=202.328 ms 64 bytes from 66.249.89.104: icmp_seq=1 ttl=50 time=228.361 ms 64 bytes from 66.249.89.104: icmp_seq=2 ttl=50 time=145.664 ms ^C--- www-g-com-chn.l.google.com ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 145.664/192.118/228.361/34.524 ms
One Response to How to install command ping in iPhone