Setup Issues

Posted on
Sat Aug 25, 2018 9:29 am
farberm offline
Posts: 154
Joined: Feb 24, 2008

Setup Issues

Since I upgraded not sure why I do not see all my LAN and WIFI devices. I do not even see my GW anymore

GW: 192.168.1.1
AP - 0: 192.168.1.5
AP-1 : 192.168.1.6

Here are my settings:

Any suggestions as to why all my devices are not showing up and why my gateway is not showing up. I should have about 75 devices listed....?
Attachments
Screen Shot 2018-08-25 at 11.26.42 AM.png
Screen Shot 2018-08-25 at 11.26.42 AM.png (283.83 KiB) Viewed 846 times
Screen Shot 2018-08-25 at 11.26.30 AM.png
Screen Shot 2018-08-25 at 11.26.30 AM.png (74.98 KiB) Viewed 846 times
Screen Shot 2018-08-25 at 11.17.48 AM.png
Screen Shot 2018-08-25 at 11.17.48 AM.png (393.53 KiB) Viewed 846 times
Screen Shot 2018-08-25 at 11.17.33 AM.png
Screen Shot 2018-08-25 at 11.17.33 AM.png (494.94 KiB) Viewed 846 times

Posted on
Sat Aug 25, 2018 10:27 am
kw123 offline
User avatar
Posts: 5905
Joined: May 12, 2013
Location: Dallas, TX

Setup Issues

Are the devices deleted? Or what is meant by do not show up?
Anything in the logfile ?
...

Switch on debug all. And post the logfile

Karl
Sent from my iPhone using Tapatalk

Posted on
Sat Aug 25, 2018 10:39 am
farberm offline
Posts: 154
Joined: Feb 24, 2008

Re: Setup Issues

I reinstalled the all. Not sure why devices would be deleted? If they were how do I get them back? I have restarted the plugin etc.

Here is the log file.
Attachments
unifi.log
(177.73 KiB) Downloaded 10 times

Posted on
Sat Aug 25, 2018 2:15 pm
farberm offline
Posts: 154
Joined: Feb 24, 2008

Re: Setup Issues

Karl how do I reset everything and reinstall. My iphone is not showing up under the UNIFI_created folderwven though it is on the network. Do I need to restart the USG and AP also?

Posted on
Sat Aug 25, 2018 3:09 pm
kw123 offline
User avatar
Posts: 5905
Joined: May 12, 2013
Location: Dallas, TX

Re: Setup Issues

