WAN DHCP Does Not Auto-Reconnect on Asus RT-AC57U (ramips) after Upgrade to 24.10.1

1. Platform and Versions

  • Router Model: Asus RT-AC57U (ramips/mt7621)
  • OpenWrt Version: 24.10.1 r28597-0425664679 (was working on 22.03)
  • Kernel: Linux 6.6.86 (stock for 24.10.1)
  • Interface Naming: DSA-based
  • Modem: LTE modem (Huawei) as WAN gateway on 192.168.8.1

2. Problem Description

After upgrading from 22.03 to 23.05 (and then 24.10.1), my WAN port fails to acquire a DHCP lease automatically on cold boot or when the LTE modem (on the WAN port) reboots. I have to manually:

ubus call network.interface.wan down && ubus call network.interface.wan up

to force DHCP. Neither changing ifname nor device in /etc/config/network nor calling renew works persistently.

3. Steps to Reproduce

  1. Flash/OpenWrt 24.10.1 on RT-AC57U, reset to factory.
  2. Configure WAN on DHCP (default UCI config).
  3. Connect LTE modem to the physical WAN port.
  4. Observe WAN stays DOWN / no DHCP.

4. What I’ve Tried

  1. Factory-reset
  2. Static IP on WAN
  3. ubus call network.interface.wan renew
  4. udhcpc -v -i wan
  5. Switched network.wan.device → eth0 / wan (works until next reboot)
  6. ubus call network.interface.wan down && up (works until next reboot)
  7. /etc/init.d/network restart (works until next reboot)

5. Full System Log

Before down and up:

