I had an issue today that was a bit of a challenge. We installed 3 new access points but forgot to login to them beforehand and setup their VLANs and credentials.
- My solution was: export a .cfg from an existing access point
- SSH from router at the tower to the AP on 192.168.1.20
- Add DNS resolution to AP
- WGET the working config to the AP.
- Apply changes
- Reboot.
After doing that, the AP came up on the correct VLAN and pulled a management IP from the management VLAN.
echo "nameserver 8.8.8.8" > /etc/resolv.conf
cd /tmp/
wget http://server/dir/cfg.txt
cp ap.txt system.cfg
cfgmtd -f /tmp/system.cfg -w
reboot