Advanced config on remote UBNT AP with WGET

by Jim Bouse 9. October 2018 15:16

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.

  1. My solution was: export a .cfg from an existing access point
  2. SSH from router at the tower to the AP on
  3. Add DNS resolution to AP
  4. WGET the working config to the AP.
  5. Apply changes
  6. Reboot.
After doing that, the AP came up on the correct VLAN and pulled a management IP from the management VLAN.
echo "nameserver" > /etc/resolv.conf
cd /tmp/
wget http://server/dir/cfg.txt
cp ap.txt system.cfg
cfgmtd -f /tmp/system.cfg -w


Powered by BlogEngine.NET
Original Design by Laptop Geek, Adapted by onesoft