Sat May 10 21:19:03 2025 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sat May 10 21:19:03 2025 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: started, version 2.90 cachesize 150
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: DNS service limited to local subnets
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-nftset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53 for domain pool.ntp.org
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: using nameserver 192.168.1.253#53
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: using only locally-known addresses for test
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sat May 10 21:19:04 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 3 names
Sat May 10 21:19:05 2025 authpriv.info dropbear[1442]: Not backgrounding
Sat May 10 21:19:09 2025 user.notice : Added device handler type: bonding
Sat May 10 21:19:09 2025 user.notice : Added device handler type: 8021ad
Sat May 10 21:19:09 2025 user.notice : Added device handler type: 8021q
Sat May 10 21:19:09 2025 user.notice : Added device handler type: macvlan
Sat May 10 21:19:09 2025 user.notice : Added device handler type: veth
Sat May 10 21:19:09 2025 user.notice : Added device handler type: bridge
Sat May 10 21:19:09 2025 user.notice : Added device handler type: Network device
Sat May 10 21:19:09 2025 user.notice : Added device handler type: tunnel
Sat May 10 21:19:09 2025 daemon.notice procd: /etc/rc.d/S25packet_steering: pid 282's current affinity list: 0-3
Sat May 10 21:19:09 2025 daemon.notice procd: /etc/rc.d/S25packet_steering: pid 282's new affinity list: 0
Sat May 10 21:19:09 2025 daemon.notice procd: /etc/rc.d/S25packet_steering: pid 283's current affinity list: 0-3
Sat May 10 21:19:09 2025 daemon.notice procd: /etc/rc.d/S25packet_steering: pid 283's new affinity list: 0
Sat May 10 21:19:11 2025 user.notice ucitrack: Setting up /etc/config/luci-splash reload dependency on /etc/config/firewall
Sat May 10 21:19:11 2025 user.notice ucitrack: Setting up /etc/config/qos reload dependency on /etc/config/firewall
Sat May 10 21:19:11 2025 user.notice ucitrack: Setting up /etc/config/miniupnpd reload dependency on /etc/config/firewall
Sat May 10 21:19:11 2025 user.notice ucitrack: Setting up /etc/config/odhcpd reload dependency on /etc/config/dhcp
Sat May 10 21:19:11 2025 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/network
Sat May 10 21:19:11 2025 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/wireless
Sat May 10 21:19:11 2025 user.notice ucitrack: Setting up non-init /etc/config/fstab reload handler: /sbin/block mount
Sat May 10 21:19:11 2025 user.notice ucitrack: Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led
Sat May 10 21:19:12 2025 user.notice ucitrack: Setting up /etc/config/luci_statistics reload dependency on /etc/config/system
Sat May 10 21:19:12 2025 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/system
Sat May 10 21:19:12 2025 daemon.notice netifd: Interface 'lan' is enabled
Sat May 10 21:19:12 2025 daemon.notice netifd: Interface 'lan' is setting up now
Sat May 10 21:19:12 2025 daemon.notice netifd: Interface 'lan' is now up
Sat May 10 21:19:13 2025 daemon.notice netifd: Interface 'loopback' is enabled
Sat May 10 21:19:13 2025 daemon.notice netifd: Interface 'loopback' is setting up now
Sat May 10 21:19:13 2025 daemon.notice netifd: Interface 'loopback' is now up
Sat May 10 21:19:13 2025 daemon.notice netifd: Interface 'wan' is enabled
Sat May 10 21:19:13 2025 daemon.notice netifd: Network device 'eth0' link is up
Sat May 10 21:19:13 2025 daemon.notice netifd: Network device 'lo' link is up
Sat May 10 21:19:13 2025 daemon.notice netifd: Interface 'loopback' has link connectivity
Sat May 10 21:19:13 2025 daemon.notice netifd: radio0 (2339): WARNING: Variable 'data' does not exist or is not an array/object
Sat May 10 21:19:13 2025 daemon.notice netifd: radio1 (2341): WARNING: Variable 'data' does not exist or is not an array/object
Sat May 10 21:19:13 2025 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
\\
Sat May 10 21:19:14 2025 daemon.info procd: - init complete -
Sat May 10 21:19:14 2025 daemon.notice netifd: Network device 'lan1' link is up
Sat May 10 21:19:14 2025 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 10 21:19:14 2025 daemon.notice netifd: Interface 'lan' has link connectivity
Sat May 10 21:19:15 2025 daemon.notice netifd: Network device 'phy0-ap0' link is up
Sat May 10 21:19:16 2025 daemon.notice netifd: Network device 'wan' link is up
Sat May 10 21:19:16 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Sat May 10 21:19:16 2025 daemon.notice netifd: Interface 'wan' is setting up now
Sat May 10 21:19:16 2025 daemon.notice netifd: Wireless device 'radio0' is now up
Sat May 10 21:19:16 2025 daemon.notice netifd: Wireless device 'radio1' is now up
Sat May 10 21:19:16 2025 daemon.notice netifd: wan (2873): udhcpc: started, v1.36.1
Sat May 10 21:19:17 2025 daemon.notice netifd: wan (2873): udhcpc: broadcasting discover
Sat May 10 21:19:17 2025 daemon.notice netifd: Network device 'phy1-ap0' link is up
Sat May 10 21:19:17 2025 daemon.notice netifd: Network device 'wan' link is down
Sat May 10 21:19:17 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat May 10 21:19:17 2025 daemon.notice netifd: wan (2873): udhcpc: received SIGTERM
Sat May 10 21:19:17 2025 daemon.notice netifd: wan (2873): udhcpc: entering released state
Sat May 10 21:19:17 2025 daemon.notice netifd: wan (2873): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat May 10 21:19:17 2025 daemon.notice netifd: Interface 'wan' is now down
Sat May 10 21:19:18 2025 daemon.warn odhcpd[1787]: No default route present, overriding ra_lifetime to 0!
Sat May 10 21:19:18 2025 daemon.info dnsmasq[1]: exiting on receipt of SIGTERM
Sat May 10 21:19:18 2025 daemon.err procd: Got unexpected signal 1
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: started, version 2.90 cachesize 150
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: DNS service limited to local subnets
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-nftset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Sat May 10 21:19:19 2025 daemon.info dnsmasq-dhcp[1]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53 for domain pool.ntp.org
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: using nameserver 192.168.1.253#53
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: using only locally-known addresses for test
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sat May 10 21:19:19 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 7 names
Sat May 10 21:19:19 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sat May 10 21:19:20 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sat May 10 21:19:20 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 7 names
Sat May 10 21:19:20 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sat May 10 21:19:30 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.223 44:85:00:9e:13:8f
Sat May 10 21:19:30 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.223 44:85:00:9e:13:8f hasan
Sat May 10 21:19:33 2025 daemon.notice netifd: Network device 'wan' link is up
Sat May 10 21:19:33 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Sat May 10 21:19:33 2025 daemon.notice netifd: Interface 'wan' is setting up now
Sat May 10 21:19:34 2025 daemon.notice netifd: wan (3326): udhcpc: started, v1.36.1
Sat May 10 21:19:34 2025 daemon.notice netifd: wan (3326): udhcpc: broadcasting discover
Sat May 10 21:19:34 2025 authpriv.info dropbear[3331]: Child connection from 192.168.1.223:34022
Sat May 10 21:19:34 2025 daemon.warn odhcpd[1787]: No default route present, overriding ra_lifetime to 0!
Sat May 10 21:19:35 2025 daemon.notice netifd: Network device 'wan' link is down
Sat May 10 21:19:35 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat May 10 21:19:35 2025 daemon.notice netifd: wan (3326): udhcpc: received SIGTERM
Sat May 10 21:19:35 2025 daemon.notice netifd: wan (3326): udhcpc: entering released state
Sat May 10 21:19:35 2025 daemon.notice netifd: wan (3326): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat May 10 21:19:35 2025 daemon.notice netifd: Interface 'wan' is now down
Sat May 10 21:19:36 2025 daemon.warn odhcpd[1787]: No default route present, overriding ra_lifetime to 0!
Sat May 10 21:19:37 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sat May 10 21:19:37 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 7 names
Sat May 10 21:19:37 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sat May 10 21:20:09 2025 daemon.notice netifd: Network device 'wan' link is up
Sat May 10 21:20:09 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Sat May 10 21:20:09 2025 daemon.notice netifd: Interface 'wan' is setting up now
Sat May 10 21:20:09 2025 daemon.notice netifd: wan (3621): udhcpc: started, v1.36.1
Sat May 10 21:20:09 2025 daemon.notice netifd: wan (3621): udhcpc: broadcasting discover
Sat May 10 21:20:10 2025 daemon.notice netifd: Network device 'wan' link is down
Sat May 10 21:20:10 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat May 10 21:20:10 2025 daemon.notice netifd: wan (3621): udhcpc: received SIGTERM
Sat May 10 21:20:10 2025 daemon.notice netifd: wan (3621): udhcpc: entering released state
Sat May 10 21:20:10 2025 daemon.notice netifd: wan (3621): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat May 10 21:20:10 2025 daemon.notice netifd: Interface 'wan' is now down
Sat May 10 21:20:11 2025 daemon.warn odhcpd[1787]: No default route present, overriding ra_lifetime to 0!
Sat May 10 21:20:12 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sat May 10 21:20:12 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 7 names
Sat May 10 21:20:12 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sat May 10 21:20:13 2025 daemon.notice netifd: Network device 'wan' link is up
Sat May 10 21:20:13 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Sat May 10 21:20:13 2025 daemon.notice netifd: Interface 'wan' is setting up now
Sat May 10 21:20:13 2025 daemon.notice netifd: wan (3915): udhcpc: started, v1.36.1
Sat May 10 21:20:13 2025 daemon.notice netifd: wan (3915): udhcpc: broadcasting discover
Sat May 10 21:20:14 2025 daemon.notice netifd: Network device 'wan' link is down
Sat May 10 21:20:14 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat May 10 21:20:14 2025 daemon.notice netifd: wan (3915): udhcpc: received SIGTERM
Sat May 10 21:20:14 2025 daemon.notice netifd: wan (3915): udhcpc: entering released state
Sat May 10 21:20:14 2025 daemon.notice netifd: wan (3915): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat May 10 21:20:14 2025 daemon.notice netifd: Interface 'wan' is now down
Sat May 10 21:20:15 2025 daemon.warn odhcpd[1787]: No default route present, overriding ra_lifetime to 0!
Sat May 10 21:20:17 2025 daemon.warn odhcpd[1787]: No default route present, overriding ra_lifetime to 0!
Sat May 10 21:20:19 2025 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) b6:ad:44:76:c9:b7
Sat May 10 21:20:19 2025 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.139 b6:ad:44:76:c9:b7
Sat May 10 21:20:19 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sat May 10 21:20:19 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 7 names
Sat May 10 21:20:19 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sat May 10 21:20:19 2025 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) b6:ad:44:76:c9:b7
Sat May 10 21:20:19 2025 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.139 b6:ad:44:76:c9:b7
Sat May 10 21:20:19 2025 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) b6:ad:44:76:c9:b7
Sat May 10 21:20:19 2025 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.139 b6:ad:44:76:c9:b7
Sat May 10 21:20:19 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.139 b6:ad:44:76:c9:b7
Sat May 10 21:20:19 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.139 b6:ad:44:76:c9:b7 Redmi-Note-13

