immortalwrt/package/network/utils
Szabolcs Hubai 9c081a938f
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-02 18:58:10 +08: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 treewide: switch git.netfilter.org to HTTPS 2017-10-08 21:10:36 +03:00
bpftools bpftools: fix feature override for masking clang 2022-04-11 22:51:57 +02:00
comgt comgt: ncm: support Mikrotik R11e-LTE6 modem 2023-04-02 18:58:10 +08:00
dante dante: Fix compile with glibc 2020-04-18 21:06:45 +02:00
ebtables ebtables: update to latest git 2018-06-27 2018-07-02 17:33:55 +02:00
ethtool ethtool: update to version 5.10 2020-12-26 20:39:25 +01:00
fast-classifier shortcut-fe: fix build with IPv6 2022-11-26 21:38:47 +08:00
fullconenat fullconenat: move to network 2022-04-09 23:12:30 +08:00
iproute2 Merge Official Source 2021-11-05 14:07:31 +08:00
ipset build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 12:27:56 +01:00
iptables Merge Official Source 2023-01-07 16:35:05 +08:00
iw iw: bump to 5.19 2022-09-10 09:26:19 +08:00
iwcap iwcap: fix handling kill signal during dump 2017-03-14 13:29:03 +01:00
iwinfo iwinfo: update to latest HEAD 2022-11-12 21:06:50 +01:00
layerscape/restool treewide: Mark packages nonshared if they depend on @TARGET_ 2021-05-24 00:39:26 +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:29:38 +02:00
nftables nftables: Activate link time optimization (LTO) 2020-09-06 20:30:18 +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: update maintainer email address 2020-09-10 02:58:30 +01:00
shortcut-fe shortcut-fe: fix install header files 2022-12-01 19:25:07 +08:00
tcpdump tcpdump: Fix CVE-2018-16301 2022-02-13 00:23:30 +01:00
umbim Merge Official Source 2021-06-14 21:18:51 +08:00
uqmi uqmi: fix network registration loop 2021-05-11 19:56:20 +02:00
wireguard-tools wireguard-tools: update to v1.0.20210914 2022-09-04 12:02:32 +08:00
wireless-tools build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 12:27:56 +01: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