Nrsyncd and UMDNS issues

Hi, I'm using nrsyncd to do fast roaming between 2 routers, which initially worked after it exchanged keys but no it doesn't work after updating and rebooting both routers, ubus call umdns browse returns empty, all my configs are below

root@OpenWrt:\~# ubus call umdns browse

{



}

root@OpenWrt:\~# ubus call system board

{

        "kernel": "6.12.50",

        "hostname": "OpenWrt",

        "system": "ARMv8 Processor rev 0",

        "model": "Banana Pi BPI-R4 (2x SFP+)",

        "board_name": "bananapi,bpi-r4",

        "rootfs_type": "squashfs",

        "release": {

                "distribution": "OpenWrt",

                "version": "SNAPSHOT",

                "firmware_url": "https://downloads.openwrt.org/",

                "revision": "r0-b64fded",

                "target": "mediatek/filogic",

                "description": "OpenWrt SNAPSHOT r0-b64fded",

                "builddate": "1759878387"

        }

}

root@OpenWrt:\~# cat /etc/config/network



config interface 'loopback'

        option device 'lo'

        option proto 'static'

        list ipaddr '127.0.0.1/8'



config globals 'globals'

        option ula_prefix 'fd38:643c:41a1::/48'

        option packet_steering '1'



config device

        option name 'br-lan'

        option type 'bridge'

        list ports 'lan1'

        list ports 'lan2'

        list ports 'lan3'

        list ports 'sfp-lan'



config interface 'lan'

        option device 'br-lan'

        option proto 'static'

        list ipaddr '192.168.1.1/24'

        option ip6assign '60'



config device

        option name 'br-wan'

        option type 'bridge'

        list ports 'wan'

        list ports 'sfp-wan'



config device

        option name 'wan'

        option macaddr 



config device

        option name 'sfp-wan'

        option macaddr 



config interface 'wan'

        option device 'br-wan'

        option proto 'pppoe'

        option username 

        option password 

        option ipv6 'auto'



config interface 'wan6'

        option device 'br-wan'

        option proto 'dhcpv6'

        option reqaddress 'force'

        option reqprefix 'auto'

        option norelease '1'



config device

        option type 'bridge'

        option name 'br-guest'

        option bridge_empty '1'



config interface 'Guest'

        option proto 'static'

        option device 'br-guest'

        option ipaddr '192.168.2.1'

        option netmask '255.255.255.0'



config interface 'vpn'

        option proto 'wireguard'

        option private_key 

        option listen_port '51820'

        list addresses '192.168.9.1/24'

        list addresses 'fd00:9::1/64'



config wireguard_vpn 'wgclient'

        option public_key 

        option preshared_key 

        list allowed_ips '192.168.9.2/32'

        list allowed_ips 'fd00:9::2/128'



root@OpenWrt:\~# cat /etc/config/wireless



config wifi-device 'radio0'

        option type 'mac80211'

        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'

        option radio '0'

        option band '2g'

        option channel 'auto'

        option htmode 'EHT40'

        option country 'GB'

        option cell_density '0'



config wifi-iface 'default_radio0'

        option device 'radio0'

        option network 'lan'

        option mode 'ap'

        option ssid 'HomeAP'

        option encryption 'sae'

        option key ''

        option ocv '0'

        option isolate '1'

        option bridge_isolate '1'

        option dtim_period '3'

        option ieee80211r '1'

        option ft_over_ds '0'

        option ieee80211k '1'

        option time_advertisement '2'

        option time_zone 'GMT0'

        option wnm_sleep_mode '1'

        option wnm_sleep_mode_no_keys '1'

        option bss_transition '1'

        option proxy_arp '1'

        option pmk_r1_push '1'



config wifi-device 'radio1'

        option type 'mac80211'

        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'

        option radio '1'

        option band '5g'

        option channel 'auto'

        option htmode 'EHT160'

        option country 'GB'

        option cell_density '0'



config wifi-iface 'default_radio1'

        option device 'radio1'

        option network 'lan'

        option mode 'ap'

        option ssid 'HomeAP'

        option encryption 'sae'

        option key ''

        option ocv '0'

        option isolate '1'

        option bridge_isolate '1'

        option dtim_period '3'

        option ieee80211r '1'

        option ft_over_ds '0'

        option ieee80211k '1'

        option time_advertisement '2'

        option wnm_sleep_mode '1'

        option wnm_sleep_mode_no_keys '1'

        option bss_transition '1'

        option proxy_arp '1'

        option time_zone 'GMT0'

        option pmk_r1_push '1'



config wifi-device 'radio2'

        option type 'mac80211'

        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'

        option radio '2'

        option htmode 'EHT320'

        option country 'GB'

        option cell_density '0'

        option band '6g'

        option channel 'auto'



