Scan network not working

Hi, on a /16 subnet trying the UI feature Network → DNS and DHCP → Scan network

I get this error:

Cannot scan network

Something went wrong

AxiosError: Request failed with status code 504

command: echo ‘{“device”:“br-lan”}’ | /usr/libexec/rpcd/ns.scan call scan

But using arp-scan from the command line works fine:

root@user:~# arp-scan  -I br-lan --localnet
Interface: br-lan, type: EN10MB, MAC: bc:24:11:fd:66:09, IPv4: 172.19.0.1
WARNING: Cannot open MAC/Vendor file /etc/arp-scan/mac-vendor.txt: No such file or directory
Starting arp-scan 1.10.0 with 65536 hosts (https://github.com/royhills/arp-scan)
172.19.211.204  70:b5:e8:2e:f3:9b       Dell Inc.
172.19.3.13     00:d8:61:48:5f:2d       Micro-Star INTL CO., LTD.
172.19.2.19     00:50:aa:3a:e3:e9       KONICA MINOLTA HOLDINGS, INC.
...

139 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.10.0: 65536 hosts scanned in 263.158 seconds (249.04 hosts/sec). 17 responded

Thank you for reporting!

Please follow the instructions on the dialog and past it here :wink:

1 Like

Sorry, forgot to paste it above:

root@user:~# echo ‘{“device”:“br-lan”}’ | /usr/libexec/rpcd/ns.scan call scan

Traceback (most recent call last):
  File "/usr/libexec/rpcd/ns.scan", line 64, in <module>
    args = json.loads(sys.stdin.read())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
  File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
  File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The above JSON is not valid due the bad hypens.

Try this:

echo '{"device":"br-lan"}' | /usr/libexec/rpcd/ns.scan call scan

takes a long time:

Summary

echo ‘{“device”:“br-lan”}’ | /usr/libexec/rpcd/ns.scan call scan
{“hosts”: [{“mac”: “70:b5:e8:43:b2:80”, “ip”: “172.19.41.81”, “hostname”: “”, “description”: “Dell”}, {“mac”: “bc:24:11:15:be:97”, “ip”: “172.19.0.2”, “hostname”: “”, “description”: “(Unknown)”}, {“mac”: “bc:24:11:be:66:bf”, “ip”: “172.19.0.3”, “hostname”: “”, “description”: “(Unknown)”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:50:aa:3a:e3:e9”, “ip”: “172.19.2.19”, “hostname”: “”, “description”: “KONICA”}, {“mac”: “34:60:f9:8c:e5:41”, “ip”: “172.19.2.27”, “hostname”: “”, “description”: “TP-Link”}, {“mac”: “c0:74:ad:67:8a:90”, “ip”: “172.19.2.52”, “hostname”: “”, “description”: “Grandstream”}, {“mac”: “c0:74:ad:67:8a:90”, “ip”: “172.19.2.52”, “hostname”: “”, “description”: “Grandstream”}, {“mac”: “7c:8b:ca:f9:c5:d3”, “ip”: “172.19.2.140”, “hostname”: “”, “description”: “TP-LINK”}, {“mac”: “7c:8b:ca:f9:c5:d3”, “ip”: “172.19.2.140”, “hostname”: “”, “description”: “TP-LINK”}, {“mac”: “c0:74:ad:69:92:25”, “ip”: “172.19.2.195”, “hostname”: “”, “description”: “Grandstream”}, {“mac”: “c0:74:ad:69:92:25”, “ip”: “172.19.2.195”, “hostname”: “”, “description”: “Grandstream”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “18:d6:c7:95:06:33”, “ip”: “172.19.2.249”, “hostname”: “”, “description”: “TP-LINK”}, {“mac”: “00:d8:61:0e:28:ef”, “ip”: “172.19.3.12”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:d8:61:48:5f:2d”, “ip”: “172.19.3.13”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:d8:61:48:5f:2d”, “ip”: “172.19.3.13”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:d8:61:0e:28:ef”, “ip”: “172.19.3.12”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “1c:61:b4:04:d6:6e”, “ip”: “172.19.3.173”, “hostname”: “”, “description”: “TP-Link”}, {“mac”: “ac:15:a2:87:94:21”, “ip”: “172.19.3.219”, “hostname”: “”, “description”: “TP-Link”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “5c:fb:3a:69:83:09”, “ip”: “172.19.16.8”, “hostname”: “”, “description”: “CHONGQING”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “28:c5:c8:7f:d1:d2”, “ip”: “172.19.229.82”, “hostname”: “”, “description”: “(Unknown)”}, {“mac”: “38:22:e2:c9:5f:d2”, “ip”: “172.19.249.37”, “hostname”: “”, “description”: “HP”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “28:c5:c8:7f:d1:d2”, “ip”: “172.19.229.82”, “hostname”: “”, “description”: “(Unknown)”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:43:b2:76”, “ip”: “172.19.41.71”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:43:b2:76”, “ip”: “172.19.41.71”, “hostname”: “”, “description”: “Dell”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “28:c5:c8:7f:d1:d2”, “ip”: “172.19.229.82”, “hostname”: “”, “description”: “(Unknown)”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “b4:2e:99:68:b0:fd”, “ip”: “172.19.66.31”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “18:d6:c7:95:06:33”, “ip”: “172.19.2.249”, “hostname”: “”, “description”: “TP-LINK”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:48:5f:2d”, “ip”: “172.19.3.13”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “70:b5:e8:43:b2:80”, “ip”: “172.19.41.81”, “hostname”: “”, “description”: “Dell”}, {“mac”: “5c:fb:3a:69:83:09”, “ip”: “172.19.16.8”, “hostname”: “”, “description”: “CHONGQING”}, {“mac”: “00:d8:61:0e:28:ef”, “ip”: “172.19.3.12”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “38:22:e2:c9:5f:d2”, “ip”: “172.19.249.37”, “hostname”: “”, “description”: “HP”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “70:b5:e8:43:b2:76”, “ip”: “172.19.41.71”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “b4:2e:99:68:b0:fd”, “ip”: “172.19.66.31”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:d8:61:48:5f:2d”, “ip”: “172.19.3.13”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “28:c5:c8:7f:d1:d2”, “ip”: “172.19.229.82”, “hostname”: “”, “description”: “(Unknown)”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:43:b2:76”, “ip”: “172.19.41.71”, “hostname”: “”, “description”: “Dell”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “00:d8:61:48:5f:2d”, “ip”: “172.19.3.13”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “18:d6:c7:95:06:33”, “ip”: “172.19.2.249”, “hostname”: “”, “description”: “TP-LINK”}, {“mac”: “70:b5:e8:43:b2:80”, “ip”: “172.19.41.81”, “hostname”: “”, “description”: “Dell”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “5c:fb:3a:69:83:09”, “ip”: “172.19.16.8”, “hostname”: “”, “description”: “CHONGQING”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:0e:28:ef”, “ip”: “172.19.3.12”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “38:22:e2:c9:5f:d2”, “ip”: “172.19.249.37”, “hostname”: “”, “description”: “HP”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:43:b2:76”, “ip”: “172.19.41.71”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “28:c5:c8:7f:d1:d2”, “ip”: “172.19.229.82”, “hostname”: “”, “description”: “(Unknown)”}, {“mac”: “b4:2e:99:68:b0:fd”, “ip”: “172.19.66.31”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “00:d8:61:48:5f:2d”, “ip”: “172.19.3.13”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “18:d6:c7:95:06:33”, “ip”: “172.19.2.249”, “hostname”: “”, “description”: “TP-LINK”}, {“mac”: “70:b5:e8:43:b2:80”, “ip”: “172.19.41.81”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:0e:28:ef”, “ip”: “172.19.3.12”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “5c:fb:3a:69:83:09”, “ip”: “172.19.16.8”, “hostname”: “”, “description”: “CHONGQING”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “38:22:e2:c9:5f:d2”, “ip”: “172.19.249.37”, “hostname”: “”, “description”: “HP”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “70:b5:e8:43:b2:80”, “ip”: “172.19.41.81”, “hostname”: “”, “description”: “Dell”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:43:b2:76”, “ip”: “172.19.41.71”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “28:c5:c8:7f:d1:d2”, “ip”: “172.19.229.82”, “hostname”: “”, “description”: “(Unknown)”}, {“mac”: “b4:2e:99:68:b0:fd”, “ip”: “172.19.66.31”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “70:b5:e8:43:b2:80”, “ip”: “172.19.41.81”, “hostname”: “”, “description”: “Dell”}, {“mac”: “18:d6:c7:95:06:33”, “ip”: “172.19.2.249”, “hostname”: “”, “description”: “TP-LINK”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “00:d8:61:48:5f:2d”, “ip”: “172.19.3.13”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:0e:28:ef”, “ip”: “172.19.3.12”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “5c:fb:3a:69:83:09”, “ip”: “172.19.16.8”, “hostname”: “”, “description”: “CHONGQING”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:43:b2:76”, “ip”: “172.19.41.71”, “hostname”: “”, “description”: “Dell”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “38:22:e2:c9:5f:d2”, “ip”: “172.19.249.37”, “hostname”: “”, “description”: “HP”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:43:b2:76”, “ip”: “172.19.41.71”, “hostname”: “”, “description”: “Dell”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “b4:2e:99:68:b0:fd”, “ip”: “172.19.66.31”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “b4:2e:99:68:b0:fd”, “ip”: “172.19.66.31”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “30:9c:23:47:7b:e4”, “ip”: “172.19.123.134”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b4:2e:99:68:b0:fd”, “ip”: “172.19.66.31”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “98:ee:cb:a6:a6:f6”, “ip”: “172.19.38.202”, “hostname”: “”, “description”: “Wistron”}, {“mac”: “b4:2e:99:68:b0:fd”, “ip”: “172.19.66.31”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:48:5f:2d”, “ip”: “172.19.3.13”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “18:d6:c7:95:06:33”, “ip”: “172.19.2.249”, “hostname”: “”, “description”: “TP-LINK”}, {“mac”: “70:b5:e8:43:b2:80”, “ip”: “172.19.41.81”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b0:83:fe:52:32:fb”, “ip”: “172.19.2.240”, “hostname”: “”, “description”: “Dell”}, {“mac”: “28:c5:c8:7f:d1:d2”, “ip”: “172.19.229.82”, “hostname”: “”, “description”: “(Unknown)”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:e0:4c:42:d8:a4”, “ip”: “172.19.91.251”, “hostname”: “”, “description”: “REALTEK”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:0e:28:ef”, “ip”: “172.19.3.12”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “5c:fb:3a:69:83:09”, “ip”: “172.19.16.8”, “hostname”: “”, “description”: “CHONGQING”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “00:d8:61:45:31:0f”, “ip”: “172.19.131.156”, “hostname”: “”, “description”: “Micro-Star”}, {“mac”: “e4:54:e8:aa:bb:cf”, “ip”: “172.19.2.6”, “hostname”: “”, “description”: “Dell”}, {“mac”: “70:b5:e8:2e:f3:9b”, “ip”: “172.19.211.204”, “hostname”: “”, “description”: “Dell”}, {“mac”: “38:22:e2:c9:5f:d2”, “ip”: “172.19.249.37”, “hostname”: “”, “description”: “HP”}, {“mac”: “70:b5:e8:43:b2:76”, “ip”: “172.19.41.71”, “hostname”: “”, “description”: “Dell”}, {“mac”: “b4:2e:99:68:b0:f7”, “ip”: “172.19.66.25”, “hostname”: “”, “description”: “GIGA-BYTE”}]}

Still not working after upgrade to 8.7.1 on 3 different firewalls, even on a clean install.

I think it is just a timeout…

Could you time the echo ‘{“device”:“br-lan”}’ | /usr/libexec/rpcd/ns.scan call scan command? Probably a timeout, but I can adjust that

Already there in the post above: arp-scan alone took 263 seconds (with only 17 responds).

On public WiFi networks you have to use networks bigger then /24.

Or having 100 employees, everybody with a notebook, tablet and mobile phone…

PS: This should be asynchronous.

Sure, but I need the overhead of our script that parses the output, since we’re talking about many hosts, this could time out on the API or the UI, since I feel they have different timeouts.

Probably need to apply a custom timeout for some of the calls.

Not planned for now, but this surely is the right approach, I agree.

I have just change the quotations marks from to '

time echo '{"device":"br-lan"}' | /usr/libexec/rpcd/ns.scan call scan
...
real    4m23.136s
user    0m0.551s
sys     0m2.529s