openwrt/package/network/utils/comgt/files
Szabolcs Hubai dbd6ebd6d8 comgt: ncm: support Mikrotik R11e-LTE6 modem
The Mikrotik R11e-LTE6 modem is similar to ZTE MF286R modem, added
earlier: it has a Marvel chip, able to work in ACM+RNDIS mode, knows ZTE
specific commands, runs OpenWrt Barrier Breaker fork.
While the modem is able to offer IPv6 address, the RNDIS setup is unable
to complete if there is an IPv6 adress.

While it works in ACM+RNDIS mode, the user experience isn't as good as
with "proto 3g": the modem happily serves a local IP (192.168.1.xxx)
without internet access. Of course, if the modem has enough time
(for example at the second dialup), it will serve a public IP.

Modifing the DHCP Lease (to a short interval before connect and back to
default while finalizing) is a workaround to get a public IP at the
first try.

A safe workaround for this is to excercise an offline script of the
pingcheck program: simply restart (ifdown - ifup) the connection.

Another pitfall is that the modem writes a few messages at startup,
which confuses the manufacturer detection algorithm and got disabled.

    daemon.notice netifd: Interface 'mikrotik' is setting up now
    daemon.notice netifd: mikrotik (2366): Failed to parse message data
    daemon.notice netifd: mikrotik (2366): WARNING: Variable 'ok' does not exist or is not an array/object
    daemon.notice netifd: mikrotik (2366): Unsupported modem
    daemon.notice netifd: mikrotik (2426): Stopping network mikrotik
    daemon.notice netifd: mikrotik (2426): Failed to parse message data
    daemon.notice netifd: mikrotik (2426): WARNING: Variable '*simdetec:1,sim' does not exist or is not an array/object
    daemon.notice netifd: mikrotik (2426): Unsupported modem
    daemon.notice netifd: Interface 'mikrotik' is now down

A workaround for this is to use the "delay" option in the interface
configuration.

I want to thank Forum members dchard (in topic Adding support for
MikroTik hAP ac3 LTE6 kit (D53GR_5HacD2HnD)) [1]
and mrhaav (in topic OpenWrt X86_64 + Mikrotik R11e-LTE6) [2]
for sharing their experiments and works.
Another information page was found at eko.one.pl [3].

[1]: https://forum.openwrt.org/t/137555
[2]: https://forum.openwrt.org/t/151743
[3]: https://eko.one.pl/?p=modem-r11elte

Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
2023-03-29 17:29:02 +02:00
..
3g.chat comgt: add support for defining dial number in config file 2014-06-02 12:45:09 +00:00
3g.sh comgt: add quirk for Mikrotik modems based on Mikrotik R11e-LTE6 2023-03-29 17:29:02 +02:00
3g.usb package/comgt: Handle bind/unbind events 2021-07-02 11:09:57 +02:00
directip-stop.gcom comgt: add directip proto 2014-09-11 12:26:31 +00:00
directip.gcom comgt: fix misplaced : in directip setup script 2014-09-24 08:07:40 +00:00
directip.sh treewide: fix shellscript syntax errors/typos 2017-09-13 08:07:54 +02:00
evdo.chat packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
getcardinfo.gcom comgt-ncm: Add support for specifying profile index 2016-12-14 10:37:01 +01:00
getcarrier.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
getcnum.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
getimsi.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
getstrength.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
ncm.json comgt: ncm: support Mikrotik R11e-LTE6 modem 2023-03-29 17:29:02 +02:00
ncm.sh ncm: add error check and retry mechanism for gcom call 2023-03-28 14:19:33 +02:00
runcommand.gcom comgt: increase timeout on runcommands 2018-08-29 08:34:10 +02:00
setmode.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
setpin.gcom comgt-3g: enable modem before to setpin 2017-05-18 07:07:00 +02:00
ussd.gcom comgt: add new script to send ussd request and get the answer 2020-07-08 16:07:05 +02:00