openwrt/package/network/utils
Szabolcs Hubai ff22a20922 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>
(cherry picked from commit dbd6ebd6d8)
2023-04-01 21:52:18 +02:00
..
adb-enablemodem Move enablemodem from ramips to new package adb-enablemodem and make it used also by TL-MR6400 2017-05-27 07:54:40 +02:00
arptables arptables: rename package to arptables-legacy 2022-03-19 16:13:58 +01:00
bpftools bpftools: fix library path on 64 bit systems 2022-03-19 13:29:15 +01:00
comgt comgt: ncm: support Mikrotik R11e-LTE6 modem 2023-04-01 21:52:18 +02:00
ebtables ebtables: rename to ebtables-legacy 2022-03-19 16:13:58 +01:00
ethtool ethtool: Update to version 5.16 2022-02-01 21:25:02 +01:00
iproute2 iproute2: Fix KERNEL_INCLUDE in SDK 2022-08-26 22:30:56 +02:00
ipset ipset: add backport patch for IPv6 nftables ipset-translation 2022-03-13 19:24:13 +01:00
iptables iptables: default to ip(6)tables-nft when using buildroot 2022-08-28 00:41:40 +02:00
iw mac80211: backport MBSSID/EMA support patches 2022-02-03 15:16:47 +01:00
iwcap iwcap: fix handling kill signal during dump 2017-03-14 13:29:03 +01:00
iwinfo iwinfo: update to latest Git HEAD 2022-12-19 15:32:55 +01:00
layerscape/restool layerscape: update PKG_HASH / PKG_MIRROR_HASH 2022-07-23 00:11:21 +02:00
linux-atm linux-atm: Include linux/sockios.h for SIOCGSTAMP 2020-04-09 00:12:46 +02:00
ltq-dsl-base ltq-dsl-base: Make package nonshared to fix image builder 2021-05-04 22:25:47 +02:00
nftables nftables: fix parsing date expressions 2022-08-25 10:30:46 +02:00
resolveip network/utils/resolveip: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
rssileds rssileds: use new application led trigger backend 2021-03-05 00:10:06 -10:00
tcpdump tcpdump: Fix CVE-2018-16301 2022-02-12 23:22:05 +01:00
umbim umbim: Allow roaming and partner connections 2022-12-15 00:42:54 +01:00
uqmi uqmi: update to git HEAD 2022-06-05 11:35:37 +01:00
wireguard-tools wireguard-tools: allow generating private_key 2022-02-08 12:52:14 +01:00
wireless-tools wireless-tools: add package CPE ID 2022-10-23 14:21:03 +02:00
wpan-tools wpan-tools: clean up Makefile 2019-04-06 19:14:06 +02:00
wwan wwan: replace backticks by $(...) 2020-05-13 19:01:23 +02:00