Openwrt in dhcp mode, cannot access public net after 2min

openwrt in dhcp mode, as a second router, cannot access public net after 2min. ASUS RTAC5300 in pppoe mode as 1st router.
pc in openwrt subnet cannot access public net such as google/baidu, but could access web site in ASUS subnet.
log is in github:

and this has nothing to do with what appears to be a nginx startup failure ?

Do I need to upload other logs of openwrt?

no,

but how your network is set up/looks like
and what the failing nginx is used for.

Sun Mar 14 21:59:11 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to 0.0.0.0:80 failed (98: Address in use)
Sun Mar 14 21:59:11 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to [::]:80 failed (98: Address in use)
Sun Mar 14 21:59:11 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to 0.0.0.0:80 failed (98: Address in use)
Sun Mar 14 21:59:11 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to [::]:80 failed (98: Address in use)
Sun Mar 14 21:59:12 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to 0.0.0.0:80 failed (98: Address in use)
Sun Mar 14 21:59:12 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to [::]:80 failed (98: Address in use)
Sun Mar 14 21:59:12 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to 0.0.0.0:80 failed (98: Address in use)
Sun Mar 14 21:59:12 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to [::]:80 failed (98: Address in use)
Sun Mar 14 21:59:13 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to 0.0.0.0:80 failed (98: Address in use)
Sun Mar 14 21:59:13 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: bind() to [::]:80 failed (98: Address in use)
Sun Mar 14 21:59:13 2021 daemon.err nginx[8487]: 2021/03/14 21:59:11 [emerg] 8487#0: still could not bind()

I have no idea about this.
IS nginx for openwrt webpage? It is fine.

I fresh the google page, get a line in log:

Sun Mar 14 22:08:58 2021 user.info mwan3track[10752]: Check (ping) success for target "114.114.114.114" on interface wan (eth5)

nothing more.
I am stucked in this situation.

No, that's done by uhttpd.

Nginx's a proxy and load balancer among other things, but if luci works then no wonder nginx fails, they're using the same ports.
It doesn't come with the standard openwrt image, you had to put it there yourself.
Or did you install an unofficial release ?

ping and DNS are two completely different things.

can you ping 114.114.114.114 from your clients ?

since you say your ASUS is in dhcp mode, I assume it gets the IP from the 1st router ?
how are they interconnected ? WAN-LAN or LAN-LAN ?
if WAN-LAN; what are the LAN subnets of the routers ?
if LAN-LAN, have you disabled the DHCP on the ASUS ?

1 Like

ASUS is in pppoe mode as the first router, openwrt is in dhcp mode.
ASUS's LAN links to openwrt's WAN, PC links to openwrt's LAN.

I will show you my openwrt's version later.