OpenWrt freeradius sqlcounter

Hi,

I try to install openwrt + freeradius + sqlcounter but when started with debug stop and says:

root@playland:~# radiusd -Xx
...
Wed Sep 28 21:53:12 2022 : Debug: tls: Using cached TLS configuration from previous invocation
Wed Sep 28 21:53:12 2022 : Debug:    # Linked to sub-module rlm_eap_peap
Wed Sep 28 21:53:12 2022 : Debug:    peap {
Wed Sep 28 21:53:12 2022 : Debug:       tls = "tls-common"
Wed Sep 28 21:53:12 2022 : Debug:       default_eap_type = "mschapv2"
Wed Sep 28 21:53:12 2022 : Debug:       copy_request_to_tunnel = no
Wed Sep 28 21:53:12 2022 : Debug:       use_tunneled_reply = no
Wed Sep 28 21:53:12 2022 : Debug:       proxy_tunneled_request_as_eap = yes
Wed Sep 28 21:53:12 2022 : Debug:       virtual_server = "inner-tunnel"
Wed Sep 28 21:53:12 2022 : Debug:       soh = no
Wed Sep 28 21:53:12 2022 : Debug:       require_client_cert = no
Wed Sep 28 21:53:12 2022 : Debug:    }
Wed Sep 28 21:53:12 2022 : Debug: tls: Using cached TLS configuration from previous invocation
Wed Sep 28 21:53:12 2022 : Debug:   # Instantiating module "pap" from file /etc/freeradius3/mods-enabled/pap
Wed Sep 28 21:53:12 2022 : Debug:   # Instantiating module "mschap" from file /etc/freeradius3/mods-enabled/mschap
Wed Sep 28 21:53:12 2022 : Debug: rlm_mschap (mschap): using internal authentication
Wed Sep 28 21:53:12 2022 : Error: /etc/freeradius3/mods-config/sql/main/sqlite/queries.conf[348]: Failed parsing expanded string:
Wed Sep 28 21:53:12 2022 : Error: /etc/freeradius3/mods-config/sql/main/sqlite/queries.conf[348]: ...otocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Fram...
Wed Sep 28 21:53:12 2022 : Error: /etc/freeradius3/mods-config/sql/main/sqlite/queries.conf[348]:                                         ^ Unknown attribute

That means that a RADIUS dictionary definition for that name could not be found. The Framed-IPv6-Address attribute is defined in dictionary.rfc6911, which indeed does not seem to be included in an OpenWrt freeradius3 package. Dictionaries are installed in /usr/share/freeradius3.