configuration problems questions

Posted on
Sat Nov 04, 2017 6:25 am
Seeker offline
Posts: 440
Joined: Aug 05, 2013

configuration problems questions

I have a USG at 192.168.1.1, an AP-LITE at 1.123, and a cloud key at 1.2.

in the settings, i'm not clear which IP goes in the 'set ipnumber of ap ' option? is this the unifi controller ip? or is it the ap?

what i did:

I installed the latest plugin
user id of unifi system to my unifi username
password of unifi system to my unifi pw
checked option for 'show ap section'
entered 'set ipnumber of ap ' to 192.168.1.1 (confused on this because .1.1 is my unifi controller address, not ap.

i get this error repeatedly, three sections for unifi are created under devices but no devices are created.


Code: Select all
Nov 4, 2017 at 7:13:51 AM
   Indigo Cocoa client authenticated (192.168.1.45)
   Enabling plugin "uniFiAP 7.9.68"
   Starting plugin "uniFiAP 7.9.68" (pid 3055)
   uniFiAP                         setting parameters for indigo version: >>7<<
   Started plugin "uniFiAP 7.9.68"
   uniFiAP                         initializing  ... variables
   uniFiAP                          start  runConcurrentThread, initializing variables ..
   uniFiAP                         ..getting missing vendor names for MAC #
   uniFiAP                         ..starting threads for 1 APs 4 sec apart (MSG-log and db-DICT)
   MS-----                         192.168.1.1  0  APtail  AP
['spawn ssh admin@192.168.1.1', 'Welcome to EdgeOS', '', 'By logging in, accessing, or using the Ubiquiti product, you', 'acknowledge that you have read and understood the Ubiquiti', 'License Agreement (available in the Web UI at, by default,', 'http://192.168.1.1) and agree to be bound by its terms.', '', "admin@192.168.1.1's password: ", '']
   uniFiAP                         in Line '97' has error='global name 'msglevel' is not defined'
   uniFiAP                         192.168.1.1-0  spawn ssh admin@192.168.1.1
   uniFiAP                         in Line '97' has error='global name 'msglevel' is not defined'
   uniFiAP                         192.168.1.1-0  Welcome to EdgeOS
   uniFiAP                         in Line '97' has error='global name 'msglevel' is not defined'
   uniFiAP                         192.168.1.1-0  By logging in, accessing, or using the Ubiquiti product, you
   uniFiAP                         in Line '97' has error='global name 'msglevel' is not defined'
   uniFiAP                         192.168.1.1-0  acknowledge that you have read and understood the Ubiquiti
   uniFiAP                         in Line '97' has error='global name 'msglevel' is not defined'
   uniFiAP                         192.168.1.1-0  License Agreement (available in the Web UI at, by default,
   uniFiAP                         in Line '97' has error='global name 'msglevel' is not defined'
   uniFiAP                         192.168.1.1-0  http://192.168.1.1) and agree to be bound by its terms.
   uniFiAP                         in Line '97' has error='global name 'msglevel' is not defined'
   uniFiAP                         192.168.1.1-0  admin@192.168.1.1's password:
   MS-----                         192.168.1.1  0  APtail  AP
['Permission denied, please try again.\r', "admin@192.168.1.1's password: "]
   uniFiAP                         in Line '97' has error='global name 'msglevel' is not defined'
   uniFiAP                         192.168.1.1-0  Permission denied, please try again.

Posted on
Sat Nov 04, 2017 9:08 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: configuration problems questions

https://www.dropbox.com/s/qo117fkakkdew68/uniFiAP-v-7.9.69.zip?dl=0
should fix the line 97 mgslevel error.

AP IP number is for the ap

GW=USG=UGA has the other IP

SW=switch has the third type IP

nothing for the controller

Karl

Posted on
Sat Nov 04, 2017 9:39 am
Seeker offline
Posts: 440
Joined: Aug 05, 2013

Re: configuration problems questions

still not working.

I'm using the user/pw from controller, setting, site, services, device authentication. this is the same as my controller login.

should USG prompt when login be @GW or @UBNT?

Code: Select all
Reloading plugin "uniFiAP 7.9.69"
   Stopping plugin "uniFiAP 7.9.69" (pid 8485)
   uniFiAP                          stopping plugin due to:  :::::  restart / self.stop requested  :::::
   Stopped plugin "uniFiAP 7.9.69"
   Starting plugin "uniFiAP 7.9.69" (pid 8893)
   uniFiAP                         setting parameters for indigo version: >>7<<
   Started plugin "uniFiAP 7.9.69"
   uniFiAP                         initializing  ... variables
   uniFiAP                          start  runConcurrentThread, initializing variables ..
   uniFiAP                         ..getting missing vendor names for MAC #
   uniFiAP                         ..starting threads for 1 APs 4 sec apart (MSG-log and db-DICT)
   MS-----                         192.168.1.123  0  APtail  AP
['spawn ssh admin@192.168.1.123', "admin@192.168.1.123's password: ", 'Permission denied, please try again.\r', "admin@192.168.1.123's password: "]
   MS-AP----                       192.168.1.123-0  spawn ssh admin@192.168.1.123
   MS-AP----                       192.168.1.123-0  admin@192.168.1.123's password:
   MS-AP----                       192.168.1.123-0  Permission denied, please try again.
   MS-AP----                       192.168.1.123-0  admin@192.168.1.123's password:
   uniFiAP                         ..starting threads for GW (MSG-log and db-DICT)
   uniFiAP                         ..starting threads for 1 SWs 14 sec apart (db-DICT only)
   uniFiAP                         initialized
   MS-----                         192.168.1.1  GW  GWtail  GW
['spawn ssh admin@192.168.1.1', 'Welcome to EdgeOS', '', 'By logging in, accessing, or using the Ubiquiti product, you', 'acknowledge that you have read and understood the Ubiquiti', 'License Agreement (available in the Web UI at, by default,', 'http://192.168.1.1) and agree to be bound by its terms.', '', "admin@192.168.1.1's password: ", '']
   MS-----                         192.168.1.1  GW  GWtail  GW
['Permission denied, please try again.\r', "admin@192.168.1.1's password: "]

Posted on
Sat Nov 04, 2017 12:12 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: configuration problems questions

do a ssh userid@x.x.x.x to the USG
check what is there as prompt
but this seems to be BEFORE prompt is used.

try to simple do an ssh session to the USG (NOT the controller) if that works it should work for the plugin

Karl

ps do you have different uid/password for users and admin in unifi console?

the most recent version has:
@GW:~$

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron