You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_integrations/ubus.markdown
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,11 @@ ha_domain: ubus
10
10
11
11
This is a presence detection scanner for [OpenWrt](https://openwrt.org/) using [ubus](https://wiki.openwrt.org/doc/techref/ubus). It scans for changes in `hostapd.*`, which will detect and report changes in devices connected to the access point on the router.
12
12
13
-
Before this scanner can be used you have to install the ubus RPC package on OpenWRT:
13
+
Before this scanner can be used you have to install the ubus RPC packages on OpenWrt (versions older than 18.06.x do not require the `uhttpd-mod-ubus` package):
14
14
15
15
```bash
16
-
opkg install rpcd-mod-file
17
-
```
18
-
19
-
For OpenWrt version 18.06.x the package uhttpd-mod-ubus should also be installed:
20
-
21
-
```bash
22
-
opkg install uhttpd-mod-ubus
16
+
opkg update
17
+
opkg install rpcd-mod-file uhttpd-mod-ubus
23
18
```
24
19
25
20
And create on your OpenWrt device a read-only user to be used by setting up the ACL file `/usr/share/rpcd/acl.d/user.json`.
0 commit comments