nerves_network v0.3.6 Nerves.Network.Udhcpc
This module interacts with udhcpc
to interact with DHCP servers.
Link to this section Summary
Types
Event from the udhcpc server to be sent via SystemRegistry
State of the GenServer
Instance of this server
Message from the udhcpc port
Functions
Notify the DHCP server to release the IP address currently assigned to this interface. After calling this, be sure to disassociate the IP address from the interface so that packets don’t accidentally get sent or processed
Renew the lease on the IP address with the DHCP server
Start and link a Udhcpc process for the specified interface (i.e., eth0, wlan0)
Stop the dhcp client
Link to this section Types
Event from the udhcpc server to be sent via SystemRegistry.
State of the GenServer.
Instance of this server.
Message from the udhcpc port.
Link to this section Functions
Notify the DHCP server to release the IP address currently assigned to this interface. After calling this, be sure to disassociate the IP address from the interface so that packets don’t accidentally get sent or processed.
Renew the lease on the IP address with the DHCP server.
start_link(Nerves.Network.Types.ifname) :: GenServer.on_start
Start and link a Udhcpc process for the specified interface (i.e., eth0, wlan0).
Stop the dhcp client