Ping command

Hello,

I am trying to run the command

ping -R 192.168.0.x

but unfortunately the option -R is not supported.

How can i do that? I don't want to use the traceroute command. Is there any alternative?

Thanks.

mridolfi: ::::SNIP::::

How can i do that? I don't want to use the traceroute command. Is there any alternative?

Thanks.

http://linux.die.net/man/8/ping

-R Record route. Includes the RECORD_ROUTE option in the ECHO_REQUEST packet and displays the route buffer on returned packets. Note that the IP header is only large enough for nine such routes. Many hosts ignore or discard this option.

@mridolfi, read the page below. It will help you with alternatives.

For your question, there are many answers.

What you need to know is that the OS for the Yun is based on OpenWRT (which is based on Linux). More importantly, busybox is used as the base set of utilities, including ping. Read the page, you will find alternatives to your needs.

Jesse

The Yún CLI Tools

The original Arduino Yún uses a distro named Linino which is based on OpenWRT version of Linux. Linino in turn uses Busybox to handle many of the programs usually stored in /bin, /sbin, /usr/bin, & /usr/sbin. On Linino's website you'll find various kernel images, SDKs, toolchains, packages, and links to git hub are on this page.

mridolfi: Hello,

I am trying to run the command

ping -R 192.168.0.x

but unfortunately the option -R is not supported.

How can i do that? I don't want to use the traceroute command. Is there any alternative?

Thanks.

The ping come from BusyBox is handicape

BusyBox v1.19.4 (2014-11-13 19:03:47 CET) multi-call binary.

Install GNU ping.

opkg update
opkg install iputils-ping
root@Arduino:~# opkg files iputils-ping
Package iputils-ping (20101006-1) is installed on root and has the following files:
/usr/bin/ping
root@Arduino:~# /usr/bin/ping -h
Usage: ping [-LRUbdfnqrvVaAD] [-c count] [-i interval] [-w deadline]
           [-p pattern] [-s packetsize] [-t ttl] [-I interface]
           [-M pmtudisc-hint] [-m mark] [-S sndbuf]
           [-T tstamp-options] [-Q tos] [hop1 ...] destination