Connect fastd socket on TP841v11 - fastD Statistiken

hier kurz gelöst und beschrieben
mit Lua und Luasocket auf OpenWRT - Gluon Router die FastD Statistiken vom Socket lesen.

connect freifunk fastd socket on low memory embedded devices

needed luasocket packet (841is too small, maybe install luasocket package on ram)

opkg update
opkg install -d ram luasocket
cd /tmp/usr/lib/lua

chmod a+w /var/run/fastd.mesh_vpn.socket
$ lua
> require "socket"
> require "socket.unix"
> c = socket.unix()
> c:connect("/var/run/fastd.mesh_vpn.socket")
> print(c:receive())