AW: [En-Nut-Discussion] NutUdpSendTo problem

Rich Wellner ethernut at objenv.com
Mon Feb 9 21:43:35 CET 2004


"Oliver Schulz" <olischulz at web.de> writes:

> Hi Rich & Harald,
>
> some additional annotations to Haralds posting:
>
>> I have to admit too, that I never tried routing with with Ethernut's UDP,
>> but, as routing is implemented in the IP layer and used by TCP too, I'm
>> quite sure that this should work.

> While testing the sntp stuff, I extensively used routing for UDP packets and
> it worked fine. I always took directly ntp1.ptb.de as time server.

Is this code available in any form?  I'd be happy at this point to have *any*
code working and then work my way back up from there.

>> In your output EEPROM/DHCP/ARP config failed never appears, so you are
>> using DHCP. May be there's the problem. Can you please try to use

> Well, but DHCP is even *not* used if in confnet struct a valid ip address
> and subnet mask is stored. NutDhcpIfConfig only starts the dhcp thread if no
> ip address (0.0.0.0) is stored in EEPROM.  Otherwise the EEPROM
> configuration is used to configure the interface (which is not bad at all),
> but the stored gateway ip address is unfortunately ignored and then no
> default route is available.

Ah.  Yes, this makes sense.  But perhaps Harald's test does me no good then.
Well, I'll try it anyway.  Again, poke with a different stick, who knows.

I'm also going to try converting this to a TCP stack and see what happens.  I
suppose there is a remote possibility that I have a physical layer problem.

rw2



More information about the En-Nut-Discussion mailing list