I do nost see any error message in the log. all looks normal and the following devices exist in indigo:
Code: Select all
12:34:47                          -starting device:  AP_44:d9:e7:f6:ac:b7  702853526  44:d9:e7:f6:ac:b7
12:34:47                          -starting device:  AP_44:d9:e7:f6:ad:0b  1685752428  44:d9:e7:f6:ad:0b
12:34:47                          -starting device:  Downstairs AP  1450199715 
12:34:47                          -starting device:  neighbor_6c:ca:08:3b:e8:c0  888275078  6c:ca:08:3b:e8:c0
12:34:48                          -starting device:  neighbor_94:c1:50:b8:25:d6  1310525101  94:c1:50:b8:25:d6
12:34:48                          -starting device:  UniFi_00:04:20:f2:17:0a  1186078568  00:04:20:f2:17:0a
12:34:48                          -starting device:  UniFi_00:04:20:fa:24:34  1572982982  00:04:20:fa:24:34
12:34:48                          -starting device:  UniFi_00:0c:1e:e0:a3:9e  1403742753  00:0c:1e:e0:a3:9e
12:34:48                          -starting device:  UniFi_00:0c:1e:e0:cf:41  106596279  00:0c:1e:e0:cf:41
12:34:48                          -starting device:  UniFi_00:0e:58:14:8d:fa  1502195303  00:0e:58:14:8d:fa
12:34:48                          -starting device:  UniFi_00:0e:58:37:12:c0  836847661  00:0e:58:37:12:c0
12:34:48                          -starting device:  UniFi_00:0e:58:a6:b7:22  1908267524  00:0e:58:a6:b7:22
12:34:48                          -starting device:  UniFi_00:0e:58:a9:2c:4e  1657003827  00:0e:58:a9:2c:4e
12:34:48                          -starting device:  UniFi_00:0e:58:d4:b4:48  97917489  00:0e:58:d4:b4:48
12:34:48                          -starting device:  UniFi_00:0e:58:d9:d1:9c  964737787  00:0e:58:d9:d1:9c
12:34:48                          -starting device:  UniFi_00:11:32:2a:a1:37  1347107724  00:11:32:2a:a1:37
12:34:48                          -starting device:  UniFi_00:17:88:2f:32:16  534608359  00:17:88:2f:32:16
12:34:48                          -starting device:  UniFi_00:18:dd:05:21:88  3615213  00:18:dd:05:21:88
12:34:48                          -starting device:  UniFi_00:1e:c0:c3:6d:66  72125500  00:1e:c0:c3:6d:66
12:34:48                          -starting device:  UniFi_00:22:3f:aa:24:40  1167200769  00:22:3f:aa:24:40
12:34:48                          -starting device:  UniFi_00:22:de:8c:67:13  775459872  00:22:de:8c:67:13
12:34:48                          -starting device:  UniFi_00:26:08:a4:ab:21  1872902684  00:26:08:a4:ab:21
12:34:48                          -starting device:  UniFi_00:40:8c:72:4d:43  80877423  00:40:8c:72:4d:43
12:34:48                          -starting device:  UniFi_00:40:8c:90:88:1e  1689123936  00:40:8c:90:88:1e
12:34:48                          -starting device:  UniFi_00:40:8c:92:14:48  682312045  00:40:8c:92:14:48
12:34:48                          -starting device:  UniFi_00:40:8c:92:14:64  338549106  00:40:8c:92:14:64
12:34:48                          -starting device:  UniFi_00:90:c2:ec:c0:d0  1561664592  00:90:c2:ec:c0:d0
12:34:49                          -starting device:  UniFi_00:d0:2d:dc:ff:5f  1679554054  00:d0:2d:dc:ff:5f
12:34:49                          -starting device:  UniFi_08:bd:43:f6:64:32  600258513  08:bd:43:f6:64:32
12:34:49                          -starting device:  UniFi_18:65:90:ea:84:94  647401041  18:65:90:ea:84:94
12:34:49                          -starting device:  UniFi_18:b4:30:00:f3:d8  1978635295  18:b4:30:00:f3:d8
12:34:49                          -starting device:  UniFi_20:4c:9e:25:b7:30  323821553  20:4c:9e:25:b7:30
12:34:49                          -starting device:  UniFi_20:4c:9e:25:b7:34  1234893400  20:4c:9e:25:b7:34
12:34:49                          -starting device:  UniFi_24:a0:74:27:13:53  1746162279  24:a0:74:27:13:53
12:34:49                          -starting device:  UniFi_24:a0:74:49:a9:f6  1467493603  24:a0:74:49:a9:f6
12:34:49                          -starting device:  UniFi_24:fd:5b:02:37:d6  207693461  24:fd:5b:02:37:d6
12:34:49                          -starting device:  UniFi_28:6a:ba:7a:1e:6e  1261069828  28:6a:ba:7a:1e:6e
12:34:49                          -starting device:  UniFi_28:cf:da:14:da:df  322229360  28:cf:da:14:da:df
12:34:49                          -starting device:  UniFi_2c:1d:b8:e8:90:0d  1630115509  2c:1d:b8:e8:90:0d
12:34:49                          -starting device:  UniFi_44:65:0d:42:30:e5  1963927523  44:65:0d:42:30:e5
12:34:49                          -starting device:  UniFi_44:65:0d:6f:b2:0a  437072455  44:65:0d:6f:b2:0a
12:34:49                          -starting device:  UniFi_44:d9:e7:f6:ac:b7  280895761  44:d9:e7:f6:ac:b7
12:34:49                          -starting device:  UniFi_44:d9:e7:f6:ad:0b  460264046  44:d9:e7:f6:ad:0b
12:34:49                          -starting device:  UniFi_46:d9:e7:f7:ac:b7  846108029  46:d9:e7:f7:ac:b7
12:34:49                          -starting device:  UniFi_46:d9:e7:f7:ad:0b  142380996  46:d9:e7:f7:ad:0b
12:34:49                          -starting device:  UniFi_46:d9:e7:f8:ac:b7  1735282268  46:d9:e7:f8:ac:b7
12:34:49                          -starting device:  UniFi_50:67:ae:3c:22:7d  1688138647  50:67:ae:3c:22:7d
12:34:49                          -starting device:  UniFi_50:67:ae:3c:35:f3  1621117665  50:67:ae:3c:35:f3
12:34:49                          -starting device:  UniFi_50:f5:da:f8:ec:26  913673182  50:f5:da:f8:ec:26
12:34:50                          -starting device:  UniFi_58:ef:68:e7:42:97  1194004031  58:ef:68:e7:42:97
12:34:50                          -starting device:  UniFi_5c:aa:fd:e8:43:b2  984826164  5c:aa:fd:e8:43:b2
12:34:50                          -starting device:  UniFi_64:52:99:97:e3:a0  1813672634  64:52:99:97:e3:a0
12:34:50                          -starting device:  UniFi_78:4f:43:60:e5:d2  186929633  78:4f:43:60:e5:d2
12:34:50                          -starting device:  UniFi_80:2a:a8:4c:21:44  310480678  80:2a:a8:4c:21:44
12:34:50                          -starting device:  UniFi_88:71:e5:cc:7b:d5  134119579  88:71:e5:cc:7b:d5
12:34:50                          -starting device:  UniFi_90:72:40:05:ca:c8  954786907  90:72:40:05:ca:c8
12:34:50                          -starting device:  UniFi_90:7a:f1:ee:3e:4d  1113014987  90:7a:f1:ee:3e:4d
12:34:50                          -starting device:  UniFi_98:4b:e1:36:cf:d6  526465452  98:4b:e1:36:cf:d6
12:34:50                          -starting device:  UniFi_9c:20:7b:98:8f:4f  260912519  9c:20:7b:98:8f:4f
12:34:50                          -starting device:  UniFi_a4:67:06:6a:60:53  1949156893  a4:67:06:6a:60:53
12:34:50                          -starting device:  UniFi_a4:b8:05:c4:44:bc  404789751  a4:b8:05:c4:44:bc
12:34:50                          -starting device:  UniFi_ac:87:a3:34:69:bf  1152641239  ac:87:a3:34:69:bf
12:34:50                          -starting device:  UniFi_ac:e4:b5:9f:88:ad  1895957946  ac:e4:b5:9f:88:ad
12:34:50                          -starting device:  UniFi_b0:19:c6:99:33:c5  1839904760  b0:19:c6:99:33:c5
12:34:50                          -starting device:  UniFi_b4:7c:9c:50:6a:87  405653313  b4:7c:9c:50:6a:87
12:34:50                          -starting device:  UniFi_b8:17:c2:cd:34:6f  1491202240  b8:17:c2:cd:34:6f
12:34:50                          -starting device:  UniFi_b8:e9:37:70:9b:6c  1608019244  b8:e9:37:70:9b:6c
12:34:50                          -starting device:  UniFi_bc:a9:d6:00:02:a6  845061351  bc:a9:d6:00:02:a6
12:34:50                          -starting device:  UniFi_c4:2c:03:07:fa:83  29215299  c4:2c:03:07:fa:83
12:34:50                          -starting device:  UniFi_c8:69:cd:46:03:8d  928028199  c8:69:cd:46:03:8d
12:34:50                          -starting device:  UniFi_d0:23:db:75:97:cd  197855331  d0:23:db:75:97:cd
12:34:50                          -starting device:  UniFi_d8:61:62:35:84:f5  685497707  d8:61:62:35:84:f5
12:34:50                          -starting device:  UniFi_dc:a9:04:72:f4:7f  154536615  dc:a9:04:72:f4:7f
12:34:50                          -starting device:  UniFi_e8:ab:fa:12:54:7b  1405330104  e8:ab:fa:12:54:7b
12:34:51                          -starting device:  UniFi_ec:ad:b8:31:ea:6f  1396347235  ec:ad:b8:31:ea:6f
12:34:51                          -starting device:  UniFi_f4:5c:89:80:7b:42  938806619  f4:5c:89:80:7b:42
12:34:51                          -starting device:  UniFi_fc:a6:67:5a:ad:ce  1379668710  fc:a6:67:5a:ad:ce
12:34:51                          -starting device:  UniFi_fc:a6:67:d5:36:04  101339799  fc:a6:67:d5:36:04
12:34:51                          -starting device:  UniFi_fc:f1:52:29:9a:11  95228969  fc:f1:52:29:9a:11



