After spending 2 days searching for a working script to update my wan IP to Namecheap, I want to say this script is excellent. Short and precise.
thx a lot @mattsawatzky
Solved. Now Unify is up and running and the AP has a static IP of 172.16.24.120.After you get AP working properly, you can tackle the issue of separating LANs 172.16.24.0/24 and 192.168.1.0/24 ...
4 - Try tracert from client device connected by WiFi to the Ubiquiti AP 4011 to an internet site (126.96.36.199 for ex) and post results
3 - Try ping from client device that is connected by WiFi to Ubiquiti AP to the 4011, and post results (172.16.24.x to 172.16.24.1)
It is from a previous config. Ignore it.
BTW, on the chart the AP has two IP addresses indicated. What does 192.168.1.45 do there? It shouldn't work because its in a wrong subnet.