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

Hi, I created the Luci application for the 3ginfo project

luci-app-3ginfo is a GUI for 3ginfo application/project https://eko.one.pl/?p=openwrt-3ginfo

Works with mPCI-E and USB 3G/LTE modems.

Preview (modem Quectel EM12-G)


Enlarge the page to see the movie with better quality. (CTRL +)


luci-app-3ginfo_1.3.3_all.ipk
3ginfo-text_20190418_all.ipk
3ginfo-qmisignal_20190418_all.ipk
or
https://github.com/4IceG/luci-app-3ginfo

Other useful packages for mobile internet:

12 Likes

hello,
I had a look at your app and I tried to install. qmisignal works fine, but I don't find any luci-app-3ginfo package to download around your link.
Was I wrong?

thanks
Graziano

Hi, the package is of course downloadable.


https://github.com/4IceG/luci-app-3ginfo/releases/download/1.3/luci-app-3ginfo_1.3_all.ipk
1 Like

thank you,
sorry I'm still not used to git :slight_smile:

I take the chance to ask you for assistance about following problems I encountered using qmi-signal:

  1. It causes some trouble with web interface, Luci hangs constantly and always goes on time out; terminal console is not affected, so I was able to remove the package and go back to normal behaviour.

  2. another issue (always qmi-signal) is a lock conflict with a tiny script of mine who perform uqmi -d /dev/cdc-wdm0 --get-current-settings every 5 seconds (I need to check "out of call" status); PS command shows 4 or more uqmi running tasks.
    With my script not running, I keep qmi-signal running: after some time it hangs. I close the qmi-signal tab, but the console PS command shows again a lot of uqmi running tasks.

I've just installed latest OpenWrt version and the minimum necessary to use QMI interface and luci-app-qmi.

Thank you in advance
Graz

hi again,
after installing the package I click to "configuration" tab and I get this message:

/usr/lib/lua/luci/dispatcher.lua:1334: module 'luci.cbi' not found:
	no field package.preload['luci.cbi']
	no file './luci/cbi.lua'
	no file '/usr/share/lua/luci/cbi.lua'
	no file '/usr/share/lua/luci/cbi/init.lua'
	no file '/usr/lib/lua/luci/cbi.lua'
	no file '/usr/lib/lua/luci/cbi/init.lua'
	no file './luci/cbi.so'
	no file '/usr/lib/lua/luci/cbi.so'
	no file '/usr/lib/lua/loadall.so'
	no file './luci.so'
	no file '/usr/lib/lua/luci.so'
	no file '/usr/lib/lua/loadall.so'
stack traceback:
	[C]: in function 'require'
	/usr/lib/lua/luci/dispatcher.lua:1334: in function '_cbi'
	/usr/lib/lua/luci/dispatcher.lua:1023: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:478: in function </usr/lib/lua/luci/dispatcher.lua:477>

what is wrong?

Ok I found the solution,
I installed luci-compat package and now all works fine

2 Likes

Add luci-compat to depends in 1.3.1 version.

Hi @IceG , is there any source for the text version ? i found this warning when adding it in build system

WARNING: Makefile 'package/luci-app-3ginfo/luci-app-3ginfo/Makefile' has a dependency on '3ginfo-text', which does not exist

Hi @zackytravis , just extract 3ginfo.tar.gz to the package folder "package/3ginfo" and the error should disappear.

@IceG could post links to download the .ipk files directly instead of the source code, please? Looking for the sms-tool, please. I got from your github the luci-app-sms-tool but it fails to install with the following error:

root@OpenWrt_alix: ~/3G_INFO $ opkg install luci-app-sms-tool_1.8.7_all.ipk
Installing luci-app-sms-tool (1.8.7) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-sms-tool:
 *      sms-tool
 * opkg_install_cmd: Cannot install package luci-app-sms-tool.
root@OpenWrt_alix: ~/3G_INFO $

and sms-tool cannot be found in the Openwrt's repo

root@OpenWrt_alix: ~/3G_INFO $ opkg install sms-tool
Unknown package 'sms-tool'.
Collected errors:
 * opkg_install_cmd: Cannot install package sms-tool.
root@OpenWrt_alix: ~/3G_INFO $

Hi @atux_null
sms-tool is not in the repo and needs to be compiled for the target architecture. What router do you need a package for?

Alix 2D13 (pcengines).

@atux_null download the package and try to install it.
sms-tool_2021-02-16

Thanks for the file, but it is wrong architecture. I am 32bits

root@OpenWrt_alix: ~ $ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 10
model name      : Geode(TM) Integrated Processor by AMD PCS
stepping        : 2
cpu MHz         : 498.013
cache size      : 128 KB
fdiv_bug        : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext 3dnowext 3dnow cpuid 3dnowprefetch vmmcall
bugs            : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
bogomips        : 996.02
clflush size    : 32
cache_alignment : 32
address sizes   : 32 bits physical, 32 bits virtual
power management:

root@OpenWrt_alix: ~ $

@atux_null But have you tried to install the package? x86 means 32bits. If I succeed, I will try to compile the package later.

I tried and it failed due to different architecture

root@OpenWrt_alix: ~/3G_INFO $ opkg install sms-tool_2021-02-16-55e5946f
-1_x86_64.ipk
Unknown package 'sms-tool'.
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for sms-tool found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package sms-tool.
root@OpenWrt_alix: ~/3G_INFO $

Ok, I'll try to compile a package for this architecture, but I promise nothing.

@atux_null download the package and try to install it.
sms-tool_2021-02-16

thanks for the help, but still it fails.

root@OpenWrt_alix: ~/3G_INFO $ opkg install sms-tool_2021-02-16-55e5946f-1_i386_pentium-mmx.ipk
Unknown package 'sms-tool'.
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for sms-tool found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package sms-tool.
root@OpenWrt_alix: ~/3G_INFO $

could you tell me how to compile it please for:

root@OpenWrt_alix: ~/3G_INFO $ cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07.7'
DISTRIB_REVISION='r11306-c4a6851c72'
DISTRIB_TARGET='x86/geode'
DISTRIB_ARCH='i386_pentium'
DISTRIB_DESCRIPTION='OpenWrt 19.07.7 r11306-c4a6851c72'
DISTRIB_TAINTS=''
root@OpenWrt_alix: ~/3G_INFO $ cat /etc/openwrt_version
r11306-c4a6851c72
root@OpenWrt_alix: ~/3G_INFO $

I can see that there is still something ...
I see that you have the release on 19.07.7, I compiled for the master, I chose the hardware well, but I see that something else needs to be changed to make it work.

@atux_null Where did you install the image from?

I will not explain how to compile here because there is too much writing. You have to look for the guides / instructions yourself.