and 192.168.1.1 is sending messages and the login reads the database / dict from the gateway.

are you sure that the devices are deleted?

in order to start from scratch:

1. stop the plugin
2. delete all unified devices
3. delete the unifi prefs file in indigo ../ preferences in the indigo server directory
3. delete the ~indigo/unifi directory
5.restart the plugin


Karl

good night .. in Germany

Posted on
Wed Aug 29, 2018 8:18 pm
farberm offline
Posts: 154
Joined: Feb 24, 2008

Re: Setup Issues

Karl:

Thanks so much for all our help so far. I still am not seeing the GW listed in my devices listed. All the others show up now. I am receiving the following error in the logs however. Indigo log is as follows:

Starting plugin "uniFiAP 7.18.118" (pid 15756)
uniFiAP setting parameters for indigo version: >>7<<
Started plugin "uniFiAP 7.18.118"
uniFiAP initializing ... variables
uniFiAP logfile handling: regular indigo logfile
Connection VDdict login disabled, userid is empty
unifi-Report getting _id for AP AP_44:d9:e7:f6:ac:b7 /stat/device/44:d9:e7:f6:ac:b7
Watchdog Starting Watchdog monitoring thread

Watchdog Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 111, in runConcurrentThread
File "plugin.py", line 268, in checkDevices
KeyError: u'D1809136832'

