Go Down

Topic: Ethernet DHCP library produces malformed packets (Read 655 times) previous topic - next topic

Hi all,

I'm trying to use the Ethernet DHCP library (which can be found here: http://gkaindl.com/software/arduino-ethernet/dhcp), but without any success; in particular, I have tried the synchronous request example with my computer acting as a DHCP server, and the syslog messages show that it receives many malformed messages followed by a correct DHCPDISCOVER one, to which the server answers back a DHCPOFFER, but the Arduino never answers back, instead it continues again with malformed messages followed by the discovery ones, and so on (here you can find an extract of the log: http://pastebin.com/eLhixfFk),
This packet sequence is confirmed also by Wireshark, with the malformed DHCP messages too. Is there anyone that has a similar problem? Is there any different DHCP library that I can try?

Razorblade

I'm using the 'Arduino 1.0-beta1' branch Ethernet library, and DHCP & DNS work fine for me.
Arduino Uno (R2fix) / Duemilanove (328p)
Ethernet Shield SD (v5)


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy