I just installed OpenWrt on my Xiaomi AX3200 but I don't have internet access. I can connect to luci just fine, but I can't figure out how to make internet work. The router is plugged into an ONT (Chorus Model 200) that doesn't have any sort of interface to check settings. The blue Internet light on the router is on, and the relevant light on the ONT is also on.
When I first set up my Xiaomi router (with stock firmware) it was pretty much plug and play, and when I try it with my Deco X20 router there's nothing I have to do. My ISP has this page with details about what settings to use, but I can't see where I'm supposed to enter those into OpenWrt. I've tried a reset a couple of times to no avail.
I looked through the OpenWrt internet troubleshooting guide but honestly I'm stuck on step 2: I can't for the life of me see where I'm supposed to see an IP address for WAN under interfaces. That guide also said to ask here if I'm stuck, so here I am. I hope I've provided enough information, let me know if there's anything else that I've missed.
The link you sent suggests that the fiber service requires the wan to be on VLAN 10.
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:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
ifstatus wan
logread -e udhcpc
Official guide doesn't mention it for some reason.
Some explanation: UBI (bootloader) has been configured with two firmwares. When router tries to boot counter 'flag_try_sys1_failed' increases. If OS boots successfully it decreases those values. So, the logic is, if firmware fails to boot 6 times (OS doesn't decrease it), bootloader switches to firmware2. But there is no firmware2 at preset address... Router bricked, you need to learn how to work with TFTP.
OpenWrt comes with vi, when noobs open vi for editing... soon he will ask us "How do I type in this editor?" or "How do I leave this editor?". Usually it ends up with frustration and reboot.
Just out of curiousity and for next time I have a problem, I did that following my nose in the web interface, but how would I enter in text commands like that with the indented bit and stuff? I tried it in the SSH but it said the command config was invalid. Is that what timur.davletshin is talking about?
Wait sorry so do those two commands permanently remove that problem? Or does it make it 8 reboots instead? Sorry lol I'm just trying to guess what things do.