After down and up:

Sat May 10 21:20:34 2025 authpriv.notice dropbear[3331]: Password auth succeeded for 'root' from 192.168.1.223:34022
Sat May 10 21:20:35 2025 daemon.notice netifd: Interface 'wan' is disabled
Sat May 10 21:20:35 2025 daemon.notice netifd: Interface 'wan' is enabled
Sat May 10 21:20:41 2025 daemon.notice netifd: Network device 'wan' link is up
Sat May 10 21:20:41 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Sat May 10 21:20:41 2025 daemon.notice netifd: Interface 'wan' is setting up now
Sat May 10 21:20:41 2025 daemon.notice netifd: wan (4219): udhcpc: started, v1.36.1
Sat May 10 21:20:41 2025 daemon.notice netifd: wan (4219): udhcpc: broadcasting discover
Sat May 10 21:20:41 2025 daemon.notice netifd: wan (4219): udhcpc: broadcasting select for 192.168.8.100, server 192.168.8.1
Sat May 10 21:20:42 2025 daemon.notice netifd: wan (4219): udhcpc: lease of 192.168.8.100 obtained from 192.168.8.1, lease time 86400
Sat May 10 21:20:42 2025 daemon.notice netifd: Interface 'wan' is now up
Sat May 10 21:20:42 2025 user.notice firewall: Reloading firewall due to ifup of wan (wan)
Sat May 10 21:20:43 2025 daemon.warn odhcpd[1787]: No default route present, overriding ra_lifetime to 0!
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: exiting on receipt of SIGTERM
Sat May 10 21:20:44 2025 daemon.err procd: Got unexpected signal 1
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: started, version 2.90 cachesize 150
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: DNS service limited to local subnets
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-nftset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Sat May 10 21:20:44 2025 daemon.info dnsmasq-dhcp[1]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53 for domain pool.ntp.org
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: using nameserver 192.168.1.253#53
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: using only locally-known addresses for test
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sat May 10 21:20:44 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 7 names
Sat May 10 21:20:44 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses

