luci-app-3ginfo-lite
Luci-app-3ginfo-lite is fork from https://github.com/obsy/packages/tree/master/easyconfig/files/usr/share/easyconfig/modem
Luci-app-3ginfo-lite is a simplified version of the 3ginfo project. Works with mPCI-E/M.2 and USB 3G/LTE modems.
Luci-app-3ginfo-lite jest uproszczoną wersją projektu 3ginfo. Działa z modemami mPCI-E/M.2 oraz USB 3G/LTE.
Supported devices (tested devices):
- Fibocom L860-GL
- Mikrotik R11e-LTE6
- Quectel EM12/EM160R-GL
- Quectel EP06-E
- Quectel EC20/EC25
- Quectel EC200T
- Quectel RG502Q
- Quectel RM520N-GL
- ZTE MF821
- ZTE MF286/MF286A/MF289F HW AT2
- ZTE MF286D/MF289F HW AT1
- ZTE MF286R (Modem comes in several versions, not all work stably)
- Huawei E3372/E3276
- Huawei E3276 HiLink
- Huawei E5786 (mobile-wifi / HiLink)
- Sierra AirCard 320U
- Sierra Wireless EM7455
- Telit Ln940 / HP lt4220
Not tested devices (Not all data can be shown and scripts need to be corrected):
- Fibocom FM150-AE
- Sierra Wireless MC7710
- Sierra Wireless EM9190
- ASKEY WWHC050
- BroadMobi BM806U
- Mikrotik R11e-LTE
- HiLink modems (ZTE / Alcatel)
What You Should Know / Co powinieneś wiedzieć
My package will not work if you are using ModemManager.
Mój pakiet nie będzie działać jeżeli uzywasz ModemManager-a.
Installation / Instalacja
Pokaż | Show me
Package dependencies for conventional modems.
Modem drivers are required for proper operation.
opkg install kmod-usb-serial kmod-usb-serial-option sms-tool
Package dependencies for HiLink modems.
opkg install wget-nossl sms-tool
The sms-tool package is available in the OpenWrt Master repository.
Step 1a. Install sms-tool from Master (Only the current snapshot image).
opkg update
opkg install sms-tool
Step 1b. Download the sms-tool package and install manualy (For older stable version images).
To install the sms-tool package, we need to know the architecture name for router.
Pokaż jak znaleźć architekturę routera | Show how to find a router architecture.
For example, we are looking for sms-tool for Zbtlink router ZBT-WE3526.
Step 1.
We go to the page and enter the name of our router.
https://firmware-selector.openwrt.org/
Step 2.
Click on the folder icon and go to the image download page.
It should take us to a page
https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/
Step 3.
Then go into the "packages" folder at the bottom of the page.
https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/
We check what the architecture name is for our router. All packets have names ending in mipsel_24kc.ipk, so the architecture we are looking for is mipsel_24kc.
Example of sms-tool installation using the command line.
In the link below, replace
*architecture*
with the architecture of your router, e.g. arm_cortex-a7_neon-vfpv4, mipsel_24kc.
wget https://downloads.openwrt.org/snapshots/packages/*architecture*/packages/sms-tool_2022-03-21-f07699ab-1_*architecture*.ipk -O /tmp/sms-tool_2022-03-21.ipk
opkg install /tmp/sms-tool_2022-03-21.ipk
Another way is to download the package manually.
To do this, we go to the page.
https://downloads.openwrt.org/snapshots/packages/
We choose our architecture, e.g. arm_cortex-a7_neon-vfpv4, mipsel_24kc.
https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/
Go to the "packages" folder.
https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/
Looking for "sms-tool_2022-03-21". We can use search by using Ctr + F and typing "sms-tool". Save the package to your computer for further installation on the router.
https://github.com/4IceG/Modem-extras) to the image and follow the commands.
Step 2. Add my repository (opkg update
opkg install luci-app-3ginfo-lite
For images downloaded from eko.one.pl. Installation procedure is similar, only there is no need to manually download the sms-tool package.
User compilation / Kompilacja przez użytkownika
Pokaż | Show me
#The package can be added to Openwrt sources in two ways:
cd feeds/luci/applications/
git clone https://github.com/4IceG/luci-app-3ginfo-lite.git
cd ../../..
./scripts feeds update -a; ./scripts/feeds install -a
make menuconfig
or e.g.
cd packages/
git clone https://github.com/4IceG/luci-app-3ginfo-lite.git
git pull
make package/symlinks
make menuconfig
#You may need to correct the file paths and the number of folders to look like this:
feeds/luci/applications/luci-app-3ginfo-lite/Makefile
or
packages/luci-app-3ginfo-lite/Makefile
#Then you can compile the packages one by one, an example command:
make V=s -j1 feeds/luci/applications/luci-app-3ginfo-lite/compile