config wifi-iface 'default_radio2'

        option device 'radio2'

        option network 'lan'

        option mode 'ap'

        option ssid 'HomeAP'

        option encryption 'sae'

        option key ''

        option ocv '0'

        option isolate '1'

        option bridge_isolate '1'

        option dtim_period '3'

        option ieee80211r '1'

        option ft_over_ds '0'

        option ieee80211k '1'

        option time_advertisement '2'

        option wnm_sleep_mode '1'

        option wnm_sleep_mode_no_keys '1'

        option bss_transition '1'

        option proxy_arp '1'

        option time_zone 'GMT0'

        option pmk_r1_push '1'



config wifi-iface 'wifinet3'

        option device 'radio0'

        option mode 'ap'

        option ssid 'Guest'

        option encryption 'sae-mixed'

        option isolate '1'

        option bridge_isolate '1'

        option dtim_period '3'

        option key ''

        option ocv '0'

        option network 'Guest'

        option ieee80211w '2'



root@OpenWrt:\~# cat /etc/config/dhcp



config dnsmasq

        option domainneeded '1'

        option localise_queries '1'

        option rebind_protection '1'

        option rebind_localhost '1'

        option local '/lan/'

        option domain 'lan'

        option expandhosts '1'

        option cachesize '1000'

        option authoritative '1'

        option readethers '1'

        option leasefile '/tmp/dhcp.leases'

        option localservice '1'

        option ednspacket_max '1232'

        option noresolv '1'

        option port '1053'



config dhcp 'lan'

        option interface 'lan'

        option start '100'

        option limit '150'

        option leasetime '12h'

        option dhcpv4 'server'

        option dhcpv6 'server'

        option ra 'server'

        list ra_flags 'managed-config'

        list ra_flags 'other-config'

        list dhcp_option '6,0.0.0.0'



config dhcp 'wan'

        option interface 'wan'

        option ignore '1'



config odhcpd 'odhcpd'

        option maindhcp '0'

        option leasefile '/tmp/hosts/odhcpd'

        option leasetrigger '/usr/sbin/odhcpd-update'

        option loglevel '4'

        option piofolder '/tmp/odhcpd-piofolder'



config host

        option name 'OpenWrt'

        option ip '192.168.1.107'

        list mac 



config host

        option name 'NAS'

        list mac '3E:84:10:F2:A0:CE'

        option ip '192.168.1.234'



config dhcp 'Guest'

        option interface 'Guest'

        option start '100'

        option limit '150'

        option leasetime '12h'

        list dhcp_option '6,192.168.2.1'



root@OpenWrt:\~# cat /etc/config/firewall



config defaults

        option input 'REJECT'

        option output 'ACCEPT'

        option forward 'REJECT'

        option synflood_protect '1'

        option flow_offloading '1'

        option flow_offloading_hw '1'



config zone 'lan'

        option name 'lan'

        option input 'ACCEPT'

        option output 'ACCEPT'

        option forward 'ACCEPT'

        list network 'lan'

        list network 'vpn'

        option masq '1'

        option mtu_fix '1'

        option masq6 '1'

        list masq_src 



config zone 'wan'

        option name 'wan'

        option input 'REJECT'

        option output 'ACCEPT'

        option forward 'DROP'

        option masq '1'

        option mtu_fix '1'

        list network 'wan'

        list network 'wan6'



config forwarding

        option src 'lan'

        option dest 'wan'



config rule

        option name 'Allow-DHCP-Renew'

        option src 'wan'

        option proto 'udp'

        option dest_port '68'

        option target 'ACCEPT'

        option family 'ipv4'



config rule

        option name 'Allow-Ping'

        option src 'wan'

        option proto 'icmp'

        option icmp_type 'echo-request'

        option family 'ipv4'

        option target 'ACCEPT'



config rule

        option name 'Allow-IGMP'

        option src 'wan'

        option proto 'igmp'

        option family 'ipv4'

        option target 'ACCEPT'



config rule

        option name 'Allow-DHCPv6'

        option src 'wan'

        option proto 'udp'

        option dest_port '546'

        option family 'ipv6'

        option target 'ACCEPT'



config rule

        option name 'Allow-MLD'

        option src 'wan'

        option proto 'icmp'

        option src_ip 'fe80::/10'

        list icmp_type '130/0'

        list icmp_type '131/0'

        list icmp_type '132/0'

        list icmp_type '143/0'

        option family 'ipv6'

        option target 'ACCEPT'



