EscAPe you are right when you think that wlanconfig atX lists only the devices directly connected to node.
Looking around router html pages I found that web interface call /usr/sbin/networkmap. The command source code
report that this generates/tmp/clientlist.json that contains all the information's that I need.
So I changed the tracker command to 192.168.1.1#ssh=cat /tmp/clientlist.json and this is the working output.
Just a question. Why did you say that brctl is less responsive/reliable when a device goes offline/becomes 'absent' ?
Code: Select all
2020-03-13 16:13:02.240 (iDetect) 192.168.1.1 ====> SSH returned (decoded):{"10:7B:44:D3:08:8B":{"2G":{"60:01:94:73:EA:E9":{"ip":"","rssi":"-45"},"84:F3:EB:4A:DF:C2":{"ip":"","rssi":"-68"},"A4:CF:12:B5:E9:D7":{"ip":"","rssi":"-53"},"10:44:00:1C:BF:02":{"ip":"","rssi":"-55"}},"5G1":{"B0:41:1D:52:DF:B6":{"ip":"","rssi":"-75"},"74:40:BB:13:7B:CF":{"ip":"","rssi":"-61"}}},"10:7B:44:D2:7A:AB":{"2G":{"2C:F4:32:5B:36:56":{"ip":"","rssi":"-48"},"2C:F4:32:5B:45:CA":{"ip":"","rssi":"-57"},"60:01:94:4E:F5:2C":{"ip":"","rssi":"-53"},"5C:CF:7F:20:CE:8D":{"ip":"","rssi":"-65"},"84:F3:EB:B0:C0:9D":{"ip":"","rssi":"-73"},"5C:CF:7F:20:D0:10":{"ip":"","rssi":"-60"}},"5G":{"68:EC:C5:4B:BB:D0":{"ip":"","rssi":"-77"}},"5G1":{"C4:95:00:5E:9C:4C":{"ip":"","rssi":"-64"},"04:92:26:7B:48:70":{"ip":"","rssi":"-44"},"08:31:8B:38:0D:8C":{"ip":"","rssi":"-69"}},"wired_mac":{"10:44:00:1C:BF:02":{"ip":""},"10:7B:44:D2:F1:63":{"ip":""},"10:7B:44:D3:08:8B":{"ip":""},"38:8C:50:28:7A:6C":{"ip":""},"3C:71:BF:2C:8E:56":{"ip":""},"52:54:00:F7:0E:49":{"ip":""},"5C:B1:3E:EB:C1:41":{"ip":""},"68:F7:28:7A:46:66":{"ip":""},"70:85:C2:B4:53:CA":{"ip":""},"74:40:BB:13:7B:CF":{"ip":""},"B4:E6:2D:5A:51:DF":{"ip":""},"B8:27:EB:1F:A0:A9":{"ip":""},"C4:95:00:24:28:BB":{"ip":""}}},"10:7B:44:D2:F1:63":{"2G":{"3C:71:BF:2C:8E:56":{"ip":"192.168.1.246","rssi":"-66"},"B4:E6:2D:5A:51:DF":{"ip":"192.168.1.79","rssi":"-63"},"B0:41:1D:5C:C4:47":{"ip":"192.168.1.5","rssi":"-61"},"B4:E6:2D:3C:1A:1D":{"ip":"192.168.1.196","rssi":"-53"}},"5G":{"16:7B:44:D3:08:8A":{"ip":"","rssi":"-72"},"B8:27:EB:1F:A0:A9":{"ip":"192.168.1.11","rssi":"-64"},"58:20:59:70:6E:26":{"ip":"192.168.1.9","rssi":"-64"}},"5G1":{"C8:7B:5B:B0:0D:16":{"ip":"192.168.1.33","rssi":"-72"},"C4:95:00:24:28:BB":{"ip":"192.168.1.88","rssi":"-57"},"B0:41:1D:5C:D8:D1":{"ip":"192.168.1.4","rssi":"-72"}},"wired_mac":{"04:92:26:7B:48:70":{"ip":"192.168.1.10"},"08:31:8B:38:0D:8C":{"ip":"192.168.1.187"},"10:7B:44:D2:7A:AB":{"ip":"192.168.1.39"},"2C:F4:32:5B:36:56":{"ip":"192.168.1.197"},"38:8C:50:28:7A:6C":{"ip":"192.168.1.131"},"52:54:00:F7:0E:49":{"ip":"192.168.1.140"},"5C:B1:3E:EB:C1:41":{"ip":"192.168.1.134"},"68:EC:C5:4B:BB:D0":{"ip":"192.168.1.35"},"68:F7:28:7A:46:66":{"ip":"192.168.1.107"},"70:85:C2:B4:53:CA":{"ip":"192.168.1.2"},"C4:95:00:5E:9C:4C":{"ip":"192.168.1.167"},"D0:50:99:36:9A:BB":{"ip":"192.168.1.7"},"EC:E5:12:12:54:30":{"ip":"192.168.1.101"}}}}
2020-03-13 16:13:02.240 (iDetect) 192.168.1.1 ====> SSH session took 20 milliseconds.
2020-03-13 16:13:02.240 (iDetect) Inbound data from: 192.168.1.1 containing ['10:7B:44:D3:08:8B', '60:01:94:73:EA:E9', '84:F3:EB:4A:DF:C2', 'A4:CF:12:B5:E9:D7', '10:44:00:1C:BF:02', 'B0:41:1D:52:DF:B6', '74:40:BB:13:7B:CF', '10:7B:44:D2:7A:AB', '2C:F4:32:5B:36:56', '2C:F4:32:5B:45:CA', '60:01:94:4E:F5:2C', '5C:CF:7F:20:CE:8D', '84:F3:EB:B0:C0:9D', '5C:CF:7F:20:D0:10', '68:EC:C5:4B:BB:D0', 'C4:95:00:5E:9C:4C', '04:92:26:7B:48:70', '08:31:8B:38:0D:8C', '10:44:00:1C:BF:02', '10:7B:44:D2:F1:63', '10:7B:44:D3:08:8B', '38:8C:50:28:7A:6C', '3C:71:BF:2C:8E:56', '52:54:00:F7:0E:49', '5C:B1:3E:EB:C1:41', '68:F7:28:7A:46:66', '70:85:C2:B4:53:CA', '74:40:BB:13:7B:CF', 'B4:E6:2D:5A:51:DF', 'B8:27:EB:1F:A0:A9', 'C4:95:00:24:28:BB', '10:7B:44:D2:F1:63', '3C:71:BF:2C:8E:56', 'B4:E6:2D:5A:51:DF', 'B0:41:1D:5C:C4:47', 'B4:E6:2D:3C:1A:1D', '16:7B:44:D3:08:8A', 'B8:27:EB:1F:A0:A9', '58:20:59:70:6E:26', 'C8:7B:5B:B0:0D:16', 'C4:95:00:24:28:BB', 'B0:41:1D:5C:D8:D1', '04:92:26:7B:48:70', '08:31:8B:38:0D:8C', '10:7B:44:D2:7A:AB', '2C:F4:32:5B:36:56', '38:8C:50:28:7A:6C', '52:54:00:F7:0E:49', '5C:B1:3E:EB:C1:41', '68:EC:C5:4B:BB:D0', '68:F7:28:7A:46:66', '70:85:C2:B4:53:CA', 'C4:95:00:5E:9C:4C', 'D0:50:99:36:9A:BB', 'EC:E5:12:12:54:30']
2020-03-13 16:13:02.241 (iDetect) 3 devices are present (excluding ignored devices)
Just a question. Why did you say that brctl is less responsive/reliable when a device goes offline/becomes 'absent' ?