-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3ginfo.sh working from shell but not populating luci #47
Comments
Hi @brian4286 , it seems that your sim card is not logged into the network, and this is required for the LuCI package. |
Show result of the command: |
@4IceG sim is working fine, the modem is online and the AT commands are working as expected. I am sorry I did not follow up sooner but I ran debug earlier the script, it is working. I was trying to find why the variables were not being displayed. I can try to modify the script and echo the variables to figure out which one errors. I will try to get to that later and debug more from my side as well, apologies dumping it and not providing this output.
|
@obsy Cezary chyba znow będą skrypty do korekty.. ciagle coś wychodzi :) |
For example, where the variable for $CSQ is created, I immediately echo'ed out the variable and it works. So somewhere below that the variable gets cleared.
|
To jest tryb połączenia którego u nas nie ma i nie parsujemy: 11, czyli wg dokumentacji "NR connected to 5GCN". Wg danych wygląda jak czyste 5G (SA). Zdecydowanie do dodania do skryptów, bo teraz po prostu tego nie analizujemy. |
Widze że u Nas tego nie ma, widać to też po pasmach CA. |
@brian4286: this is a new mode that requires our script changes to be supported. Right now the scripts don't parse it like they should. |
5GSA FTW? 😄 |
@4IceG: tylko że wg tych danych +CREG: 2,0 czyli wg dokumentacji on nie jest zarejestrowany w sieci i nie szuka sieci. Czyli wg ideologi dane nie powinny być parsowane bo aktywnego połączenia nie ma. Jeżeli on ma połączenie jak napisał to znów coś quectel kłamie i nie mamy statusu rejestracji karty sim w sieci. |
@obsy Pewnie zaraz wyjdzie że jest jakies polecenie +CREG5G:, ktore dane pokazuje.. i tyle po Naszej logice. Bądź tu mądry.. tylko na koncu czego się trzymać i czym kierowac. |
@brian4286: Do you have a normal, working internet connection? Can you show the result again:
after ifdown wan; ifup wan (or change "wan" if you have a section with a name other than wan). |
AT+C5GREG jest :) |
Here is the debug output from the shell script:
Yes I am online:
I don't call it wan, it is called wwan on my box if that helps. |
And show sms_tool -d /dev/ttyUSB3 at "AT+C5GREG?" |
Here you go...
|
Better: sms_tool -d /dev/ttyUSB3 at "AT+C5GREG=2;+C5GREG?" ?? |
|
Thanks. Ok, we should be able to do something with that data. |
Just @ me and I will be happy to pull down the change and test before you package it up. |
First try:
@4IceG : o ile pamiętasz to nie tak dawno walczyliśmy z parametrami dla SCC, bo się okazało że dla naszego NR5G-NSA inaczej trzeba to wyliczać (brak było pola "state"). No to tu dla utrudnienia nie ma pola "state" dla PCC więc wylicza się to inaczej, ale jest "state" dla SCC i bandu NR5G, więc znów wylicza się inaczej. Robi się cała masa if'ów. |
@obsy U Ciebie Cezary wyglada fajnie, mam nadzieje że jakoś odnajde się w tych skryptach i uda się to przenieść dla LuCI. |
@brian4286 : work in progress |
Hi @brian4286 , |
@4IceG I am on a different tower right now so can't be certain if it is parsing correctly. I will update this issue when I am back at that tower over the next week or two. |
Running 1.0.54-20230903 I purged all and forced a reinstall via opkg.
Seems like the output from the shell script is working but I am not seeing it render in LUCI. I am testing in OpenWrt 23.05.0-rc3 r23389-5deed175a5 so this could be related, however it was working through rc2.
Happy to dig deeper, wanted to validate I am not alone before I do.
The text was updated successfully, but these errors were encountered: