LuCI APP: luci-app-3ginfo - 3ginfo gui (Info about 3G/LTE connection)

I got the image from the official openwrt repo https://downloads.openwrt.org/releases/19.07.7/targets/x86/geode/openwrt-19.07.7-x86-geode-combined-ext4.img.gz

Ok, my last try. geode

@IceG thanks a lot. it installed fine

1 Like

signal band locking is available?

I'm sorry, but 3ginfo does not show such data. You have to read / set the preferred bands by yourself using AT commands.

1 Like

Hi IceG! I use ModemManager in mbim mode, I need to install only luci-app-3ginfo, 3ginfo-text and luci-compat?

Hi @TonyB_IT , I have never used ModemManager, I don't know how it works, but this is the best way to install:

#Modem drivers are required for proper operation.
opkg install kmod-usb-serial kmod-usb-serial-option luci-compat

#Install 3ginfo text version.
opkg install 3ginfo-text_20190418_all.ipk

#Install this package for qmi modems.
opkg install 3ginfo-qmisignal_20190418_all.ipk

#Install gui.
opkg install luci-app-3ginfo_1.3.3_all.ipk
1 Like

If someone uses the sms-tool / luci-app-sms-tool, he can also take a look at this package.


Link to github:
luci-app-3ginfo-lite

1 Like

Hi I'm guessing your packages are not in the master OpenWrt repo yet is this on the cards ?

Hi @professor_jonny , yes the package is not available in repo master (I don't know if it will ever be, I'm not the maintainer of the package, I just made some support for Luci). But it should still be compatible.

I had a look at your repo and all the packages there are real handy for 3g/4g modems.

I'm sort of new to openwrt and how it works if I copy your source into /src/external/ then update my feeds.conf to point there will it build ?

src-link 4ice /src/external

I'm guessing to make it more automated I can just add the git address to my feeds.conf something like below?

src-git 4ice https://github.com/4IceG/luci-app-atinout-mod.git

Im just not sure how to add them all into the same menuconfig item/list like what the official package's do im guessing i add a feed for each of your packages like so or do i have to name each one individually?

src-git 4ice https://github.com/4IceG/luci-app-atinout-mod.git
src-git 4ice https://github.com/4IceG/luci-app-3ginfo-lite.git

There are two ways to add packages from the Openwrt source folder:

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

ok I built the 3ginfo package and ran it in my build but i dont get any info do you have any idea why?

I also built and installed the sms tool that seems to work just not the 3ginfo package.

I have all the dependancys do i have to start a script from command or something ?

Hi, @professor_jonny

Now it's hard for me to say why it doesn't work. I do not know what modem the information should be obtained from, whether it shows something or nothing at all.

I'd start by installing the 3ginfo package at the top of the page (not the luci-app-3ginfo-lite version), it's more universal.

Then use the "3ginfo" command to check if any data is read.

If the sms-tool works, then 3ginfo should also work on the same ttyUSB ports. Maybe you just need to correct the WAN name?

Do you plan to add to the OpenWrt repository? They ask that JS be used.

Hi @castillofrancodamian

I am not the creator/maintainer of 3ginfo/sms-tool packages, so I will not decide whether they will go to the repo or not.

I missed LuCI support for SMS and data from modems, so I added packages as I could and shared my work.

Sorry, but I don't understand "They ask that JS be used."?

The luci-app-3ginfo-lite package supports the new LuCI JS (I use it in my images because it supports newer modems).
The luci-app-3ginfo package was not rewritten to LuCI JS.

You can upload the package even if you are not the maintainer. I don't know what the packages are written in, that's why I talked about OpenWrt only accepting JS in case you plan to upload and they haven't been transcribed to JS yet.

My wan name is correct and I am using the same ttyUSB ports as sms-tool.

My modem is using modem manager and it is a EP06 modem in QMI mode.

it should work but i dont see any thing in the kernel log is there a debug config setting?

@professor_jonny Install the packages 3ginfo-text_20190418_all.ipk and 3ginfo-qmisignal_20190418_all.ipk and show the result of the command "3ginfo".

I don't use Modem Menager, so I don't know how much it interferes with modem access.

I don't mind, if someone has the knowledge and skills, please try with adding the package to the repo.
Always more users means better support, development of the package.