Remotely pulling openWRT router's configuration

# dnsmasq leases
ubus call file read "{'path':'/tmp/dhcp.leases'}"

# odhcpd leases
ubus call dhcp ipv4leases
ubus call dhcp ipv6leases

# wireless clients
ubus call hostapd.wlan0 get_clients

# conntrack data
ubus call luci getConntrackList
1 Like