I have a device I am setting up with wpa_supplicant to connect to an AP. I added the following to the /etc/network/interfaces file
iface lo inet loopback
iface ath0 inet dhcp
occasionally when I reboot it will work, but often I get the message
No DHCPOFFERS received.
No working leases in persistent database.
How can I clean this up?