Samsung devices lose internet access after being idle (OpenWrt 25.12 snapshot)

Hello everyone,

Since I started testing the OpenWrt 25.12 beta builds, I've been experiencing Wi-Fi issues. So far, I've only noticed the problem on Samsung devices.

If a Samsung phone stays idle for some time, it loses internet connectivity even though it remains connected to the Wi-Fi network. The only workaround is to manually disconnect and reconnect to Wi-Fi.

I'm currently running build 25.12.04 and the issue is still present. It's very frustrating because it happens multiple times a day.

My router is a D-Link DIR-878 A1.

Has anyone else experienced something similar with Samsung devices on the 25.12 beta builds?

Thanks.

Then don't use beta (snapshot ?) builds, they're called betas for a reason ... ?

I didn't say I'm currently using a beta version. I said I've been experiencing this issue since the beta builds.

  • Then what version of OpenWrt are you running?
  • Can you provide your configs (network, wireless, DHCP, firewall, and output of ubus call system board)?

No (not I).

Reword, perhaps?

I'm using 25.12.4 and have no issues with my samsung (phone an tablets)
BUT my wifi is not managed by openwrt.

root@OpenWrt:~# ubus call system board
{
        "kernel": "6.12.87",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "D-Link DIR-878 A1",
        "board_name": "dlink,dir-878-a1",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "25.12.4",
                "firmware_url": "https://downloads.openwrt.org/",
                "revision": "r32933-4ccb782af7",
                "target": "ramips/mt7621",
                "description": "OpenWrt 25.12.4 r32933-4ccb782af7",
                "builddate": "1778712129"
        }
}
root@OpenWrt:~#


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 dhcp_default_duid '000480fdd7d6207e4e369389e1d05aa76143'
        option ula_prefix 'fdc6:f1b8:132b::/48'
        option packet_steering '1'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        option igmp_snooping '1'
        option last_member_interval '50'
        option neighreachabletime '60000'
        option neighlocktime '5'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        list ipaddr '10.10.10.1/24'
        option ip6assign '60'

config interface 'wan'
        option device 'wan.120'
        option proto 'pppoe'
        option username '@xxxxxx'
        option password 'xxxx'
        option ipv6 '1'
        option keepalive '6 10'
        option peerdns '0'
        list dns '9.9.9.9'
        list dns '149.112.112.112'

config interface 'wan6'
        option device '@wan'
        option proto 'dhcpv6'
        option reqaddress 'try'
        option reqprefix 'auto'
        option norelease '1'
        option peerdns '0'
        list dns '2620:fe::fe'
        list dns '2620:fe::9'

config device
        option type 'bridge'
        option name 'br-p4'
        list ports 'lan4'
        option igmp_snooping '1'

config device
        option type '8021q'
        option ifname 'br-p4'
        option vid '50'
        option name 'br-p4.50'

config interface 'p4'
        option proto 'static'
        option device 'br-p4.50'
        option ipaddr '192.168.5.1'
        option netmask '255.255.255.0'

config bridge-vlan
        option device 'br-p4'
        option vlan '50'
        list ports 'lan4'

config device
        option type 'bridge'
        option name 'br-guest'
        option igmp_snooping '1'

config interface 'guest'
        option proto 'static'
        option device 'br-guest'
        option ipaddr '172.16.16.1'
        option netmask '255.255.255.0'
        option multipath 'off'

config device
        option name 'br-guest'
        option type 'bridge'

root@OpenWrt:~#


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

config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option band '2g'
        option htmode 'HT20'
        option txpower '14'
        option cell_density '0'
        option channel '11'
        option country 'BR'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'home'
        option encryption 'psk2'
        option key 'xxxxxxx'
        option hidden '1'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
        option band '5g'
        option channel '44'
        option htmode 'VHT80'
        option disabled '0'
        option cell_density '0'
        option country 'BR'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'home 5g'
        option encryption 'psk2'
        option key 'xxxxxx'

config wifi-iface 'wifinet2'
        option device 'radio0'
        option mode 'ap'
        option ssid 'guest'
        option encryption 'psk2'
        option key 'xxxxxxx'
        option network 'guest'
        option bridge_isolate '1'

