jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

DHCP support in Ethernet library. #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?

DHCP support in the ethernet library.  See: 
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?
num=1239258729/all

Why?

To support automatically getting an IP address on a network.

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?

It shouldn't.

Original issue reported on code.google.com by dmel...@gmail.com on 25 Jul 2009 at 3:07

GoogleCodeExporter commented 9 years ago
See: http://gkaindl.com/software/arduino-ethernet/

Original comment by dmel...@gmail.com on 10 Jan 2010 at 3:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've been working on a wireless networking library which is aiming to be as 
drop-in compatible with the 
standard Ethernet library as possible.

My suggestion would be to include DHCP support for Ethernet as transparently as 
possible. e.g.

  Ethernet.begin();

Which would auto-assign a MAC address and use DHCP for the IP address etc.

Or, for slightly more strict compatibility with the current usage:

  Ethernet.begin(mac);

(FWIW, I'm aiming to add a "join()" method to handle the WiFi 
association/authentication side of things.)

Original comment by follower@gmail.com on 22 Apr 2010 at 6:53

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 6 May 2010 at 6:12

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 20 Dec 2010 at 3:26

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 5 Jan 2011 at 5:15

GoogleCodeExporter commented 9 years ago
Perfect! Someone made, but I didnt test yet. 
http://blog.jordanterrell.com/post/Arduino-DHCP-Library-Trying-To-Submit-to-Ardu
ino.aspx

Original comment by xanoko...@gmail.com on 18 Mar 2011 at 12:20

GoogleCodeExporter commented 9 years ago
Jordan's DHCP code doesn't work with the newer Ethernet library - so Arduino 
0019 and later.  However, (with his blessing) I've updated it to work with the 
new library, and it's in the process of being added to the core Arduino 
release.  See https://github.com/amcewen/Arduino/tree/dns for the most 
up-to-date version of the code (which also include a DNS client)

Original comment by adrian.m...@gmail.com on 23 Mar 2011 at 5:19

GoogleCodeExporter commented 9 years ago
thanks adrian

Original comment by xanoko...@gmail.com on 23 Mar 2011 at 8:30

GoogleCodeExporter commented 9 years ago
https://github.com/arduino/Arduino/commit/f43c0918ff9c1d76b1163652e9db664a5b42cc
d3

Original comment by dmel...@gmail.com on 26 Mar 2011 at 5:45