[GH-ISSUE #85] Parse error on 5G-SA Network #200

Closed
opened 2026-03-13 13:47:18 +03:00 by kerem · 16 comments
Owner

Originally created by @xhikarishii on GitHub (Jul 23, 2024).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/85

Hi @4IceG

There seems to be a parsing error on some networks here in 🇵🇭 specifically for 5G-SA network, please see my log below
3ginfo-log.txt

This doesn't seem to be an issue before so could be related to the recent changes made.

Originally created by @xhikarishii on GitHub (Jul 23, 2024). Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/85 Hi @4IceG There seems to be a parsing error on some networks here in 🇵🇭 specifically for 5G-SA network, please see my log below [3ginfo-log.txt](https://github.com/user-attachments/files/16350799/3ginfo-log.txt) This doesn't seem to be an issue before so could be related to the recent changes made.
kerem closed this issue 2026-03-13 13:47:25 +03:00
Author
Owner

@f1vefour commented on GitHub (Jul 24, 2024):

I was just about to create an issue, I have the same problem with 5G-SA on T-Mobile in the US.

I'm attaching two logs:

5G-SA_disabled.txt is in 4G with 3ginfo-lite working.

5G-SA_enabled.txt is in 5G--SA with 3ginfo-lite not working.

Running OpenWrt SNAPSHOT r26992+3-bbcd5111cb / LuCI Master 24.201.32493~e229e1a

<!-- gh-comment-id:2246824458 --> @f1vefour commented on GitHub (Jul 24, 2024): I was just about to create an issue, I have the same problem with 5G-SA on T-Mobile in the US. I'm attaching two logs: [5G-SA_disabled.txt](https://github.com/user-attachments/files/16356875/5G-SA_disabled.txt) is in 4G with 3ginfo-lite working. [5G-SA_enabled.txt](https://github.com/user-attachments/files/16356876/5G-SA_enabled.txt) is in 5G--SA with 3ginfo-lite not working. Running OpenWrt SNAPSHOT r26992+3-bbcd5111cb / LuCI Master 24.201.32493~e229e1a
Author
Owner

@4IceG commented on GitHub (Jul 24, 2024):

Hi @xhikarishii @f1vefour,
I'm rarely at my computer these days.

I'm not promising anything, but I'll try to look at it this weekend.

<!-- gh-comment-id:2248336548 --> @4IceG commented on GitHub (Jul 24, 2024): Hi @xhikarishii @f1vefour, I'm rarely at my computer these days. I'm not promising anything, but I'll try to look at it this weekend.
Author
Owner

@xhikarishii commented on GitHub (Jul 24, 2024):

No rush :)

<!-- gh-comment-id:2248397859 --> @xhikarishii commented on GitHub (Jul 24, 2024): No rush :)
Author
Owner

@f1vefour commented on GitHub (Jul 24, 2024):

Thank you

<!-- gh-comment-id:2248445516 --> @f1vefour commented on GitHub (Jul 24, 2024): Thank you
Author
Owner

@ghost commented on GitHub (Jul 24, 2024):

I think my issue is same to you guys 🤔

https://github.com/4IceG/luci-app-3ginfo-lite/issues/86

samet time ... subject on OpenWrt
https://forum.openwrt.org/t/fibocom-quectel-fm190-5g-4g-modem-signals/204468/8

and for 4G is missing more info
image

for 5G NSA (4G+5G) is showing error ...not working

<!-- gh-comment-id:2248446482 --> @ghost commented on GitHub (Jul 24, 2024): I think my issue is same to you guys 🤔 https://github.com/4IceG/luci-app-3ginfo-lite/issues/86 samet time ... subject on OpenWrt https://forum.openwrt.org/t/fibocom-quectel-fm190-5g-4g-modem-signals/204468/8 and for 4G is missing more info <img width="1117" alt="image" src="https://github.com/user-attachments/assets/33dc63b7-49df-4810-b065-1ad8818cb6b8"> ### **for 5G NSA (4G+5G) is showing error ...not working**
Author
Owner

@f1vefour commented on GitHub (Jul 24, 2024):

I think my issue is same to you guys 🤔

#86

samet time ... subject on OpenWrt https://forum.openwrt.org/t/fibocom-quectel-fm190-5g-4g-modem-signals/204468/8

I don't get a parse error on the page like that unfortunately, it simply doesn't display the data when in 5G-SA

<!-- gh-comment-id:2248454676 --> @f1vefour commented on GitHub (Jul 24, 2024): > I think my issue is same to you guys 🤔 > > #86 > > samet time ... subject on OpenWrt https://forum.openwrt.org/t/fibocom-quectel-fm190-5g-4g-modem-signals/204468/8 I don't get a parse error on the page like that unfortunately, it simply doesn't display the data when in 5G-SA
Author
Owner

@obsy commented on GitHub (Jul 25, 2024):

@f1vefour show me

sms_tool =D -d /dev/ttyUSB2 at "at+c5greg=2;+c5greg?"
<!-- gh-comment-id:2250304354 --> @obsy commented on GitHub (Jul 25, 2024): @f1vefour show me ``` sms_tool =D -d /dev/ttyUSB2 at "at+c5greg=2;+c5greg?" ```
Author
Owner