6. Expected Behavior

  • On any reboot of the router or the LTE modem, wan should automatically link and obtain a DHCP lease (as it did on 22.03).

7. Additional Info

  • The LTE modem sometimes reboots daily, so this manual workaround is untenable.
  • network:
root@OpenWrt:~# uci show network
network.loopback=interface
network.loopback.device='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fdf4:3240:2eea::/48'
network.globals.packet_steering='1'
network.@device[0]=device
network.@device[0].name='br-lan'
network.@device[0].type='bridge'
network.@device[0].ports='lan1' 'lan2' 'lan3' 'lan4'
network.lan=interface
network.lan.device='br-lan'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.device='wan'
network.wan.proto='dhcp'
network.wan.dhcp_retries='10'
network.wan.dhcp_timeout='60'
network.wan.dhcp_opts='background'
network.wan6=interface
network.wan6.device='wan'
network.wan6.proto='dhcpv6'
network.wan6.disabled='1'
network.wan6.reqaddress='try'
network.wan6.reqprefix='auto'
network.wan6.norelease='1'
  • IP *after connection):
root@OpenWrt:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc mq state UP qlen 1000
    link/ether 40:b0:76:50:4c:44 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::42b0:76ff:fe50:4c44/64 scope link 
       valid_lft forever preferred_lft forever
3: wan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 40:b0:76:50:4c:40 brd ff:ff:ff:ff:ff:ff
    inet 192.168.8.100/24 brd 192.168.8.255 scope global wan
       valid_lft forever preferred_lft forever
    inet6 fe80::42b0:76ff:fe50:4c40/64 scope link 
       valid_lft forever preferred_lft forever
