ping on ethernet2 shield

Hi,

I use ethernet2 shield. It work perfectly (with ethernet2 library).

i want to work on discover routine for my arduino's network (server on arduino mega and clients on arduino uno r3), and i have tested icmp-ping library.

Icmp-pin library seems to work only with ethernet library.

Is it another solution ? and what about ?

thanks for help

fred

I use ethernet2 shield.

No link, though.

It work perfectly (with ethernet2 library).

No link, though.

and i have tested icmp-ping library.

No link, though.

Is it another solution ?

Post some links!

hi,
Your answer is precise and concise, but i have some difficult to understand ... what about "No link, though." ???

ICMP-ping library work with ethernet library and not ethernet2 library, so i can't use it ...
i am searching a solution to implement a network discover based on ping, and the only solution i have found is based on icmp-ping library

regards

fred

Your answer is precise and concise, but i have some difficult to understand ... what about "No link, though."

You have some hardware. We need to know specifically what hardware you have. The easiest way to tell is that is to provide a URL, using the link icon (the infinity symbol with the green blob below it).

You are using some libraries. We need to know specifically what libraries you have. The easiest way to tell is that is to provide a URL, using the link icon (the infinity symbol with the green blob below it).

ICMP-ping library work with ethernet library and not ethernet2 library, so i can't use it ...

I don't think that, technically, there is any reason why the ethernet2 library can not deal with ping requests. But, we need to know which ethernet2 library you are using in order to understand why it can't.

hi

for network, module ethernet shield V2 arduino like http://www.gotronic.fr/art-module-ethernet-shield-2-arduino-23299.htm

for client master, arduino uno R3 like https://store.arduino.cc/product/GBX00066

for server, some arduino mega like https://store.arduino.cc/product/GBX00067

for this ethernet shield, only ethernet2 library is permissible like ethernet2 library which is in the core (like Arduino - Home)

so, i have implemented a network with one uno R3 and some mega, and i want to implement discover network.

After web search, i find a "ping solution" that is a good idea i think. And i find a Blake Foster solution based on ping on github (GitHub - BlakeFoster/Arduino-Ping: ICMP ping library for the Arduino)

i'm not a specialist on C language, but in icmg-ping.h, we find two library (Eternet.h and utility/w5100.h) : so it's not a solution for my problem (ethernet shield V2 is based on wiznet5500 composant ...)

is it another solution ?

greats for your interest and your attention :slight_smile:

fred

Arduino - Home

Perhaps you haven't discovered that arduino.org and arduino.cc are NOT the same place. You are having problems with arduino.org products and libraries. The place to ask for help with their stuff is not here.

humm ... effectively

sorry for inconvenience and thanks for your attention

regards

fred