@f1vefour commented on GitHub (Jul 25, 2024):

@obsy

root@OpenWrt:~# sms_tool -D -d /dev/ttyUSB2 at "at+c5greg=2;+c5greg?"
at+c5greg=2;+c5greg?
+C5GREG: 2,1,"B3FE00","109157003",11,1,"01"

OK

<!-- gh-comment-id:2250898000 --> @f1vefour commented on GitHub (Jul 25, 2024): @obsy > root@OpenWrt:~# sms_tool -D -d /dev/ttyUSB2 at "at+c5greg=2;+c5greg?" > at+c5greg=2;+c5greg? > +C5GREG: 2,1,"B3FE00","109157003",11,1,"01" > > OK
Author
Owner

@obsy commented on GitHub (Jul 25, 2024):

@f1vefour , @xhikarishii

OK, parser problem. Try this:

sed -i "s/{print \$4;exit}')/{print \$4;exit}' | xargs)/g" /usr/share/3ginfo-lite/3ginfo.sh

And test again in luci.

<!-- gh-comment-id:2250980456 --> @obsy commented on GitHub (Jul 25, 2024): @f1vefour , @xhikarishii OK, parser problem. Try this: ``` sed -i "s/{print \$4;exit}')/{print \$4;exit}' | xargs)/g" /usr/share/3ginfo-lite/3ginfo.sh ``` And test again in luci.
Author
Owner

@f1vefour commented on GitHub (Jul 25, 2024):

@obsy Pure genius, it's working!

<!-- gh-comment-id:2250986132 --> @f1vefour commented on GitHub (Jul 25, 2024): @obsy Pure genius, it's working!
Author
Owner

@ghost commented on GitHub (Jul 25, 2024):

@obsy

root@OpenWrt:~# sms_tool -D -d /dev/ttyUSB2 at "at+c5greg=2;+c5greg?"

+C5GREG: 2,0
image

please take look to my case
https://github.com/4IceG/luci-app-3ginfo-lite/issues/86

<!-- gh-comment-id:2251080355 --> @ghost commented on GitHub (Jul 25, 2024): @obsy ``` root@OpenWrt:~# sms_tool -D -d /dev/ttyUSB2 at "at+c5greg=2;+c5greg?" +C5GREG: 2,0 ``` <img width="727" alt="image" src="https://github.com/user-attachments/assets/54609b27-bb78-43f7-8773-2b59cf6d8d30"> **please take look to my case** https://github.com/4IceG/luci-app-3ginfo-lite/issues/86
Author
Owner

@xhikarishii commented on GitHub (Jul 29, 2024):

@f1vefour , @xhikarishii

OK, parser problem. Try this:

sed -i "s/{print \$4;exit}')/{print \$4;exit}' | xargs)/g" /usr/share/3ginfo-lite/3ginfo.sh

And test again in luci.

Worked for me as well 💯

<!-- gh-comment-id:2255363050 --> @xhikarishii commented on GitHub (Jul 29, 2024): > @f1vefour , @xhikarishii > > OK, parser problem. Try this: > > ``` > sed -i "s/{print \$4;exit}')/{print \$4;exit}' | xargs)/g" /usr/share/3ginfo-lite/3ginfo.sh > ``` > > And test again in luci. Worked for me as well 💯
Author
Owner

@f1vefour commented on GitHub (Aug 26, 2024):

@4IceG will you be adding a new build?

I run a custom build of openwrt and every time I update I have to patch 3ginfo.sh using the sed snippet above.

<!-- gh-comment-id:2309208668 --> @f1vefour commented on GitHub (Aug 26, 2024): @4IceG will you be adding a new build? I run a custom build of openwrt and every time I update I have to patch 3ginfo.sh using the sed snippet above.
Author
Owner

@4IceG commented on GitHub (Aug 26, 2024):

@4IceG will you be adding a new build?

Hi @f1vefour
The new packages/repository compilation will be tomorrow.

<!-- gh-comment-id:2309316395 --> @4IceG commented on GitHub (Aug 26, 2024): > @4IceG will you be adding a new build? Hi @f1vefour The new packages/repository compilation will be tomorrow.
Author
Owner

@f1vefour commented on GitHub (Aug 26, 2024):

@4IceG will you be adding a new build?

Hi @f1vefour The new packages/repository compilation will be tomorrow.

Great to hear, thank you.

<!-- gh-comment-id:2309350663 --> @f1vefour commented on GitHub (Aug 26, 2024): > > @4IceG will you be adding a new build? > > Hi @f1vefour The new packages/repository compilation will be tomorrow. Great to hear, thank you.
Author
Owner

@f1vefour commented on GitHub (Aug 28, 2024):

This particular issue is resolved, it can be closed now.

<!-- gh-comment-id:2316398000 --> @f1vefour commented on GitHub (Aug 28, 2024): This particular issue is resolved, it can be closed now.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/luci-app-3ginfo-lite#200
No description provided.