Connect to the console and enter exec mode.
When the access point is running LWAPP or a recovery IOS image, you can configure the static IP address on the access point, the IP address of the controller, the access point hostname, and the default gateway IP address by entering these commands:
lwapp ap ip address ip-addr subnet-mask
lwapp ap controller ip address ip-addr
lwapp ap hostname ap-hostname
lwapp ap ip default-gateway ip-addr
The access point with a recovery IOS image uses the static controller IP address to register to the specified controller and download the current LWAPP image. After the access point successfully registers to the controller, it receives configurations from the controller. The access point static hostname and the IP address of the controller are deleted from the access point configuration file. However, the access point static IP address and the netmask and the default gateway IP address are not deleted.