Dumb AP - Associated Stations Resolver

A month later, the NAND Flash is broken due to so many writes.

Don't complicate things and use this method because it works with dnsmasq and odhcpd + Unbound.

  1. Install these two packages only on your APs:

    • arp-scan
    • fping
  2. Add this cron job only on your APs:
    (/etc/crontabs/root or LuCI → System → Scheduled Task)

    # Making hostnames visible across multiple APs every 30 minutes
    */30 * * * * arp-scan -qxlN -I br-lan | awk '{print $1}' | xargs fping -q -c1
    
  3. If you want to suppress cron error message and br-lan entered/left promiscuous mode messages:

    uci set system.@system[0].cronloglevel="9"
    uci set network.@device[0].promisc="1"
    uci commit
    reload_config
    

Thanks to @ronisaacson.

2 Likes