mirror of
https://github.com/iamromulan/quectel-rgmii-toolkit.git
synced 2026-04-25 06:35:52 +03:00
[GH-ISSUE #91] QuecManager minor issues #26
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/quectel-rgmii-toolkit#26
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 @pipe2null on GitHub (Nov 7, 2024).
Original GitHub issue: https://github.com/iamromulan/quectel-rgmii-toolkit/issues/91
Minor UI issues:
Nice to have's:
Loving QuecManager so far, thanks!
@dr-dolomite commented on GitHub (Nov 7, 2024):
For the traffic statistics, currently theres no way we can get the accurate stats from the modem and the current implementation uses the only AT command that is related to it.
Will consider that for the new band view
Band locking cards now uses "N71" for NR5G and not "n71".
We implemented some kind of status screen for the next release so I hope that its enough
@ghost commented on GitHub (Nov 8, 2024):
@dr-dolomite - that new status screen does not require login? Nice. I think login should be required when viewing sensitive information or chaning modem properties.
@pipe2null commented on GitHub (Nov 8, 2024):
Nice!
Thoughts for Cell Scanner / QSCAN UI's, not necessarily a feature request:
One thing I have found extremely useful, that I have usually have to do straight AT console for, is getting specific tower IDs that can be used with Cellmapper.net, towermaps.com, and subsequently ispdesign.ui.com to get pretty accurate antenna alignment info. It is perhaps a bit niche, I am out at the edge of signal reception with both LPDA's and MIMO dish antennas, but determining the exact location of your tower(s) is good info to have regardless of where you are at.
@dr-dolomite commented on GitHub (Nov 8, 2024):
Yup! Thats the preview screen if the user is not authenticated.
It was already implemented on the older SimpleAdmin 2.0 revision for x62 modems but since I transitioned QuecManager to use a different development approach, the Cell Scanner feature was delayed. However, it will for sure be included on the next release. About the tower id / TAC, etc., I will consider to add those.
@ghost commented on GitHub (Nov 9, 2024):
@dr-dolomite - feature request :)
It would be nice if we can save custom AT commands in QuecManager, similar to LuCi.
@dr-dolomite commented on GitHub (Nov 9, 2024):
Im still having 2nd thoughts about these features since it will constantly write on modem's flash but I will consider it.
@ghost commented on GitHub (Nov 9, 2024):
Commands will write to flash only for
SETcommands right?GETcommands dont write to fflash?@dr-dolomite commented on GitHub (Nov 9, 2024):
We could save those in browser storage to avoid writing in flash. Ill try it.
@iamromulan commented on GitHub (Nov 9, 2024):
@dr-dolomite
From a default install take a look at /etc/config/atcommands.user
That's where the luci app saves the custom commands. I have pre-packaged those commands.
Could just share that file with the luci app
@iamromulan commented on GitHub (Nov 9, 2024):
Here is how flash is setup
Here we see the MTD partitions of the modem. These are what are flashed to.
Since this is a NAND flash with limited erase/write procedures UBIFS is utilized as the format as it helps prevent wear on the NAND storage.
Only 2 MTD partitions are utilized in the booted OpenWRT system
and
Only one mount is from ubi1 (ubi1 volume 0 written as ubi1_0) at /firmware and we don't mess with it. I suspect its the radio's firmware files but I'm not sure.
The mount we write to is /dev/ubi0_1
I have setup an overlay mount where the root filesystem (/dev/ubi0_0) (/) is the lower and (/dev/ubi0_1) (/data/rootfs) is the upper
The lower and the upper are combined where I mount the overlay at. The lower is read only and the upper is where all write operations occur. Files in the upper take priority over the files in the lower, so if you edit, delete, or replace a file in the overlay that's not in the upper they are reflected in the overlay without touching the lower. I temporarily mount the overlay to /rootfs at boot but then use the pivit_root command to change the root mount / to it. The original rootfs mount gets moved to /real_rootfs and remains read only.
Check it out:
We can see the current health the the filesystem we write to like this
I have put mtd36/ubi0 through a lot of abuse and as we can see there are
0 bad physical eraseblockswith80 eraseblocks reserved for sacrificeSo it can pretty much loose 80 erase blocks before it breaks.
@dr-dolomite
If you want to add storage health info to the stats
ubinfo -d 0 can be used to check health status.
@dr-dolomite commented on GitHub (Nov 9, 2024):
So far this is what Ive done. It all uses browser storage which it much simpler to implement also.
@iamromulan commented on GitHub (Jan 13, 2025):
Closed. Many updates since original post. If any issues open a new request 👍