root@OpenWrt:~#


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 authoritative '1'
        option leasefile '/tmp/dhcp.leases'
        option localservice '1'
        option ednspacket_max '1232'
        option quietdhcp '1'
        option noresolv '1'
        list server '127.0.0.1#5353'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        option ra_slaac '1'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'
        list dhcp_option '6,10.10.10.1/24'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option leasefile '/tmp/odhcpd.leases'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'
        option piodir '/tmp/odhcpd-piodir'
        option hostsdir '/tmp/hosts'

config dhcp 'p4'
        option interface 'p4'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        list dhcp_option '6,1.1.1.1,8.8.8.8'

config host
        option name 'A55-de-Vinicius'
        option ip '10.10.10.172'
        list mac '64:xx:xx:5D:AA:xx'

config host
        option name 'Laptop-Vinicius'
        option ip '10.10.10.220'
        list mac 'xx:xx:47:xx:4E:A6'

config host
        option name 'Laptop-Vinicius-W'
        option ip '10.10.10.221'
        list mac 'B8:xx:A4:xx:xx:6D'

config host
        option name 'mibox4-Vinicius'
        option ip '10.10.10.201'
        list mac 'E0:B6:55:xx:xx:xx'

config host
        option name 'TVSamsung-T4300-Joelma'
        option ip '10.10.10.203'
        list mac 'BC:xx:xx:xx:4C:FF'

config host
        option name 'POCO-M5-Joelma'
        option ip '10.10.10.210'
        list mac 'xx:49:xx:AD:3C:xx'

config host
        option name 'jomppa-roteador'
        option ip '192.168.5.101'
        list mac '18:xx:xx:xx:A8:CD'

config host
        option name 'binhaRoq-roteador'
        option ip '192.168.5.102'
        list mac '18:xx:xx:46:xx:63'

config host
        option name 'jadson-roteador'
        option ip '192.168.5.100'
        list mac 'xx:4x:2x:AD:05:90'

config domain
        option name 'router.lan'
        option ip '10.10.10.1'

config dhcp 'guest'
        option interface 'guest'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        list dhcp_option '6,8.8.8.8,1.1.1.1'

config host
        option ip '172.16.16.111'
        list mac 'xx:2a:8x:a2:8x:x1'
        option name 'Echo-Dot-Casa'

root@OpenWrt:~#


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
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'

config zone
        option name 'wan'
        list network 'wan'
        list network 'wan6'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'

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'
        option enabled '0'

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-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        option limit '100/sec'
        option family 'ipv6'
        option target 'ACCEPT'
        list icmp_type 'bad-header'
        list icmp_type 'destination-unreachable'
        list icmp_type 'echo-reply'
        list icmp_type 'echo-request'
        list icmp_type 'neighbour-advertisement'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'packet-too-big'
        list icmp_type 'router-advertisement'
        list icmp_type 'router-solicitation'
        list icmp_type 'time-exceeded'
        list icmp_type 'unknown-header-type'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        option limit '100/sec'
        option family 'ipv6'
        option target 'ACCEPT'
        list icmp_type 'bad-header'
        list icmp_type 'destination-unreachable'
        list icmp_type 'echo-reply'
        list icmp_type 'echo-request'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'unknown-header-type'

config zone
        option name 'p4'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        list network 'p4'

config forwarding
        option src 'p4'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-p4'
        option src 'p4'
        option proto 'udp'
        option dest_port '67 68'
        option target 'ACCEPT'

config rule
        option name 'Allow-DNS-p4'
        option src 'p4'
        list proto 'udp'
        list proto 'tcp'
        option dest_port '53'
        option target 'ACCEPT'

config zone
        option name 'guest'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        list network 'guest'

config forwarding
        option src 'guest'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-guest'
        option src 'guest'
        option proto 'udp'
        option dest_port '67 68'
        option target 'ACCEPT'

config rule
        option name 'Allow-DNS-guest'
        option src 'guest'
        list proto 'udp'
        list proto 'tcp'
        option dest_port '53'
        option target 'ACCEPT'

config rule
        option name 'Block-P4-to-LAN'
        option src 'p4'
        option dest 'lan'
        option target 'REJECT'

config rule
        option name 'Block-Guest-to-LAN'
        option src 'guest'
        option dest 'lan'
        option target 'REJECT'

config rule
        option name 'Block-P4-to-Guest'
        option src 'p4'
        option dest 'guest'
        option target 'REJECT'

root@OpenWrt:~#




I'm currently running OpenWrt 25.12.04 on a D-Link DIR-878 A1.