9 years, 8 months ago.

Ethernet Interface

if I dont't want to use DHCP ,what should I do?

Question relating to:

1 Answer

9 years, 8 months ago.

Instead of calling init() on the EthernetInterface object, you should be able to call init("192.168.0.42", "255.255.255.0", "192.168.0.1") to specify your address, netmask and gateway details explicitly and avoid DHCP.

Accepted Answer

Thank you for your help! I have already solved the problem

posted by zhang jun 04 Aug 2014