Hey guys I've been without electricity for couple of hours and got DNS problems on my BPI R4 open wrt. Fixed it by reinstalling DNS over HTTPS proxy and syncing time with NTP.
Now everything works fine except my android phones won't connect to wifi. Laptopts and dongles connecting without problem, but phones not. I'm getting 'Failed to connect to network' on the phone and nothing in open wrt logs. It is just issue with OpenWRT wifi - tried on other access point and it works normally.
Any suggestion how to troubleshoot this? Thank you
Modifying the DNS behaviors (relative to the default OpenWrt config) can sometimes have some side effects. Usually they can be addressed with a few minor tweaks. But, it makes sense to start by reviewing the configs...
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 (red circle; this works best in the 'Markdown' composer view in the blue oval):
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
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 'some string not sure if I should make it public'
option packet_steering '1'
option dhcp_default_duid 'some string not sure if I should make it public'
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'
option ip6assign '60'
list ipaddr '10.0.0.1/24'
list dns '1.1.1.1'
list dns '1.0.0.1'
option ipv6 '0'
option delegate '0'
option gateway '192.168.0.1'
config device
option name 'br-wan'
option type 'bridge'
list ports 'wan'
list ports 'sfp-wan'
config device
option name 'wan'
option macaddr 'my mac'
config device
option name 'sfp-wan'
option macaddr 'same my mac'
config interface 'wan'
option device 'br-wan'
option proto 'dhcp'
option ipv6 '0'
config interface 'wan6'
option device 'br-wan'
option proto 'dhcpv6'
config interface 'gst'
option proto 'static'
option ipaddr '10.0.3.1'
option netmask '255.255.255.0'
option gateway '192.168.0.1'
list dns '1.1.1.1'
list dns '1.0.0.1'
option device 'br-guest'
config device
option type 'bridge'
option name 'br-guest'
This got me unable to ssh back to router. So I installed fresh OpenWRT, restored working backup and everything is normal haha. Thank you guys! Dunno what was the issue but this one is solved.