Watchdog Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
unifi-Report _id in data :57995445e4b0d6646bce5390
unifi-Report getting _id for AP AP_44:d9:e7:f6:ad:0b /stat/device/44:d9:e7:f6:ad:0b
unifi-Report _id in data :57995445e4b0d6646bce538e
uniFiAP start runConcurrentThread, initializing variables ..
uniFiAP ..getting missing vendor names for MAC #
uniFiAP ..starting threads for 2 APs 4 sec apart (MSG-log and db-DICT)
START launching APtail 192.168.1.5
START launching APdict 192.168.1.5
Watchdog Starting Watchdog monitoring thread

Watchdog Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 111, in runConcurrentThread
File "plugin.py", line 268, in checkDevices
KeyError: u'D1809136832'

Watchdog Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
START launching APtail 192.168.1.6
START launching APdict 192.168.1.6
Pentair Pool Pool Pump is off
Schedule Update Clock
uniFiAP ..starting threads for GW (MSG-log and db-DICT)
START launching GWtail 192.168.1.1
START launching GWdict 192.168.1.1
uniFiAP initialized
Watchdog Starting Watchdog monitoring thread

Watchdog Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 111, in runConcurrentThread
File "plugin.py", line 268, in checkDevices
KeyError: u'D1809136832'

Watchdog Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Attached in the all log from unifiAP plugin:

It looks like the GW is there just never shows up on the list of devices anywhere?

I was under the impression that it would?

Not sure what the above error is all about?
Attachments
UniFi 3.log
(144 KiB) Downloaded 11 times

Posted on
Wed Aug 29, 2018 8:37 pm
farberm offline
Posts: 154
Joined: Feb 24, 2008

Re: Setup Issues

ok got the error to go away when I turned of watchdog plugin. Still missing the GW showing up in the device list however?

Posted on
Wed Aug 29, 2018 11:51 pm
kw123 offline
User avatar
Posts: 5905
Joined: May 12, 2013
Location: Dallas, TX

Re: Setup Issues

Code: Select all
22:14:07                          -..starting threads for GW (MSG-log and db-DICT)
22:14:07 START                    -launching GWtail  192.168.1.1
22:14:07 KILL                     -killing request: ps -ef | grep uniFiAP | grep '192.168.1.1 ' | grep /usr/bin/expect | grep execLog.exp | grep -v grep
22:14:07 START                    -launching GWdict  192.168.1.1
22:14:07 KILL                     -killing request: ps -ef | grep uniFiAP | grep '192.168.1.1 ' | grep /usr/bin/expect | grep dictLoop.exp | grep -v grep
22:14:07 EXPECT                   -/usr/bin/expect  '/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/uniFiAP.indigoPlugin/Contents/Server Plugin/test.exp' xxx xxx 192.168.1.1
22:14:07 EXPECT                   -/usr/bin/expect  '/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/uniFiAP.indigoPlugin/Contents/Server Plugin/test.exp' xxx xxx 192.168.1.1
here should be something like
>>> with  xxx xxx = userid password
/usr/bin/expect  "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/uniFiAP.indigoPlugin/Contents/Server Plugin/dictLoop.exp" xx xx 192.168.1.1 BZ.v xxxThisIsTheEndTokenxxx 60 10 "mca-dump | sed -e 's/^ *//'"   /var/log/messages
>>>
but its switches to the AP
22:14:14 EXPECT                   -startConnect: with 192.168.1.5  APdict  xxx/xx....

