[En-Nut-Discussion] ethernut in two lans

Harald Kipp harald.kipp at egnite.de
Thu Apr 21 18:53:15 CEST 2005


Hello Grayson,

did you set Ethernut's gateway to 192.168.2.1?

At 18:37 21.04.2005 +0200, you wrote:

>But after the first ping request the ethernut hangs, cannot even ping it 
>form the server.
>So any idea what it can be.

Like Michael, I overlooked this additional tiny little problem.

ICMP replies are a bit special in Nut/Net, because they run
in the Ethernet driver receiver thread. If it gets blocked,
then Ethernet receiving is blocked.

Looking into
http://cvs.sourceforge.net/viewcvs.py/ethernut/nut/ChangeLog?view=markup
there had been a fix in arpcache.c. May be this causes the problem.

If you don't have CVS installed, you may copy the code from CVS
directly from
http://cvs.sourceforge.net/viewcvs.py/ethernut/nut/net/arpcache.c?rev=1.8&view=markup

Harald




More information about the En-Nut-Discussion mailing list