Dear developers, The router is positioned as a mobile travel device. This assumes that the router will often be used with an LTE modem. However, the proprietary interface in its current state will not allow you to do this! He’s not ready for this …
I ask you to configure your proprietary web interface to configure network interfaces for LTE modems using the QMI protocol.
All required packages are available in Openwrt.
Here is a brief instruction for configuring the network interface for LTE modems using the QMI protocol via an SSH terminal:
In /etc/opkg.conf comment out the option check_signature line
In /etc/opkg/customfeeds.conf add
src / gz 132lan_luci http://openwrt.132lan.ru/packages/packages-19.07/luci
src / gz 132lan_app http://openwrt.132lan.ru/packages/packages-19.07/mipsel_24kc/packages
Required packages for work:
opkg update && opkg install kmod-usb-serial-option minicom usbutils uqmi (or modemmanager - I prefer it for displaying the choice of LTE bands).
For LuCi, you can still install the luci-proto-qmi package or luci-proto-modemmanager
Can be done via ssh or LuCi, there is no difference.
opkg update && opkg install luci-app-modeminfo luci-app-smstools3 luci-app-atinout luci-app-mmconfig
For the Russian language, still put:
opkg install luci-i18n-modeminfo-ru luci-i18n-smstools3-ru luci-i18n-atinout-ru luci-i18n-mmconfig-ru
For other languages, install the appropriate package.
We reboot the device.
We establish that the modem is detected in the device
Log in to the device again and issue commands in the SSH terminal:
lsusb && ls / dev / cdc- *
in response, you should see, among other things:
/ dev / cdc-wdm0
Connection to a mobile operator.
Turn off the device, insert the SIM card, turn on the device.
If you installed the uqmi package:
Log into the router via SSH and edit / etc / config / network adding the following network interface to it:
config interface ‘wwan’ (or LTE or whatever)
option device ‘/ dev / cdc-wdm0’
option proto ‘qmi’
option delay ‘30’
option delegate ‘0’
If you installed the modemmanager package:
config interface ‘LTE’
option proto ‘modemmanager’
option iptype ‘ipv4v6’
option auth ‘none’
option signalrate ‘30’
option device ‘/sys/devices/platform/1e1c0000.xhci/usb2/2-1/2-1.3’ (or another value that matches your modem)
The same manipulations can be done through the Luci web interface.
The connection is configured, add the wwan interface (or whatever you call it) to the WAN zone in the firewall of the device and enjoy the mobile internet. Execute reload_config or reboot the device.
You can verify that the interface is up and configured.
: ~ # ifconfig
wwan0 Link encap: UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr: 10.71.86.16 P-t-P: 10.71.86.16 Mask: 255.255.255.224
inet6 addr: fe80 :: 2754: fc8a: c9c6: 2ae4 / 64 Scope: Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU: 1500 Metric: 1
RX packets: 25726 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 31289 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 1000
Then you can configure all the necessary parameters for your LTE modem in the “Modem” tab.
All this works fine in Luci, but it does not work at all in the proprietary web interface. Implement this and there will be happiness for many users!