Tp-link MR3420v5 and jiofi 6 (JMR 815) support

hi so last time i used R00ter firmware for my mr3420v5 (http://ofmodemsandmen.com/download/GoldenOrb/8meg/mr3420v5-GO2020-03-01.zip)
It enabled the internet for JMR815 but it did not hold configuration files as i needed for my dhcp server.
Now after hours of fiddling i manged to work both DHCP config and Access internet via JMR815
i am writing this because i want to give back something to this wonderful community. I will try to be detailed as possible

**

Steps:-

**
[1]. Flash openwrt firmware to your router at this time latest is this (http://downloads.openwrt.org/releases/19.07.2/targets/ramips/mt76x8/openwrt-19.07.2-ramips-mt76x8-tplink_tl-mr3420-v5-squashfs-tftp-recovery.bin) [

*MR3420v5 only supports flashing via tftp server details are here:
    1. Configure PC with static IP 192.168.0.225/24 and tftp server.
     2. Rename `…squashfs-tftp-recovery.bin` to `tp_recovery.bin` and place it in the tftp server     directory.

      3. Connect PC with one of LAN ports, press the reset button, power up the router and keep button pressed for around 6-7 seconds, until device starts downloading the file.

      4. Router will download file from server, write it to flash and reboot.

Note: turn off PC firewall if you cannot flash firmware and do not connect jmr815

[2] After flashing and configuring basics now log into ssh via putty or similar
and enter this

opkg update
opkg install kmod-usb-net-rndis usb-modeswitch

*now connect the jmr815 via usb to router (i use it without battery and nowifi)
type dmesg | grep usb and at the end it should come like this

[34882.065403] usb 2-1: new full-speed USB device number 2 using ohci-platform
[34882.348169] usb 2-1: not running at top speed; connect to a high speed hub
[34882.396327] cdc_ether 2-1:1.0 eth1: register 'cdc_ether' at usb-101c1000.ohci -1, CDC Ethernet Device, 00:12:bd:03:b6:10

we simply need the name at which this is running if youare using same jiofi6 chances are it would be eth1 as i have up here if, however it does not show this goto bottom for trouble shooting

now we need to check this ifconfig eth1

root@OpenWrt:~# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:12:BD:03:B6:10
inet addr:192.168.15.160 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::212:bdff:fe03:b610/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:64116 errors:0 dropped:0 overruns:0 frame:0
TX packets:43378 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68313918 (65.1 MiB) TX bytes:4969304 (4.7 MiB)


* restart  network subsystem  `/etc/init.d/network restart`
* By now you should have internet on your pc

[3] now goto http://192.168.1.1/cgi-bin/luci/admin/network/network and edit the WAN interface>physical settings>interface select eth1 and hit save> save and apply

Congratulations, now you have working internet on mr3420v5

> Troubleshooting:

  1. I used this guide feel free to check this out : https://openwrt.org/docs/guide-user/network/wan/wwan/ethernetoverusb_rndis
  2. if dmesg | grep usb doesnot give anything try dmesg | grep rndis
root@OpenWrt:~# dmesg | grep rndis
[   12.221803] usbcore: registered new interface driver rndis_host
  1. at the moment this is all i have

Thanks for reading

Hello naruto7053,
Currently, i am using MR3450V5 with Jiofi2 M2S which have a maximum speed of 22Mbs and upload speed of 8Mbs(in website netspeed). But after connecting to MR3420 with Openwrt I am getting around 8Mbs up and 3Mbs down. Is there hardware limitation or how it is?. How much speed you are getting using this configuration.