4: lan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 40:b0:76:50:4c:44 brd ff:ff:ff:ff:ff:ff
5: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 40:b0:76:50:4c:44 brd ff:ff:ff:ff:ff:ff
6: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 40:b0:76:50:4c:44 brd ff:ff:ff:ff:ff:ff
7: lan4@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 40:b0:76:50:4c:44 brd ff:ff:ff:ff:ff:ff
8: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 40:b0:76:50:4c:44 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fdf4:3240:2eea::1/60 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::42b0:76ff:fe50:4c44/64 scope link 
       valid_lft forever preferred_lft forever
9: phy0-ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 40:b0:76:50:4c:40 brd ff:ff:ff:ff:ff:ff
10: phy1-ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 40:b0:76:50:4c:44 brd ff:ff:ff:ff:ff:ff

Thank you!

I see some unusual options in your wan... but could you please post the complete config in the following form:

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like
root@OpenWrt:~# ubus call system board
{
	"kernel": "6.6.86",
	"hostname": "OpenWrt",
	"system": "MediaTek MT7621 ver:1 eco:3",
	"model": "ASUS RT-AC57U v1",
	"board_name": "asus,rt-ac57u-v1",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "24.10.1",
		"revision": "r28597-0425664679",
		"target": "ramips/mt7621",
		"description": "OpenWrt 24.10.1 r28597-0425664679",
		"builddate": "1744562312"
	}
}
root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
	option device 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'fdf4:3240:2eea::/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 'lan4'

config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '60'

config interface 'wan'
	option device 'wan'
	option proto 'dhcp'
	option dhcp_retries '10'
	option dhcp_timeout '60'
	list dhcp_opts 'background'

config interface 'wan6'
	option device 'wan'
	option proto 'dhcpv6'
	option disabled '1'
	option reqaddress 'try'
	option reqprefix 'auto'
	option norelease '1'

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

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
	option htmode 'HT20'
	option cell_density '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option key '****'
	option ssid 'Danial'
	option encryption 'psk-mixed'

config wifi-device 'radio1'
	option type 'mac80211'
	option channel '36'
	option hwmode '11a'
	option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
	option htmode 'VHT80'
	option cell_density '0'

config wifi-iface 'default_radio1'
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option key '****'
	option ssid 'Danial'
	option ieee80211w '2'
	option encryption 'sae-mixed'

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 readethers '1'
	option leasefile '/tmp/dhcp.leases'
	option localservice '1'
	option ednspacket_max '1232'
	option noresolv '1'
	list server '/pool.ntp.org/8.8.8.8'
	list server '192.168.1.253'

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'

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'

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

config defaults
	option syn_flood '1'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'REJECT'

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'

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'

Can you describe why you added these?

1 Like

I added those options to give the router more chance to obtain a DHCP lease automatically without having to manually reset the WAN interface. It apparently didn't solve the DHCP issue, but was an attempt to improve reliability.

Try removing them. Then, restart your router and show the output of:

logread -e udhcpc
1 Like

With 4G/5G - your WAN IP is via PPP, not DHCP, so at @psherman mentions, remove the those options...

