1. Access the AP through the serial port
2. Set the AP to default values using these commands:
system
config
default
3. When prompted, enter yes.
4. Type the following commands
system
aap-setup
set auto-discovery enable
set interface lan1
set ipadr 1 <controller_ip>
..
..
network
lan
set ip-mode 1 static
set ipadr 1 <ap_ip>
set mask 1 <ap_ip_subnet>
set dgw 1 <ap_default_gateway>
set lan 1 enable
save