After the edit, I rebooted the router and I could not connect to the router (Both lan and 5G).
Even using the reset button on the router did nothing. (There was no dynamic ip when I ran arp -a and I could not acces the gui)
It was there by default.
Btw, the internet connection status led blinks randomly which normally means that there is internet.
Removing br-lan would indeed kill the LAN and wireless connection !
I perhaps didn't make it clear in my earlier post that the following two lines which need to be removed:
config interface 'wan'
option device 'wan'
option proto 'dhcp'
option type 'bridge' <<<<< REMOVE THIS LINE
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
option type 'bridge' <<<<< REMOVE THIS LINE
Your earlier posted config did not have the bridge setting in the WAN interfaces btw.
I just used Mi WIfi repair too x86 to return my R4AG to stock firmware. Then I flashed 21.02.2 onto my R4AG 'Giga' from OEM using Windows method. Then used LuCI to do a reset. Then created a backup of the settings, from which I posted the /etc/config/network file below
fyi, I just reinstalled 21.02.2 onto my R4AG. Got openvpn client working.
I then moved the R4AG to another room, to temporarily replace another model of router, and guess what. No internet !
The only difference is I set up the R4AG when WAN port was wired to a gigabit switch which is the one I normally use for testing. The other room where R4AG reports no WAN connection has a 100mb switch (TPlink SF1008D). The switch and cables are fine. I ran a long cable from the R4AG to another gigabit switch and WAN access was restored.
I had come across another thread where someone was reporting a router would not negotiate a link when wired to a 100mb port of a modem. I don't know if it is for a R4AG at this time. I need to find the thread, unless another reader knows which thread I am referring to.
OEM firmware works 100% every time with the following 100mb switches:
Netgear FSM726 antique 24x100mb + 2x1Gb ports managed switch
TPlink TL-SF1008D v9 - 8x 100mb port unmanaged
TPlink TL-SF1005D v10.1 - 5x 100mb port unmanaged
21.02.2
Netgear FSM726 antique managed switch - some times but not always fails on 100mb ports when R4AG power cycled. Port status light on switch flashes when it should be constant. Works OK wired to the spare gigabit port on FSM726.
TPlink TL-SF1008D v9 - 8x 100mb port unmanaged - fails Everytime when R4AG power cycled.
TPlink TL-SF1005D v10.1 - 5x 100mb port unmanaged - 100% OK
Both TPlinks removed from their usual locations and currently wired into 100mb ports of the FMS726 during this investigation.
Are there only 2 infrastructure devices in your entire network? You were talking about multiple switches, presumably in different rooms. A topology diagram should indicate all of the relevant hardware as well as the wiring between them (so that we can understand where there are limitations or potential other possible options).
From my observations, the 100mb port negotiation issue with OpenWrt 21.02.2 does not affect ALL 100mb switches.
There is no issue when wired into gigabit ports of routers, and my Netgear FSM726 100mb switch has two 1Gb ports. I can't reproduce the issue using OEM firmware.
Update: problem with 100mb port autonegotiation appears to be fixed in snapshot. Early indication is my R4AG with 10 March 2022 snapshot when power cycled, is behaving correctly with the TL-SF1008D v9.1 100mb switch.
I have a LTE router because getting a wired connection to my house is expensive. Right now, I have a 5 port unmanaged ( 1000/100/10 mbps ) switch, 2 cat5 ethernet cables, 2 cat 6 ethernet cables, the xiaomi router and the huawei router (isp router) and a laptop that runs kali linux and windows 10.
I didn't ask why you are using an LTE router... I asked to see your topology -- a digram of how things are connected that includes things like switches and the wires between the rooms and such. What you provided was simply 2 devices (your LTE router and your 4A), connected together without anything in between. You mentioned that you have switches between your devices, but you didn't show us anything about how things actually work in your network.
I think you original question about 'topology' was directed at me, not to @Cool-Guy-101....
Cool-Guy-101 appears to have gigabit connections, so I can only speculate his R4AG openwrt issues is not related to the 100mb auto negotiation issue reported by others and myself.
(fwiw, R4AG running today's snapshot seem to be working fine so far with 100mb TL-SF1008D switch)
Everything is in the same room and is connected using 2 (working) cables. I used the switch before but I removed it to reduce failure rates. My laptop is connected to the xiaomi router.
yes.
IDK if my huawei router LAN is gigabit but the cat 5 cable ( 100mbps ) is connecting the huawei router and the R4AG so that might be a problem.