the connection to the gateway does not start. it only tests the connection... need to see which the exact command string is. ... later this week.

could you run in a terminal on the indigo Mac
Code: Select all
/usr/bin/expect  '/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/uniFiAP.indigoPlugin/Contents/Server Plugin/test.exp' userid pwd 192.168.1.1

and post the output. (replace userid, pwd w yours)

Karl

Posted on
Thu Aug 30, 2018 2:52 am
kw123 offline
User avatar
Posts: 5905
Joined: May 12, 2013
Location: Dallas, TX

Setup Issues

Could you also just do

ssh userid@gwip#

May be the hosts file has an old entry.

If that is the case delete the line with 192.168.1.1 in the hosts file.

Posted on
Thu Aug 30, 2018 5:41 pm
farberm offline
Posts: 154
Joined: Feb 24, 2008

Re: Setup Issues

output from terminal

spawn ssh farberm@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.

farberm@192.168.1.1's password:
Linux Farber-USG 3.10.20-UBNT #1 SMP Fri Nov 3 15:45:37 MDT 2017 mips64

___ ___ .__________.__
| | |____ |__\_ ____/__|
| | / \| || __) | | (c) 2010-2017
| | | | \ || \ | | Ubiquiti Networks, Inc.
|______|___| /__||__/ |__|
|_/ http://www.ubnt.com

Welcome to EdgeOS on UniFi Security Gateway!

*NOTE*: Configuration changes made here are not persistent.
They will be overwritten by the controller on next provision.

Last login: Wed Aug 29 22:14:24 2018 from 192.168.1.22
farberm@Farber-USG:~$ Mac-mini:~ markfarber$

Posted on
Thu Aug 30, 2018 5:53 pm
farberm offline
Posts: 154
Joined: Feb 24, 2008

Re: Setup Issues

I get the same response when I ssh into the GWIP as I posted in the prior terminal command.

What is the location of the host file? and command to list?

Posted on
Thu Aug 30, 2018 10:00 pm
kw123 offline
User avatar
Posts: 5905
Joined: May 12, 2013
Location: Dallas, TX

Re: Setup Issues

That all looks ok. Is there any significant time delay when ssh to the gateway?

Your hosts file is ok. It’s a hidden file in ~/.ssh or something like that




Sent from my iPhone using Tapatalk

Posted on
Thu Aug 30, 2018 10:09 pm
farberm offline
Posts: 154
Joined: Feb 24, 2008

Re: Setup Issues

No time delay occurs immediately

Posted on
Fri Aug 31, 2018 4:03 am
kw123 offline
User avatar
Posts: 5905
Joined: May 12, 2013
Location: Dallas, TX

Re: Setup Issues

Then I need to dig deeper. Back home on Friday next week.




Sent from my iPhone using Tapatalk

Posted on
Fri Aug 31, 2018 10:25 am
kw123 offline
User avatar
Posts: 5905
Joined: May 12, 2013
Location: Dallas, TX

Re: Setup Issues

could you try:
ssh userid@gwip#
Code: Select all
mca-dump | sed -e 's/^ *//'


you should get a dump of the db that looks like:
Code: Select all
mca-dump | sed -e 's/^ *//'
{
"bootrom_version": "unknown",
"cfgversion": "603a092b1d9db162",
"config_network_wan": {
"dns1": "8.8.8.8",
"dns2": "208.67.222.222",
"type": "dhcp"
},
"config_network_wan2": {
"dns1": "8.8.8.8",
"dns2": "208.67.222.222",
"type": "disabled"
},
"config_port_table": [
{
"ifname": "eth0",
"name": "wan"
},
{
"ifname": "eth1",
"name": "lan"
},......


and could you email me that whole dump . I do not believe there are userid and passwords in there

karl wachs at me dot com

Who is online

Users browsing this forum: No registered users and 0 guests