maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Upgrading (https://talk.maemo.org/forumdisplay.php?f=8)
-   -   Ping and other ip utilities (https://talk.maemo.org/showthread.php?t=1686)

rgarza28 2006-03-26 15:20

Ping and other ip utilities
 
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 2006-03-26 16:01

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 2006-03-26 17:50

it doesn't allow me to open ICMP socket :-(

bcvthul 2006-03-26 18:09

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 2006-03-26 19:58

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:

Code:

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

HTH,

Andrew

ploum 2006-03-26 21:57

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 2006-03-27 02:13

Just change your permissions in Sudoer and then you can use Sudo for root powers in production mode.

rgarza28 2006-03-28 04:42

Hey thanks for the info. I managed to get it to work as ziggamon suggested.


All times are GMT. The time now is 03:40.

vBulletin® Version 3.8.8