Mon May 12 11:07:49 2025 daemon.notice netifd: Interface 'lan' is enabled
Mon May 12 11:07:49 2025 daemon.notice netifd: Interface 'lan' is setting up now
Mon May 12 11:07:49 2025 daemon.notice netifd: Interface 'lan' is now up
Mon May 12 11:07:49 2025 daemon.notice netifd: Interface 'loopback' is enabled
Mon May 12 11:07:49 2025 daemon.notice netifd: Interface 'loopback' is setting up now
Mon May 12 11:07:49 2025 daemon.notice netifd: Interface 'loopback' is now up
Mon May 12 11:07:49 2025 daemon.notice netifd: Interface 'wan' is enabled
Mon May 12 11:07:49 2025 daemon.notice netifd: Network device 'eth0' link is up
Mon May 12 11:07:49 2025 daemon.notice netifd: Network device 'lo' link is up
Mon May 12 11:07:49 2025 daemon.notice netifd: Interface 'loopback' has link connectivity
Mon May 12 11:07:49 2025 daemon.notice netifd: radio1 (2376): WARNING: Variable 'data' does not exist or is not an array/object
Mon May 12 11:07:49 2025 daemon.notice netifd: radio0 (2375): WARNING: Variable 'data' does not exist or is not an array/object
Mon May 12 11:07:50 2025 daemon.notice netifd: Network device 'lan1' link is up
Mon May 12 11:07:50 2025 daemon.notice netifd: bridge 'br-lan' link is up
Mon May 12 11:07:50 2025 daemon.notice netifd: Interface 'lan' has link connectivity
Mon May 12 11:07:51 2025 daemon.notice netifd: Network device 'phy0-ap0' link is up
Mon May 12 11:07:52 2025 daemon.notice netifd: Network device 'wan' link is up
Mon May 12 11:07:52 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Mon May 12 11:07:52 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon May 12 11:07:52 2025 daemon.notice netifd: Wireless device 'radio0' is now up
Mon May 12 11:07:52 2025 daemon.notice netifd: Wireless device 'radio1' is now up
Mon May 12 11:07:52 2025 daemon.notice netifd: wan (2888): udhcpc: started, v1.36.1
Mon May 12 11:07:53 2025 daemon.notice netifd: wan (2888): udhcpc: broadcasting discover
Mon May 12 11:07:53 2025 daemon.notice netifd: Network device 'phy1-ap0' link is up
Mon May 12 11:07:53 2025 daemon.notice netifd: Network device 'wan' link is down
Mon May 12 11:07:53 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Mon May 12 11:07:53 2025 daemon.notice netifd: wan (2888): udhcpc: received SIGTERM
Mon May 12 11:07:53 2025 daemon.notice netifd: wan (2888): udhcpc: entering released state
Mon May 12 11:07:53 2025 daemon.notice netifd: wan (2888): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Mon May 12 11:07:53 2025 daemon.notice netifd: Interface 'wan' is now down
Mon May 12 11:07:54 2025 daemon.err procd: Got unexpected signal 1
Mon May 12 11:07:54 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!
Mon May 12 11:08:10 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!
Mon May 12 11:08:13 2025 daemon.notice netifd: Network device 'wan' link is up
Mon May 12 11:08:13 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Mon May 12 11:08:13 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon May 12 11:08:13 2025 daemon.notice netifd: wan (3340): udhcpc: started, v1.36.1
Mon May 12 11:08:13 2025 daemon.notice netifd: wan (3340): udhcpc: broadcasting discover
Mon May 12 11:08:14 2025 daemon.notice netifd: Network device 'wan' link is down
Mon May 12 11:08:14 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Mon May 12 11:08:14 2025 daemon.notice netifd: wan (3340): udhcpc: received SIGTERM
Mon May 12 11:08:14 2025 daemon.notice netifd: wan (3340): udhcpc: entering released state
Mon May 12 11:08:14 2025 daemon.notice netifd: wan (3340): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Mon May 12 11:08:14 2025 daemon.notice netifd: Interface 'wan' is now down
Mon May 12 11:08:15 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!
Mon May 12 11:08:19 2025 daemon.notice netifd: Network device 'wan' link is up
Mon May 12 11:08:19 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Mon May 12 11:08:19 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon May 12 11:08:19 2025 daemon.notice netifd: wan (3634): udhcpc: started, v1.36.1
Mon May 12 11:08:19 2025 daemon.notice netifd: wan (3634): udhcpc: broadcasting discover
Mon May 12 11:08:20 2025 daemon.notice netifd: Network device 'wan' link is down
Mon May 12 11:08:20 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Mon May 12 11:08:20 2025 daemon.notice netifd: wan (3634): udhcpc: received SIGTERM
Mon May 12 11:08:20 2025 daemon.notice netifd: wan (3634): udhcpc: entering released state
Mon May 12 11:08:20 2025 daemon.notice netifd: wan (3634): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Mon May 12 11:08:20 2025 daemon.notice netifd: Interface 'wan' is now down
Mon May 12 11:08:21 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!
Mon May 12 11:08:36 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!
Mon May 12 11:08:37 2025 daemon.notice netifd: Network device 'wan' link is up
Mon May 12 11:08:37 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Mon May 12 11:08:37 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon May 12 11:08:37 2025 daemon.notice netifd: wan (3930): udhcpc: started, v1.36.1
Mon May 12 11:08:37 2025 daemon.notice netifd: wan (3930): udhcpc: broadcasting discover
Mon May 12 11:08:38 2025 daemon.notice netifd: Network device 'wan' link is down
Mon May 12 11:08:38 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Mon May 12 11:08:38 2025 daemon.notice netifd: wan (3930): udhcpc: received SIGTERM
Mon May 12 11:08:38 2025 daemon.notice netifd: wan (3930): udhcpc: entering released state
Mon May 12 11:08:38 2025 daemon.notice netifd: wan (3930): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Mon May 12 11:08:38 2025 daemon.notice netifd: Interface 'wan' is now down
Mon May 12 11:08:39 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!
Mon May 12 11:08:51 2025 daemon.notice netifd: Network device 'wan' link is up
Mon May 12 11:08:51 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Mon May 12 11:08:51 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon May 12 11:08:51 2025 daemon.notice netifd: wan (4233): udhcpc: started, v1.36.1
Mon May 12 11:08:51 2025 daemon.notice netifd: wan (4233): udhcpc: broadcasting discover
Mon May 12 11:08:52 2025 daemon.notice netifd: Network device 'wan' link is down
Mon May 12 11:08:52 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Mon May 12 11:08:52 2025 daemon.notice netifd: wan (4233): udhcpc: received SIGTERM
Mon May 12 11:08:52 2025 daemon.notice netifd: wan (4233): udhcpc: entering released state
Mon May 12 11:08:53 2025 daemon.notice netifd: wan (4233): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Mon May 12 11:08:53 2025 daemon.notice netifd: Interface 'wan' is now down
Mon May 12 11:08:54 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!
Mon May 12 11:09:09 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!
Mon May 12 11:09:13 2025 daemon.notice netifd: Network device 'wan' link is up
Mon May 12 11:09:13 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Mon May 12 11:09:13 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon May 12 11:09:13 2025 daemon.notice netifd: wan (4527): udhcpc: started, v1.36.1
Mon May 12 11:09:13 2025 daemon.notice netifd: wan (4527): udhcpc: broadcasting discover
Mon May 12 11:09:14 2025 daemon.notice netifd: Network device 'wan' link is down
Mon May 12 11:09:14 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Mon May 12 11:09:14 2025 daemon.notice netifd: wan (4527): udhcpc: received SIGTERM
Mon May 12 11:09:14 2025 daemon.notice netifd: wan (4527): udhcpc: entering released state
Mon May 12 11:09:14 2025 daemon.notice netifd: wan (4527): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Mon May 12 11:09:14 2025 daemon.notice netifd: Interface 'wan' is now down
Mon May 12 11:09:15 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!
Mon May 12 11:09:31 2025 daemon.notice netifd: Network device 'wan' link is up
Mon May 12 11:09:31 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Mon May 12 11:09:31 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon May 12 11:09:31 2025 daemon.notice netifd: wan (4823): udhcpc: started, v1.36.1
Mon May 12 11:09:31 2025 daemon.notice netifd: wan (4823): udhcpc: broadcasting discover
Mon May 12 11:09:32 2025 daemon.notice netifd: Network device 'wan' link is down
Mon May 12 11:09:32 2025 daemon.notice netifd: Interface 'wan' has link connectivity loss
Mon May 12 11:09:32 2025 daemon.notice netifd: wan (4823): udhcpc: received SIGTERM
Mon May 12 11:09:32 2025 daemon.notice netifd: wan (4823): udhcpc: entering released state
Mon May 12 11:09:32 2025 daemon.notice netifd: wan (4823): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Mon May 12 11:09:32 2025 daemon.notice netifd: Interface 'wan' is now down
Mon May 12 11:09:33 2025 daemon.warn odhcpd[1803]: No default route present, overriding ra_lifetime to 0!

I think it is DHCP, since this was working for years.

Looks similar and it is not yet fixed in 24.10.1.

Since it works for you after restarting the interface, you could try a workaround using a hotplug script to avoid downgrading.