config rule

        option name 'Allow-ICMPv6-Input'

        option src 'wan'

        option proto 'icmp'

        list icmp_type 'echo-request'

        list icmp_type 'echo-reply'

        list icmp_type 'destination-unreachable'

        list icmp_type 'packet-too-big'

        list icmp_type 'time-exceeded'

        list icmp_type 'bad-header'

        list icmp_type 'unknown-header-type'

        list icmp_type 'router-solicitation'

        list icmp_type 'neighbour-solicitation'

        list icmp_type 'router-advertisement'

        list icmp_type 'neighbour-advertisement'

        option limit '1000/sec'

        option family 'ipv6'

        option target 'ACCEPT'



config rule

        option name 'Allow-ICMPv6-Forward'

        option src 'wan'

        option dest '\*'

        option proto 'icmp'

        list icmp_type 'echo-request'

        list icmp_type 'echo-reply'

        list icmp_type 'destination-unreachable'

        list icmp_type 'packet-too-big'

        list icmp_type 'time-exceeded'

        list icmp_type 'bad-header'

        list icmp_type 'unknown-header-type'

        option limit '1000/sec'

        option family 'ipv6'

        option target 'ACCEPT'



config rule

        option name 'Allow-IPSec-ESP'

        option src 'wan'

        option dest 'lan'

        option proto 'esp'

        option target 'ACCEPT'



config rule

        option name 'Allow-ISAKMP'

        option src 'wan'

        option dest 'lan'

        option dest_port '500'

        option proto 'udp'

        option target 'ACCEPT'



config rule

        option src_port '5353'

        option src '\*'

        option name 'Allow-mDNS'

        option target 'ACCEPT'

        option dest_ip '224.0.0.251'

        option dest_port '5353'

        option proto 'udp'



config rule

        option src 'lan'

        option dest 'wan'

        option name 'Block CCTV Lan'

        list src_mac

        option target 'REJECT'



config rule

        option src 'wan'

        option dest 'lan'

        option name 'Block CCTV Wan'

        list src_mac

        option target 'REJECT'



config zone

        option name 'guest'

        option input 'REJECT'

        option output 'ACCEPT'

        option forward 'REJECT'

        list network 'Guest'



config rule

        option src 'guest'

        option name 'Allow-DNS-Guest'

        option dest_port '53'

        option target 'ACCEPT'



config rule

        option name 'Allow-DHCP-Guest'

        list proto 'udp'

        option dest_port '67'

        option target 'ACCEPT'

        option src 'guest'



config rule

        option src 'guest'

        option name 'Block-Guest-Lan'

        option target 'REJECT'

        list proto 'all'



config rule

        option src 'guest'

        option dest 'wan'

        option name 'Allow-Guest-Browsing'

        list proto 'tcp'

        option dest_port '80 443'

        option target 'ACCEPT'



config rule 'guest_fwd'

        option name 'Allow-Guest-Forward'

        option src 'guest'

        option dest 'wan'

        option target 'ACCEPT'

        list proto 'tcp'

        list dest_ip 

        option dest_port '80 443'

        option enabled '0'



config rule 'wg'

        option name 'Allow-WireGuard'

        option src 'wan'

        option dest_port '51820'

        option proto 'udp'

        option target 'ACCEPT'



root@OpenWrt:\~#

It appears you are using firmware that is not from the official OpenWrt project.

When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.

You may find that the best options are:

  1. Install an official version of OpenWrt, if your device is supported (see https://firmware-selector.openwrt.org).
  2. Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
  3. Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).

If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.

It's based on the stock openwrt, but has a few patches to enable WED/WO

Either make it OpenWrt by this Tue or ask where you downloaded those patches. It specifically touches corners where it predictably does not roam with OpenWrt, so you have to confront 3rd party saying otherwise.

the patches didnt cause an issue, as it was working previously with the patches, im not sure its been marked as solved, the patches are below

https://github.com/LorenzoBianconi/mt76/commit/35bc8effe9e495ccded5d6722b299dafadce060e.patch
https://github.com/LorenzoBianconi/net-next/commit/93dfca902f0d79126612b8e3cc553b5d891c1f55.patch
https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/patches/999-use-proper-wed-reference-in-wed-kernel.patch
https://github.com/LorenzoBianconi/mt76/commit/92f22edf7fd119cde26218a7431919e4cdf1628e.patch

Please provide system information with minimal configuration over unmodified OpenWrt binaries.

For all other caes if WED actually works FT is not possible (not slow roaming)

Last 2 patch links are 404.

ok i see, ive fixed the last 2 links aswell

You understand that roaming does not work with HW offload (including WED) with normal OpenWrt.

THats it, there is no problem, knockoff “OpenWrt” seems to follow the tradition.

1 Like

yeah i understood the previous message, thanks for your help

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.