TP-Link TL-MR6400 v2 LTE Module Web Page Access

Hi everyone,
I'd like to ask for help with a problem with my router.
After years of honorable service with the router, I decided to install OpenWrt.
My router is a TP-Link TL-MR6400 v.2.
I know it's not in the supported hardware list.
However, after careful research, I found that the hardware in version 1 is identical to version 2.
I installed OpenWrt without any problems, and everything works perfectly, even the LTE module.
The LTE module was recognized upon installation and connects to the 4G network without any problems. The internet and Wi-Fi connections are very stable, better than with the original firmware.
I've found just one problem:
I can't access the LTE module's web page at all.
I repeat, the LTE module works perfectly.
The address 192.168.0.1 is unreachable, either via cable or Wi-Fi.
I also tried modifying the interfaces and connections in OpenWrt, but nothing worked.
I think the difference between ver. 1 and ver. 2 is access to the LTE module web page.
Does anyone have any additional information on this?
Any suggestions are welcome.
Thanks.

You probably need to create a unique interface with an @ device in order to get this to work. If you search the forums for modem access behind a PPPoE router, you'll see a bunch of examples.

Thanks for the reply.
I'll try this solution.
What I'd like to know is that the LTE module is recognized as a USB to Ethernet adapter. Do you think forcing it to work as PPPoE would work?

No, not unless your service requires pope.

PPPoE was part of the search term, not actually needed in your case.

Check your system log, post the output of cat /sys/kernel/debug/usb/devices

I'll do it as soon as I can, thanks.

See if it is enabled on the modem (assuming "that the hardware in version 1 is identical to version 2")

How can I check? With the ssh connection and the adb-enable-modem command, everything seems to be enabled, in Luci interface too. Are there any other adb commands I can use?
Or i have to try with LEDE? Now i install the last OpenWrt firmware.

... is dead and buried since 10 years.

if you want to play in the dark, by yourself, go for it.

Yes, i know... :face_savoring_food:

Hi AndrewZ,

This is the log that you ask me.

Add some info, if i try to connect via ssh to modem, i have this message...

"ssh: connect to host 192.168.0.1 port 22: Connection refused"


root@OpenWrt:~# cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 6.12
S: Manufacturer=Linux 6.12.85 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=1b000000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=2357 ProdID=000d Rev= 3.18
S: Manufacturer=TP-Link Technologies Co., Ltd.
S: Product=MR6400
S: SerialNumber=63d49862
C:* #Ifs= 7 Cfg#= 1 Atr=a0 MxPwr=500mA
A: FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=03
I:* If#= 0 Alt= 0 #EPs= 1 Cls=e0(wlcon) Sub=01 Prot=03 Driver=rndis_host
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=32ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=usbfs
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=86(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=88(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
root@OpenWrt:~#


This is your "USB to Ethernet".

Now check the log if you want to see the associated OpenWrt interface. Here you can see where to look: https://openwrt.org/docs/guide-user/network/wan/wwan/ethernetoverusb_rndis#setting_up_rndis-based_dongles

First of all, do you see 192.168.0.x addresses anywhere on your router? What makes you to believe that your modem has an ssh server running?
Show the output of ip r

root@OpenWrt:~# ip r
default via 192.168.0.1 dev usb0 src 192.168.0.116
192.168.0.0/24 dev usb0 scope link src 192.168.0.116
192.168.1.0/24 dev br-lan scope link src 192.168.1.1
root@OpenWrt:~#

Great. Now if you want to test the modem web server from the router, run
curl http://192.168.0.1

Not works

root@OpenWrt:~# curl http://192.168.0.1
curl: (7) Failed to connect to 192.168.0.1 port 80 after 2 ms: Error
root@OpenWrt:~# curl http://192.168.0.1/24
curl: (7) Failed to connect to 192.168.0.1 port 80 after 2 ms: Error

Now back to square one - is web server enabled?
adb shell ps | grep httpd

root@OpenWrt:~# adb shell ps | grep httpd
root@OpenWrt:~# curl http://192.168.0.1
curl: (7) Failed to connect to 192.168.0.1 port 80 after 32 ms: Error

It's possible that the stock firmware get only data from modem and the modem itself haven't a web server?

when you wrote

it was assumed it worked before you installed openwrt ?