[Bug][Reproducer][21.02.1] TP-Link MR6400 Modem WebIF not enabling

Hi,

I've installed the original stable 21.02.1 firmware from the OpenWrt download site. I tried to get the modem's web interface at:

and TIMEOUT. Searching through the forum, I'd learnt, the script

  • /etc/init.d/adb-enablemodem

does the WebIF enabling on boot. That's where I found a bug in the script. With the script like it is shipped by the 21.02.1 stable firmware image, I get the following error when trying to run

/etc/init.d/adb-enablemodem start

Thu Jan 27 12:18:01 2022 user.notice adb-enablemodem: ERROR: unknown device 2357:000D

The script has a typo, here's how to correct it. Replace the line

"0x2357:0x000D") # TP-LINK LTE MODULE

by

"2357:000D") # TP-LINK LTE MODULE

(removing the "0x" two times). Now the script works correctly. logread -f confirms that by:

Thu Jan 27 12:20:17 2022 user.notice adb-enablemodem: INFO: waiting for device
Thu Jan 27 12:20:17 2022 user.notice adb-enablemodem: INFO: httpd on modem started
Thu Jan 27 12:20:17 2022 kern.info kernel: [ 3941.663888] option 1-1:1.2: GSM modem (1-port) converter detected
Thu Jan 27 12:20:17 2022 kern.info kernel: [ 3941.670908] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2

I hope some dev can correct the script, so it will be bundled correct in the next OpenWrt release :-).

Thank you.
Kind regards.

ref # TL MR6400 running LEDE the DMZ from LTE module won’t work properly and incoming connections are never made - #14 by scolas
because @scolas had the same problem accessing the modem's web interface. I suspect it wasn't running due to the above mentioned bug.

2 Likes