PDA

View Full Version : Ping and other ip utilities


rgarza28
03-26-2006, 10:20 AM
Hello all,

Just wondering how to use the 770 to ping other devices. I have x-term and iputils installed but no ping command can be found. Am I missing something? I've searched all over this site and have yet to come across any info on this topic, but if I've missed something point it to me.

Thanks,

Ray

ziggamon
03-26-2006, 11:01 AM
it's located in /var/lib/install/usr/bin/ping

try that ;-)
Next - you should be able to add /var/lib/install/usr/bin/ to your .profile, or just link it to /usr/bin/ping

ploum
03-26-2006, 12:50 PM
it doesn't allow me to open ICMP socket :-(

bcvthul
03-26-2006, 01:09 PM
I have a strange situation onjuist my 770. The ping tool is located in /mnt/inits/bin. It's linked to the busybox located too in this directory. Doing help in the shell gives an overview of the busybox commands. Ping is not in this list(?)

BC

aflegg
03-26-2006, 02:58 PM
ploum,

Crafting a ping packet requires root privileges, but an Application Installer package in the 2005 OS can't have a binary setuid root.

You'll need to, as root, do something along the lines of:

chown root /var/lib/install/usr/bin/ping
chmod u+s /var/lib/install/usr/bin/ping

HTH,

Andrew

ploum
03-26-2006, 04:57 PM
Indeed, I was guessing it was something like that. But I'm not root for now and I think I will stay a bit this way ;-)

dandrewk
03-26-2006, 09:13 PM
Just change your permissions in Sudoer and then you can use Sudo for root powers in production mode.

rgarza28
03-27-2006, 11:42 PM
Hey thanks for the info. I managed to get it to work as ziggamon suggested.