View Source one_dhcpd
This is a simple DHCP server that's capable of giving out just one IP address.
The use case is to support connecting Nerves devices directly to laptops. Yes,
there are many ways of solving this problem. It took a long time to give up on
the available alternatives and write this, and we may end up abandoning this
project. Until then, there's
If you're looking for a DHCP server, check out dhcp_server. Note that since this project was developed independent of that one, we were able to change the license to Apache-2.0 to be in line with other Nerves projects.
Before using this directly, check whether you can use it via
If you'd like to manually use this, see the Hex docs for details.