Xiaomi MI WIFI Router 3G - HW NAT

Installed latest OpenWRT build, enabled HW NAT. Under last LEDE build it was working near good, able to use gigabit wan speed but cant drop old connections properly BUT working. Now it drops, but only 70MB/s and got some errors too with disconnections from PPPoE randomly, not when using full speed.

First half with SW NAT, maxed only 44MB/s , second half with HW NAT enabled (my current connection is 500/200Mbps but soon get up to 1Gbps)
hwnat

Wed Aug 22 19:36:36 2018 daemon.info pppd[3026]: No response to 5 echo-requests
Wed Aug 22 19:36:36 2018 daemon.notice pppd[3026]: Serial link appears to be disconnected.
Wed Aug 22 19:36:36 2018 daemon.info pppd[3026]: Connect time 1104.8 minutes.
Wed Aug 22 19:36:36 2018 daemon.info pppd[3026]: Sent 3170246551 bytes, received 1439750027 bytes.
Wed Aug 22 19:36:36 2018 daemon.notice netifd: Network device 'pppoe-wan' link is down
Wed Aug 22 19:36:36 2018 daemon.notice netifd: Network alias 'pppoe-wan' link is down
Wed Aug 22 19:36:36 2018 daemon.notice netifd: Interface 'wan_6' has link connectivity loss
Wed Aug 22 19:36:36 2018 daemon.err odhcp6c[3176]: Failed to send RS (Permission denied)
Wed Aug 22 19:36:36 2018 daemon.err odhcp6c[3176]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Aug 22 19:36:36 2018 daemon.err odhcp6c[3176]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Aug 22 19:36:37 2018 daemon.err odhcp6c[3176]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.006784] ------------[ cut here ]------------
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.011422] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:320 0x8036d4f8
Wed Aug 22 19:36:38 2018 kern.info kernel: [66341.018470] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.025402] Modules linked in: pppoe ppp_async uas pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT usb_storage slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sd_mod scsi_mod leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.096685] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.63 #0
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.102666] Stack : 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.111002]         00000000 00000000 00000000 00000000 00000000 00000001 8fc11d60 1cc282df
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.119337]         8fc11df8 00000000 00000000 00006ce0 00000038 80476918 00000008 00000000
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.127671]         00000000 80520000 000179ad 00000000 8fc11d40 00000000 80540000 8036d4f8
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.136003]         00000009 00000140 00000002 8ff53a40 00000003 80290678 00000008 80580008
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.144334]         ...
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.146773] Call Trace:
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.146790] [<80476918>] 0x80476918
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.152682] [<8036d4f8>] 0x8036d4f8
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.156151] [<80290678>] 0x80290678
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.159627] [<80010040>] 0x80010040
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.163098] [<80010048>] 0x80010048
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.166565] [<8045f8cc>] 0x8045f8cc
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.170035] [<8006f7b0>] 0x8006f7b0
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.173505] [<8002e388>] 0x8002e388
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.176975] [<8036d4f8>] 0x8036d4f8
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.180445] [<8002e3ec>] 0x8002e3ec
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.183912] [<8036d4f8>] 0x8036d4f8
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.187383] [<80096d20>] 0x80096d20
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.190853] [<8036d34c>] 0x8036d34c
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.194320] [<80086354>] 0x80086354
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.197791] [<8008656c>] 0x8008656c
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.201260] [<80076b90>] 0x80076b90
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.204758] [<8047ce10>] 0x8047ce10
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.208231] [<80032ab4>] 0x80032ab4
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.211701] [<802491cc>] 0x802491cc
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.215173] [<8000b4e8>] 0x8000b4e8
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.218640]
Wed Aug 22 19:36:38 2018 kern.warn kernel: [66341.220211] ---[ end trace 63acbd6915f4de90 ]---
Wed Aug 22 19:36:38 2018 kern.err kernel: [66341.224830] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Aug 22 19:36:38 2018 kern.info kernel: [66341.231016] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
Wed Aug 22 19:36:38 2018 kern.info kernel: [66341.237044] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eaa0000, max=0, ctx=3035, dtx=3035, fdx=3034, next=3035
Wed Aug 22 19:36:38 2018 kern.info kernel: [66341.247901] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e240000, max=0, calc=3606, drx=3607
Wed Aug 22 19:36:39 2018 daemon.err odhcp6c[3176]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Aug 22 19:36:40 2018 kern.info kernel: [66343.115310] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Wed Aug 22 19:36:40 2018 kern.info kernel: [66343.128179] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Aug 22 19:36:40 2018 daemon.notice netifd: Interface 'wan' has lost the connection
Wed Aug 22 19:36:40 2018 daemon.notice netifd: Interface 'wan_6' is disabled

Thank you for hard support. Installed Padavan and using without any problem. I will recommend it to my friends too, avoid OpenWRT far far away...

A post was split to a new topic: Xiaomi MI WIFI Router 3G - How to get from OpenWrt to Padavan