nerves_network v0.3.4 Nerves.Network.Udhcpc

This module interacts with udhcpc to interact with DHCP servers.

Link to this section Summary

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 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.

Link to this function start_link(ifname)

Start and link a Udhcpc process for the specified interface (i.e., eth0, wlan0).

Stop the dhcp client