Pages: [1]   Go Down
Author Topic: Ethernet DHCP library produces malformed packets  (Read 581 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Spain
Offline Offline
Full Member
***
Karma: 0
Posts: 149
LED
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm using the 'Arduino 1.0-beta1' branch Ethernet library, and DHCP & DNS work fine for me.
Logged

Arduino Uno (R2fix) / Duemilanove (328p)
Ethernet Shield SD (v5)

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, it work with 1.0! Great  smiley
Logged

Pages: [1]   Go Up
Jump to: