0

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 192.168.1.20
  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 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

Tags:

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