luci-mod-rpc: net.arptable - Method not found
See original GitHub issueHi all,
I want to use Home Assitant’s OpenWrt plugin to track devices (Wiki, source code).
This plugin uses luci-mod-rpc to retrieve the arp table, and uses them to track devices.
However, issuing the rpc call gives me a “method not found” error:
curl http://192.168.111.XXX/cgi-bin/luci/rpc/sys?auth=AUTHTOKEN --data '{"method":"net.arptable", "params":[]}' {"id":null,"result":null,"error":{"message":"Method not found.","code":-32601}}
Other call like net.ipv4_hints
work perfectly.
Does anyone know whats happening here?
Regards, Alex
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Luci - Device tracker - problem - Home Assistant Community
I'm not able to read any data from router with this error: Log Details (ERROR) ... 'net.arptable', 'Method not found.', -32601).
Read more >Managing OpenWrt remotely with cURL - Floating Octothorpe
This post is going to look at using the luci-mod-rpc module to ... For example if you wanted call the arptable method from...
Read more >The Traffic Management Shell may not display dynamic ARP ...
In BIG-IP 11.x, the show net arp Traffic Management Shell (tmsh) command displays dynamic ARP entries for all route domains.
Read more >access ARP table without root in Android - Stack Overflow
Currently I have found that most of the approaches use the /proc/net/arp for the ARP table access which requires root permission, and I...
Read more >What Is an ARP Table? Address Resolution Protocol 101 | Auvik
By extension, an ARP table is simply the method for storing the ... If there's no record on the ARP table for a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have same question with you, I find the
openwrt_luci_rpc.py
files in home-assistant deps folder has lines:It seems to obtained a wrong version? because I used koolshare fireware. when I comment those lines and append:
It works!
Trouble is that many OpenWRT-based firmwares use their own version scheme. I use TurrisOS 5.2.5 which is based on OpenWRT 19.07 but
openwrt_luci_rpc.py
thinks that the version is5.2.5
and hence “legacy” 😦