Is there any way to install arpwatch
or any package that provides similar function? I have a location where there is an IP address conflict being caused by someone configuring a static IP address within our DHCP pool. I’d like to get some help from arp to track this device down and or receive alerts when it appears on the network.
I found addrwatch
in /etc/opkg/openwrt/distfeeds.conf
, which claims to be “A tool similar to arpwatch for IPv4/IPv6 and ethernet address pairing monitoring” …but it segfaults when I try to run it.
root@r1:~# addrwatch -4
1751304465 br-lan 0 f8:4d:89:88:81:ba 192.168.33.211 ARP_REQ
Segmentation fault
Anyone have advice on this?
Good afternoon,
It seems like the Arpwatch packet is not available on the OpenWRT 21 version.
The only way to achieve this would be using our SDK file, to compile the packet from the source. Link to our SDK instructions : RUTOS Software Development Kit (SDK) Instruction - Teltonika Networks Wiki
You can also try the app-scan package, as it is available on the OpenWRT ver21. I do need to note that this is a third party packet, so I cant fully advise on its functionality.
Overall, this particular query is beyond the scope of technical assistance that Teltonika can provide, due to the nature of the issue, and factors which we cannot predict.
Regards,
Arturas
Ok, in that case, may I ask how the “Scan LAN” function is implemented? It seems the device has the capability to scan the local network segments. Maybe I can use this in a script or call it using the on-device API somehow?
Hi there,
The “Scan LAN” function on Teltonika devices is implemented using an ARP scan on the selected interface(s) based on the subnet range. This process detects active devices connected to the network by sending ARP requests and collecting responses, which allows the device to identify hosts by their IP and MAC addresses.
The API endpoint for the topology scan is this one (see screenshot)
If instead of post, you are looking to Get information, you can find the endpoints here :
You can find the rest of the API commands and instructions here: https://developers.teltonika-networks.com/
Regards,
Arturas
Ok, thank you for that - I will try to come up with something using the API.
1 Like