DHCPServer
Installation
The package can be installed by adding dhcp_server to your list of dependencies in mix.exs:
def deps do
[{:dhcp_server, "~> 0.2.0"}]
endUsage
iex(1)> {:ok, dhcp_server} = DHCPServer.start_link("usb0", [])
{:ok, dhcp_server}
# Plug device in or something?
# Get ip address?
# Do some local work?
# Profit?
iex(2)> DHCPServer.stop(dhcp_server)
:okLicense
This project is originally located here and is licensed under GPLv2. See COPYING for more details.