mirror of
https://github.com/4IceG/luci-app-3ginfo.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #4] not working in 21.02-rc2 #4
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/luci-app-3ginfo#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @luckydevil13 on GitHub (Jun 8, 2021).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo/issues/4
@4IceG commented on GitHub (Jun 8, 2021):
@luckydevil13 I don't know how you install the package, but weird, it should install without any problems. If the package still fails to install, you can just manually copy the package files to your router.
@luckydevil13 commented on GitHub (Jun 8, 2021):
@4IceG I'm on openwrt 21.02 rc2
opkg update
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/21.02.0-rc2/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install luci-app-3ginfo
Unknown package 'luci-app-3ginfo'.
Collected errors:
@luckydevil13 commented on GitHub (Jun 8, 2021):
root@OpenWrt:~# cd /tmp
root@OpenWrt:/tmp# wget https://github.com/4IceG/luci-app-3ginfo/releases/download/1.3.3/3ginfo-text_20190418_all.ipk -O 1.ipk
Downloading 'https://github.com/4IceG/luci-app-3ginfo/releases/download/1.3.3/3ginfo-text_20190418_all.ipk'
Connecting to 140.82.121.3:443
Redirected to /239538540/c6bac680-b99f-11eb-8ae0-a03792fef134?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210608%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210608T184632Z&X-Amz-Expires=300&X-Amz-Signature=a768a21ca9aba2e5e73d6c0f7878244b6be60fd9512426d7a2081aff8b01ff1c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=239538540&response-content-disposition=attachment%3B%20filename%3D3ginfo-text_20190418_all.ipk&response-content-type=application%2Foctet-stream on github-releases.githubusercontent.com
Writing to '1.ipk'
1.ipk 100% || 10233 0:00:00 ETA
Download completed (10233 bytes)
root@OpenWrt:/tmp# https://github.com/4IceG/luci-app-3ginfo/releases/download/1^C.3/luci-app-3ginfo_1.3.3_all.ipk
root@OpenWrt:/tmp# wget https://github.com/4IceG/luci-app-3ginfo/releases/download/1.3.3/luci-app-3ginfo_1.3.3_all.ipk -O 2.ipk
Downloading 'https://github.com/4IceG/luci-app-3ginfo/releases/download/1.3.3/luci-app-3ginfo_1.3.3_all.ipk'
Connecting to 140.82.121.3:443
Redirected to /239538540/ca153000-b6c9-11eb-90d6-5c7d419009dd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210608%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210608T184659Z&X-Amz-Expires=300&X-Amz-Signature=71233a6acb82db6c405694926ced65a458a6f93650ce58be9e5010c602ee9c9c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=239538540&response-content-disposition=attachment%3B%20filename%3Dluci-app-3ginfo_1.3.3_all.ipk&response-content-type=application%2Foctet-stream on github-releases.githubusercontent.com
Writing to '2.ipk'
2.ipk 100% || 63419 0:00:00 ETA
Download completed (63419 bytes)
root@OpenWrt:/tmp# opkg install 1.ipk
Installing 3ginfo-text (20190418) to root...
Configuring 3ginfo-text.
ln: /usr/bin/3ginfo: File exists
root@OpenWrt:/tmp# opkg install 2.ipk
Installing luci-app-3ginfo (1.3.3) to root...
Configuring luci-app-3ginfo.
root@OpenWrt:/tmp# /etc/init.d/
boot dnsmasq firewall log odhcpd sysctl system umount usbmode
bootcount done gpio_switch miniupnpd rpcd sysfixtime ucitrack urandom_seed wpad
cron dropbear led network set-irq-affinity sysntpd uhttpd urngd
root@OpenWrt:/tmp# find / -name 3gi
root@OpenWrt:/tmp# find / -name 3gi*.*
/overlay/upper/usr/lib/lua/luci/controller/modem/3ginfo.lua
/overlay/upper/usr/lib/opkg/info/3ginfo-text.postinst-pkg
/overlay/upper/usr/lib/opkg/info/3ginfo-text.postinst
/overlay/upper/usr/lib/opkg/info/3ginfo-text.prerm
/overlay/upper/usr/lib/opkg/info/3ginfo-text.conffiles
/overlay/upper/usr/lib/opkg/info/3ginfo-text.control
/overlay/upper/usr/lib/opkg/info/3ginfo-text.list
/overlay/upper/usr/share/3ginfo/cgi-bin/3ginfo.sh
/overlay/upper/usr/share/3ginfo/scripts/3ginfo.gcom
/overlay/upper/www/luci-static/resources/icons/3ginfo-0-20.png
/overlay/upper/www/luci-static/resources/icons/3ginfo-0.png
/overlay/upper/www/luci-static/resources/icons/3ginfo-40-60.png
/overlay/upper/www/luci-static/resources/icons/3ginfo-20-40.png
/overlay/upper/www/luci-static/resources/icons/3ginfo-80-100.png
/overlay/upper/www/luci-static/resources/icons/3ginfo-60-80.png
/usr/lib/lua/luci/controller/modem/3ginfo.lua
/usr/lib/opkg/info/3ginfo-text.postinst-pkg
/usr/lib/opkg/info/3ginfo-text.postinst
/usr/lib/opkg/info/3ginfo-text.prerm
/usr/lib/opkg/info/3ginfo-text.conffiles
/usr/lib/opkg/info/3ginfo-text.control
/usr/lib/opkg/info/3ginfo-text.list
/usr/share/3ginfo/cgi-bin/3ginfo.sh
/usr/share/3ginfo/scripts/3ginfo.gcom
/www/luci-static/resources/icons/3ginfo-0-20.png
/www/luci-static/resources/icons/3ginfo-0.png
/www/luci-static/resources/icons/3ginfo-40-60.png
/www/luci-static/resources/icons/3ginfo-20-40.png
/www/luci-static/resources/icons/3ginfo-80-100.png
/www/luci-static/resources/icons/3ginfo-60-80.png
root@OpenWrt:/tmp# 3ginfo
Nie wykryto żadnego urządzenia!
root@OpenWrt:/tmp# 3ginfo
Status: Połączony
Czas polaczenia: 0d, 02:57:26
Przeslano danych: 7.3 GiB / 97.5 MiB
Operator: -
Tryb pracy: LTE
Sila sygnalu: 77%
Urzadzenie: huawei E3276
MCC MNC: 257 01
LAC: 00CC (204)
CID: 0ABF4434 (180306996)
TAC: 00CC (204)
CSQ: 24
RSSI: -65 dBm
RSCP: -145 dBm
Ec/IO: -32 dB
RSRP: -94 dBm
SINR: 3 dB
RSRQ: -11 dB
but no see web gui
@4IceG commented on GitHub (Jun 9, 2021):
@luckydevil13 I use MASTER 21.02 myself and everything works for me, I have no problems with the package. Maybe try to install it manually, download ipk files to your computer, then upload to tmp and install. If installed, remove the cache files for LuCi to refresh the menu. It is also advisable to clear the browser cache.
It should, has to work.
@4IceG commented on GitHub (Jun 9, 2021):
@luckydevil13 Alternatively, you can also try the https://github.com/koshev-msk/luci-app-modeminfo package.
@luckydevil13 commented on GitHub (Jun 9, 2021):
how could I check that service running?
I try to reset browser cache
@4IceG commented on GitHub (Jun 9, 2021):
@luckydevil13 I don't know exactly what you're asking .. but you showed earlier that 3ginfo itself works fine as an application. The application for LuCI must also work because it is "only scripts" showing the data.
Install again after downloading ipk to your computer and remember to clear the cache (rm / tmp / luci-indexcache * & rm / tmp / luci-modulecache / *) and log out of the router.
@luckydevil13 commented on GitHub (Jun 11, 2021):
rm / tmp / luci-indextcache helps