autodetect ethernet shield

kyngston:

fungus:
I don't think the Ethernet library supports DCHP...

I don't know how recent it is, but v1.0 now supports DHCP, and it works very well for me:
Ethernet - Arduino Reference

Must be new in 1.0...