WAN connection after reboot

After every reboot router is not connected to internet.
I do not change any parameters but only thru luci change order of some DNS servers,
eg. change "Use custom DNS servers 1.1.1.1, 8.8.8.8"
to "Use custom DNS servers 8.8.8.8, 1.1.1.1 "
and press "Save & apply" button.
After that internet connection works as expected.

This happens on 2 routers I have.

Anyone with this problem ?

Is the WAN interface configured to start on boot?

2 Likes
uci show network

https://openwrt.org/docs/guide-quick-start/sshadministration

1 Like

I cant connect thru ssh but uci show network gives I/O error

uci show network
uci: I/O error

I've removed WAN interface since I have another router for internet connection (which is gateway for openwrt router)

Well, this changes everything... your router is either seriously miss-configured, or the flash memory is just about to fail. I would try to see on the kernel logs if there are more "I/O error" messages, but you should probably reflash the device and see if those errors persist.

2 Likes

ok, thanks
will check

Solved it by creating boot script that switches (thru uci set network dns) 2 dns configs and uci commits them.

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