[En-Nut-Discussion] Problem with connection to Ethernut
Alexandra Taratutin
alextara19 at earthlink.net
Fri Jan 23 19:22:36 CET 2004
Hi!
Thank you all for the help. I was trying different things that you are all
suggested, but at the end it was all my fault. I don't know what exactly I
did wrong, but to fix the problem with connecting to the Ethernut I
installed again all sources from the CD, run nutconfig, compiled my program
and now I don't have any problems with connecting.
Again, thank you all for you help.
Sasha.
-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]On Behalf Of Bengt Florin
Sent: Thursday, January 22, 2004 3:24 AM
To: en-nut-discussion at egnite.de
Subject: [En-Nut-Discussion] Problem with connection to Ethernut
Yes, I solved this by updating the ARP cache when receiving the pings.
Snippet from ipin.c
...
NutArpCacheUpdate(dev, ip->ip_src, ((ETHERHDR *)nb->nb_dl.vp)->ether_shost);
switch (ip->ip_p) {
...
Now Arp cahce will be updated with all talks IP to us.
Don't know if this is by the book, but it solved some of my problems.
Regards
Bengan
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list