1

(3 odpowiedzi, napisanych Oprogramowanie / Software)

OK, thanks. Is it possible anyone will do this in the near future?

2

(3 odpowiedzi, napisanych Oprogramowanie / Software)

Hi, this is possibly too much to ask but is there any chance of an English version of this, please?
Cheers!

Cezary napisał/a:
+CPIN: NOT READY
+CREG: 0
+CPIN: READY
+QUSIM: 1
+CREG: 2

This also is not OK, should be only one.

OK, fine. So do you think it's a good idea to flash back to A02 or A01?

What do you think is going ok? All I have changed is the Sim from 3(UK) 23420 - not working correctly - to an EE(UK) Sim - works fine?

Do you think it is an idea to re-flash the RM551E-GL modem to A02 or even A01 firmware?

Thanks!

Hello, I have changed to my EE(UK) sim - 23430. Here is the result of the second command:

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

+C5GREG: 2,0

Hello, I have changed to my EE(UK) sim - 23430. Here is the result of the first command:

root@OpenWrt:/# sh -x /usr/share/modemdata/params.sh /dev/ttyUSB2

+ DEVICE=/dev/ttyUSB2
+ '[' -z /dev/ttyUSB2 ]
+ '[' '!' -e /dev/ttyUSB2 ]
+ FORCE_PLMN=
+ '[' x '=' x1 ]
+ FORCE_PLMN=
+ RES=/usr/share/modemdata
+ sms_tool -D -d /dev/ttyUSB2 at 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?'
+ tr -d '\r'
+ O='
+CPIN: NOT READY

+CREG: 0

+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 1,"6932","055810D",13

+CPIN: READY

+CSQ: 17,99

+COPS: 0,0,"EE",13

+COPS: 0,2,"23430",13

+CREG: 2,1,"6933","055810D",13

OK'
+ echo '
+CPIN: NOT READY

+CREG: 0

+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 1,"6932","055810D",13

+CPIN: READY

+CSQ: 17,99

+COPS: 0,0,"EE",13

+COPS: 0,2,"23430",13

+CREG: 2,1,"6933","055810D",13

OK'
+ awk '-F[, ]' '/^\+(csq|CSQ)/ {print $2}'
+ CSQ=17
+ '[' -z 17 ]
+ '[' 17 -ge 0 ]
+ '[' 17 -le 31 ]
+ CSQ_PER=54
+ COUNTRY=
+ COPS=
+ COPS_MCC=
+ COPS_MNC=
+ echo '
+CPIN: NOT READY

+CREG: 0

+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 1,"6932","055810D",13

+CPIN: READY

+CSQ: 17,99

+COPS: 0,0,"EE",13

+COPS: 0,2,"23430",13

+CREG: 2,1,"6933","055810D",13

OK'
+ awk '-F["]' '/^\+COPS:\s*.,2/ {print $2}'
+ COPS_NUM=23430
+ '[' -n 23430 ]
+ COPS_MCC=234
+ COPS_MNC=30
+ '[' -z  ]
+ echo '
+CPIN: NOT READY

+CREG: 0

+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 1,"6932","055810D",13

+CPIN: READY

+CSQ: 17,99

+COPS: 0,0,"EE",13

+COPS: 0,2,"23430",13

+CREG: 2,1,"6933","055810D",13

OK'
+ + awkawk '{if(NF==2 && tolower($1)==tolower($2)){print $1}else{print $0}}' '-F["]' '/^\+COPS:\s*.,0/ {print $2}'

+ COPS=EE
+ '[' -z EE ]
+ '[' -n 23430 ]
+ awk '-F[;]' '/^23430;/ {print $2}' /usr/share/modemdata/libs/mccmnc.dat
+ COUNTRY='United Kingdom'
+ echo '
+CPIN: NOT READY

+CREG: 0

+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 1,"6932","055810D",13

+CPIN: READY

+CSQ: 17,99

+COPS: 0,0,"EE",13

+COPS: 0,2,"23430",13

+CREG: 2,1,"6933","055810D",13

OK'
+ busybox awk '-F[,]' '/^\+CREG/ {gsub(/[[:space:]"]+/,"");printf "T=\"%d\";LAC_HEX=\"%X\";CID_HEX=\"%X\";LAC_DEC=\"%d\";CID_DEC=\"%d\";MODE_NUM=\"%d\"", $2, "0x"$3, "0x"$4, "0x"$3, "0x"$4, $5}'
+ eval 'T="0";LAC_HEX="0";CID_HEX="0";LAC_DEC="0";CID_DEC="0";MODE_NUM="0"T="0";LAC_HEX="0";CID_HEX="0";LAC_DEC="0";CID_DEC="0";MODE_NUM="0"T="6932";LAC_HEX="55810D";CID_HEX="13";LAC_DEC="5603597";CID_DEC="19";MODE_NUM="0"T="1";LAC_HEX="6933";CID_HEX="55810D";LAC_DEC="26931";CID_DEC="5603597";MODE_NUM="13"'
+ T=0
+ LAC_HEX=0
+ CID_HEX=0
+ LAC_DEC=0
+ CID_DEC=0
+ MODE_NUM='0T=0'
+ LAC_HEX=0
+ CID_HEX=0
+ LAC_DEC=0
+ CID_DEC=0
+ MODE_NUM='0T=6932'
+ LAC_HEX=55810D
+ CID_HEX=13
+ LAC_DEC=5603597
+ CID_DEC=19
+ MODE_NUM='0T=1'
+ LAC_HEX=6933
+ CID_HEX=55810D
+ LAC_DEC=26931
+ CID_DEC=5603597
+ MODE_NUM=13
+ REG=0
+ '[' -z 13 ]
+ '[' x13 '=' x0 ]
+ MODE=
+ echo '
+CPIN: NOT READY

+CREG: 0

+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 1,"6932","055810D",13

+CPIN: READY

+CSQ: 17,99

+COPS: 0,0,"EE",13

+COPS: 0,2,"23430",13

+CREG: 2,1,"6933","055810D",13

OK'
+ awk '-F[, ]' '/^\+CME ERROR:/ {print $0;exit}'
+ T=
+ '[' -n  ]
+ echo '
+CPIN: NOT READY

+CREG: 0

+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 1,"6932","055810D",13

+CPIN: READY

+CSQ: 17,99

+COPS: 0,0,"EE",13

+COPS: 0,2,"23430",13

+CREG: 2,1,"6933","055810D",13

OK'
+ awk '-F[, ]' '/^\+CPIN:/ {print $0;exit}'
+ xargs
+ T='+CPIN: NOT READY'
+ '[' -n '+CPIN: NOT READY' ]
+ '[' '+CPIN: NOT READY' '=' '+CPIN: READY' ]
+ echo '+CPIN: NOT READY'
+ xargs
+ cut -f2 -d:
+ REG='NOT READY'
+ REGOK=0
+ '[' 'xNOT READY' '=' x1 ]
+ '[' 'xNOT READY' '=' x5 ]
+ '[' 'xNOT READY' '=' x6 ]
+ '[' 'xNOT READY' '=' x7 ]
+ . /usr/share/modemdata/libs/getdevicevendorproduct
+ getdevicevendorproduct /dev/ttyUSB2
+ basename /dev/ttyUSB2
+ devname=ttyUSB2
+ readlink -f /sys/class/tty/ttyUSB2/device
+ devpath=/sys/devices/platform/soc/11200000.usb/usb2/2-1/2-1.1/2-1.1:1.2/ttyUSB2
+ T=/sys/devices/platform/soc/11200000.usb/usb2/2-1/2-1.1
+ cat /sys/devices/platform/soc/11200000.usb/usb2/2-1/2-1.1/idVendor
+ cat /sys/devices/platform/soc/11200000.usb/usb2/2-1/2-1.1/idProduct
+ echo usb/2c7c0122
+ VIDPID=usb/2c7c0122
+ '[' -e /usr/share/modemdata/addon/usb/2c7c0122 ]
+ ADDON=
+ cat /tmp/sysinfo/board_name
+ . /usr/share/modemdata/addon/usb/2c7c0122
+ sms_tool -d /dev/ttyUSB2 at at+qtemp
+ O='
+QTEMP: "sdr0","30"
+QTEMP: "mmw0","-273"
+QTEMP: "aoss-0","34"
+QTEMP: "cpuss-0","34"
+QTEMP: "cpuss-1","34"
+QTEMP: "cpuss-2","35"
+QTEMP: "cpuss-3","34"
+QTEMP: "ethphy-0","35"
+QTEMP: "mvmss-0","35"
+QTEMP: "mdmq6-0","34"
+QTEMP: "ctile","34"
+QTEMP: "mdmss-0","34"
+QTEMP: "mdmss-1","34"
+QTEMP: "mdmss-2","34"
+QTEMP: "sys-therm-1","31"
+QTEMP: "sys-therm-2","-273"
+QTEMP: "sys-therm-4","33"
'
+ echo '
+QTEMP: "sdr0","30"
+QTEMP: "mmw0","-273"
+QTEMP: "aoss-0","34"
+QTEMP: "cpuss-0","34"
+QTEMP: "cpuss-1","34"
+QTEMP: "cpuss-2","35"
+QTEMP: "cpuss-3","34"
+QTEMP: "ethphy-0","35"
+QTEMP: "mvmss-0","35"
+QTEMP: "mdmq6-0","34"
+QTEMP: "ctile","34"
+QTEMP: "mdmss-0","34"
+QTEMP: "mdmss-1","34"
+QTEMP: "mdmss-2","34"
+QTEMP: "sys-therm-1","31"
+QTEMP: "sys-therm-2","-273"
+QTEMP: "sys-therm-4","33"
'
+ awk '-F[,:]' '/^\+QTEMP/ {print $3}'
+ head -n1
+ sort -r
+ xargs
+ T=35
+ '[' -n 35 ]
+ addon 10 Temperature '35 °C'
+ '[' -n  ]
+ ADDON='{"idx":10,"key":"Temperature","value":"35 °C"}'
+ sms_tool -d /dev/ttyUSB2 at 'AT+QUIMSLOT?'
+ O='
+QUIMSLOT: 1
'
+ echo '
+QUIMSLOT: 1
'
+ xargs
+ awk -F '[:]' '/^\+QUIMSLOT/{print $2}'
+ T=1
+ '[' -n 1 ]
+ addon 11 Slot 1
+ '[' -n '{"idx":10,"key":"Temperature","value":"35 °C"}' ]
+ ADDON='{"idx":10,"key":"Temperature","value":"35 °C"},'
+ ADDON='{"idx":10,"key":"Temperature","value":"35 °C"},{"idx":11,"key":"Slot","value":"1"}'
+ '[' -z 'NOT READY' ]
+ '[' x13 '=' x11 ]
+ '[' 0 '=' 1 ]
+ cat
{
"csq":"17",
"signal":"54",
"operator_name":"EE",
"operator_mcc":"234",
"operator_mnc":"30",
"country":"United Kingdom",
"mode":"",
"registration":"NOT READY",
"lac_dec":"26931",
"lac_hex":"6933",
"cid_dec":"5603597",
"cid_hex":"55810D",
"addon":[{"idx":10,"key":"Temperature","value":"35 °C"},{"idx":11,"key":"Slot","value":"1"}]
}
+ exit 0
root@OpenWrt:/#

Cezary napisał/a:

+CREG: 2,3

2 - not registered, but MT is currently searching a new operator to register to
3 - GSM with EGPRS

The modem is returning strange data.

But it only does that with this one sim and network operator. I'll try the same commands with my EE(UK) sim later today...

It's connected even so. Do you reckon it is an idea to revert the firmware to A02 or A01, if that is possible (from A04)?

As requested...

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

+C5GREG: 2,0

Hello, thanks again. Here is the info you requested...

As I said above, it claims not to be registered and shows no info about the connected bands, but it is connected and has an ip address as I am using the connection to post this.

root@OpenWrt:/# sh -x /usr/share/modemdata/params.sh /dev/ttyUSB2
+ DEVICE=/dev/ttyUSB2
+ '[' -z /dev/ttyUSB2 ]
+ '[' '!' -e /dev/ttyUSB2 ]
+ FORCE_PLMN=
+ '[' x '=' x1 ]
+ FORCE_PLMN=
+ RES=/usr/share/modemdata
+ sms_tool -D -d /dev/ttyUSB2 at 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?'
+ tr -d '\r'
+ O='
+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 3

+CPIN: READY

+CSQ: 20,99

+COPS: 0,0,"SMARTY",7

+COPS: 0,2,"23420",7

+CREG: 2,3

OK'
+ echo '
+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 3

+CPIN: READY

+CSQ: 20,99

+COPS: 0,0,"SMARTY",7

+COPS: 0,2,"23420",7

+CREG: 2,3

OK'
+ awk '-F[, ]' '/^\+(csq|CSQ)/ {print $2}'
+ CSQ=20
+ '[' -z 20 ]
+ '[' 20 -ge 0 ]
+ '[' 20 -le 31 ]
+ CSQ_PER=64
+ COUNTRY=
+ COPS=
+ COPS_MCC=
+ COPS_MNC=
+ echo '
+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 3

+CPIN: READY

+CSQ: 20,99

+COPS: 0,0,"SMARTY",7

+COPS: 0,2,"23420",7

+CREG: 2,3

OK'
+ awk '-F["]' '/^\+COPS:\s*.,2/ {print $2}'
+ COPS_NUM=23420
+ '[' -n 23420 ]
+ COPS_MCC=234
+ COPS_MNC=20
+ '[' -z  ]
+ echo '
+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 3

+CPIN: READY

+CSQ: 20,99

+COPS: 0,0,"SMARTY",7

+COPS: 0,2,"23420",7

+CREG: 2,3

OK'
+ awk '{if(NF==2 && tolower($1)==tolower($2)){print $1}else{print $0}}'+
awk '-F["]' '/^\+COPS:\s*.,0/ {print $2}'
+ COPS=SMARTY
+ '[' -z SMARTY ]
+ '[' -n 23420 ]
+ awk '-F[;]' '/^23420;/ {print $2}' /usr/share/modemdata/libs/mccmnc.dat
+ COUNTRY='United Kingdom'
+ echo '
+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 3

+CPIN: READY

+CSQ: 20,99

+COPS: 0,0,"SMARTY",7

+COPS: 0,2,"23420",7

+CREG: 2,3

OK'
+ busybox awk '-F[,]' '/^\+CREG/ {gsub(/[[:space:]"]+/,"");printf "T=\"%d\";LAC_HEX=\"%X\";CID_HEX=\"%X\";LAC_DEC=\"%d\";CID_DEC=\"%d\";MODE_NUM=\"%d\"", $2, "0x"$3, "0x"$4, "0x"$3, "0x"$4, $5}'
+ eval 'T="0";LAC_HEX="0";CID_HEX="0";LAC_DEC="0";CID_DEC="0";MODE_NUM="0"T="0";LAC_HEX="0";CID_HEX="0";LAC_DEC="0";CID_DEC="0";MODE_NUM="0"T="3";LAC_HEX="0";CID_HEX="0";LAC_DEC="0";CID_DEC="0";MODE_NUM="0"'
+ T=0
+ LAC_HEX=0
+ CID_HEX=0
+ LAC_DEC=0
+ CID_DEC=0
+ MODE_NUM='0T=0'
+ LAC_HEX=0
+ CID_HEX=0
+ LAC_DEC=0
+ CID_DEC=0
+ MODE_NUM='0T=3'
+ LAC_HEX=0
+ CID_HEX=0
+ LAC_DEC=0
+ CID_DEC=0
+ MODE_NUM=0
+ REG=0
+ '[' -z 0 ]
+ '[' x0 '=' x0 ]
+ echo '
+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 3

+CPIN: READY

+CSQ: 20,99

+COPS: 0,0,"SMARTY",7

+COPS: 0,2,"23420",7

+CREG: 2,3

OK'
+ awk '-F[,]' '/^\+COPS/ {print $4;exit}'
+ xargs
+ MODE_NUM=7
+ MODE=LTE
+ echo '
+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 3

+CPIN: READY

+CSQ: 20,99

+COPS: 0,0,"SMARTY",7

+COPS: 0,2,"23420",7

+CREG: 2,3

OK'
+ awk '-F[, ]' '/^\+CME ERROR:/ {print $0;exit}'
+ T=
+ '[' -n  ]
+ echo '
+CPIN: READY

+QUSIM: 1

+CREG: 2

+QIND: SMS DONE

+QIND: PB DONE

+CREG: 3

+CPIN: READY

+CSQ: 20,99

+COPS: 0,0,"SMARTY",7

+COPS: 0,2,"23420",7

+CREG: 2,3

OK'
+ + xargsawk
'-F[, ]' '/^\+CPIN:/ {print $0;exit}'
+ T='+CPIN: READY'
+ '[' -n '+CPIN: READY' ]
+ '[' '+CPIN: READY' '=' '+CPIN: READY' ]
+ REGOK=0
+ '[' x0 '=' x1 ]
+ '[' x0 '=' x5 ]
+ '[' x0 '=' x6 ]
+ '[' x0 '=' x7 ]
+ . /usr/share/modemdata/libs/getdevicevendorproduct
+ getdevicevendorproduct /dev/ttyUSB2
+ basename /dev/ttyUSB2
+ devname=ttyUSB2
+ readlink -f /sys/class/tty/ttyUSB2/device
+ devpath=/sys/devices/platform/soc/11200000.usb/usb2/2-1/2-1.1/2-1.1:1.2/ttyUSB2
+ T=/sys/devices/platform/soc/11200000.usb/usb2/2-1/2-1.1
+ cat /sys/devices/platform/soc/11200000.usb/usb2/2-1/2-1.1/idVendor
+ cat /sys/devices/platform/soc/11200000.usb/usb2/2-1/2-1.1/idProduct
+ echo usb/2c7c0122
+ VIDPID=usb/2c7c0122
+ '[' -e /usr/share/modemdata/addon/usb/2c7c0122 ]
+ ADDON=
+ cat /tmp/sysinfo/board_name
+ . /usr/share/modemdata/addon/usb/2c7c0122
+ sms_tool -d /dev/ttyUSB2 at at+qtemp
+ O='
+QTEMP: "sdr0","25"
+QTEMP: "mmw0","-273"
+QTEMP: "aoss-0","30"
+QTEMP: "cpuss-0","30"
+QTEMP: "cpuss-1","30"
+QTEMP: "cpuss-2","30"
+QTEMP: "cpuss-3","30"
+QTEMP: "ethphy-0","31"
+QTEMP: "mvmss-0","31"
+QTEMP: "mdmq6-0","31"
+QTEMP: "ctile","30"
+QTEMP: "mdmss-0","29"
+QTEMP: "mdmss-1","30"
+QTEMP: "mdmss-2","30"
+QTEMP: "sys-therm-1","27"
+QTEMP: "sys-therm-2","-273"
+QTEMP: "sys-therm-4","28"
'
+ echo '
+QTEMP: "sdr0","25"
+QTEMP: "mmw0","-273"
+QTEMP: "aoss-0","30"
+QTEMP: "cpuss-0","30"
+QTEMP: "cpuss-1","30"
+QTEMP: "cpuss-2","30"
+QTEMP: "cpuss-3","30"
+QTEMP: "ethphy-0","31"
+QTEMP: "mvmss-0","31"
+QTEMP: "mdmq6-0","31"
+QTEMP: "ctile","30"
+QTEMP: "mdmss-0","29"
+QTEMP: "mdmss-1","30"
+QTEMP: "mdmss-2","30"
+QTEMP: "sys-therm-1","27"
+QTEMP: "sys-therm-2","-273"
+QTEMP: "sys-therm-4","28"
'
+ awk '-F[,:]' '/^\+QTEMP/ {print $3}'
+ sort -r
+ head -n1
+ xargs
+ T=31
+ '[' -n 31 ]
+ addon 10 Temperature '31 °C'
+ '[' -n  ]
+ ADDON='{"idx":10,"key":"Temperature","value":"31 °C"}'
+ sms_tool -d /dev/ttyUSB2 at 'AT+QUIMSLOT?'
+ O='
+QUIMSLOT: 1
'
+ echo '
+QUIMSLOT: 1
'
+ awk -F '[:]' '/^\+QUIMSLOT/{print $2}'
+ xargs
+ T=1
+ '[' -n 1 ]
+ addon 11 Slot 1
+ '[' -n '{"idx":10,"key":"Temperature","value":"31 °C"}' ]
+ ADDON='{"idx":10,"key":"Temperature","value":"31 °C"},'
+ ADDON='{"idx":10,"key":"Temperature","value":"31 °C"},{"idx":11,"key":"Slot","value":"1"}'
+ '[' -z 0 ]
+ '[' x7 '=' x11 ]
+ '[' 0 '=' 1 ]
+ cat
{
"csq":"20",
"signal":"64",
"operator_name":"SMARTY",
"operator_mcc":"234",
"operator_mnc":"20",
"country":"United Kingdom",
"mode":"LTE",
"registration":"0",
"lac_dec":"0",
"lac_hex":"0",
"cid_dec":"0",
"cid_hex":"0",
"addon":[{"idx":10,"key":"Temperature","value":"31 °C"},{"idx":11,"key":"Slot","value":"1"}]
}
+ exit 0
root@OpenWrt:/#

Hi, thanks for the updates in your Repo.

I've installed the latest version of modemdata on my BPi-R4 running OpenWRT ( OpenWrt 24.10.5 r29087-d9c5716d1d / LuCI openwrt-24.10 branch 26.043.84860~6cf8bf9 Kernel Version 6.6.119), with a Quectel RM551E-GL modem.

I recently updated the firmware on the modem from the supplied RM551EGL00AAR01A01M8G to the latest R01 release, which is RM551EGL00AAR01A04M8G. The modem appears to work ok and connects, but with the provider Smarty (3UK) I have issues with modemdata (and also 3ginfo-lite, but I know you will stop supporting that soon...).

With the carrier EE(UK) 23430, modemdata works fine and displays all the info, and the connected bands etc.

When I change the sim to Smarty (which is 3UK) 23420, modemdata does not display the connected bands and says 'registering denied' - which is wrong, because I am connected, the cellular interface has an ip address and traffic passes normally. Cell info is not displayed either.

I am using this connection to post this message, so the modem is connected ok, just modemdata is not reading the info right.
The package modemband does work correctly, however.

The only change that is made is change to a different sim.
Please can you advise me - and also ask if you need debug info, etc.

Thanks!

11

(21 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:
radiomean napisał/a:

I do have one further question, sorry - is there a package to lock the modem to a given cell, please?

All the best!

Use proper AT command. AT+QNWLOCK etc.

OK, fine... I just wondered if there was an easy gui like modemband...

12

(21 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Again, show debug information - there is a button for this in the luci tab in modemdata

Thanks.

OK, forget this - I have been playing with the config setup and found I had not set the 'assigned interface' correctly.
I now can see all the bands the modem is using, so *all* the packages are working correctly.

I do have one further question, sorry - is there a package to lock the modem to a given cell, please?

All the best!

13

(21 odpowiedzi, napisanych Oprogramowanie / Software)

IceG napisał/a:
radiomean napisał/a:

Also - what is the 'easyconfig' package?!

Thanks!

You can check https://eko.one.pl/?p=easyconfig

I've installed that and I like that package - thanks.

All the packages are now working properly, apart from modemdata - which does not display the 'band' information below the 'general information' section. Please can you advise?

Thanks!

14

(21 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Please... this is very old version. Use current version from https://dl.eko.one.pl/packages/opkg/all/

OK... I notice on that page there are packages like - modemband, and modemdata.
However there are not the luci-app packages.

I've manually installed modemband and modemdata (scp to the router and opkg install) but then I installed luci-app-modemband and luci-app-modemdata on the modem from system-software. Modemband now works correctly!

Also - what is the 'easyconfig' package?!

Thanks!

15

(21 odpowiedzi, napisanych Oprogramowanie / Software)

IceG napisał/a:

Old versions.. I'll try to update my ipk repository on Sunday.

OK, thanks...
I saw on your front pages the .ipk files were last year.

EDIT - I assume that the other files I have installed from your repo are also old ones?

16

(21 odpowiedzi, napisanych Oprogramowanie / Software)

IceG napisał/a:

@radiomean What version of modemband package do you have installed?

It's strange that installed from my repository you didn't have the 2c7c0122 file for this modem.

Hello again.
I am running the following commands to install your repo, so I can add your packages (this information is found on the page - https://github.com/4IceG/Modem-extras )

grep -q IceG_repo /etc/opkg/customfeeds.conf || echo 'src/gz IceG_repo https://raw.githubusercontent.com/4IceG/Modem-extras/main/myrepo' >> /etc/opkg/customfeeds.conf
wget https://raw.githubusercontent.com/4IceG … G-repo.pub -O /tmp/IceG-repo.pub
opkg-key add /tmp/IceG-repo.pub
opkg update

opkg install luci-app-sms-tool-js

17

(21 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Show:

opkg list-installed | grep modemband
sh -x /usr/bin/modemband.sh

Hello. As requested, result of the commands shown below:

root@OpenWrt:~# opkg list-installed | grep modemband
luci-app-modemband - 1.0.27-r20250830
modemband - 20250409
root@OpenWrt:~# sh -x /usr/bin/modemband.sh
+ _DEVICE=
+ _DEFAULT_LTE_BANDS=
+ _DEFAULT_5GNSA_BANDS=
+ _DEFAULT_5GSA_BANDS=
+ RES=/usr/share/modemband
+ awk '{gsub("="," ");
if ($0 ~ /Bus.*Lev.*Prnt.*Port.*/) {T=$0}
if ($0 ~ /Vendor.*ProdID/) {idvendor[T]=$3; idproduct[T]=$5}
if ($0 ~ /Product/) {product[T]=$3}}
END {for (idx in idvendor) {printf "%s%s\n%s%s%s\n", idvendor[idx], idproduct[idx], idvendor[idx], idproduct[idx], product[idx]}}' /sys/kernel/debug/usb/devices
+ _DEVS='21098822
21098822USB
1d6b0003
1d6b0003xHCI
2c7c0122
2c7c0122RM551E-GL
21090822
21090822USB3.1
1d6b0002
1d6b0002xHCI
21092822
21092822USB2.0'
+ '[' -e /usr/share/modemband/21098822 ]
+ '[' -e /usr/share/modemband/21098822USB ]
+ '[' -e /usr/share/modemband/1d6b0003 ]
+ '[' -e /usr/share/modemband/1d6b0003xHCI ]
+ '[' -e /usr/share/modemband/2c7c0122 ]
+ '[' -e /usr/share/modemband/2c7c0122RM551E-GL ]
+ '[' -e /usr/share/modemband/21090822 ]
+ '[' -e /usr/share/modemband/21090822USB3.1 ]
+ '[' -e /usr/share/modemband/1d6b0002 ]
+ '[' -e /usr/share/modemband/1d6b0002xHCI ]
+ '[' -e /usr/share/modemband/21092822 ]
+ '[' -e /usr/share/modemband/21092822USB2.0 ]
+ '[' -z  ]
+ '[' x '=' xjson ]
+ echo 'No supported modem was found, quitting...'
No supported modem was found, quitting...
+ exit 0
root@OpenWrt:~#

18

(21 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Show us debug information.

cat /sys/kernel/debug/usb/devices

first

Here it is, thanks...
There is no product 2c7c0122 in the list.

Also, I am now using OpenWRT with my BPi-R4, incase there are issues with ImmortalWRT.
OpenWRT 24.10.4, kernel 6.6.110.

Thanks!

root@OpenWrt:~# cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 6.06
S:  Manufacturer=Linux 6.6.110 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=11200000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 5
D:  Ver= 2.10 Cls=09(hub  ) Sub=00 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=2109 ProdID=2822 Rev= 0.30
S:  Manufacturer=VIA Labs, Inc.
S:  Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=01 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
I:* If#= 0 Alt= 1 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=02 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=04 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.01 Cls=11(blbrd) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2109 ProdID=8822 Rev= 0.01
S:  Manufacturer=VIA Labs, Inc.
S:  Product=USB Billboard Device
S:  SerialNumber=0000000000000001
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=11(blbrd) Sub=00 Prot=00 Driver=(none)

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=10000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 6.06
S:  Manufacturer=Linux 6.6.110 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=11200000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=5000 MxCh= 4
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=2109 ProdID=0822 Rev= 0.30
S:  Manufacturer=VIA Labs, Inc.
S:  Product=USB3.1 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=13(Int.) MxPS=   2 Ivl=16ms

T:  Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=5000 MxCh= 0
D:  Ver= 3.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=2c7c ProdID=0122 Rev= 5.15
S:  Manufacturer=Quectel
S:  Product=RM551E-GL
S:  SerialNumber=3a620b28
C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=896mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E:  Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=84(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=86(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=85(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
E:  Ad=88(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
E:  Ad=87(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
root@OpenWrt:~#

19

(21 odpowiedzi, napisanych Oprogramowanie / Software)

IceG napisał/a:

Hi @radiomean,
You download and install packages from? I saw that Immortal WRT has modified Our older versions of packages. Also, 3ginfo-lite is already old and unused.

Remove what you have and install the latest versions.

Hello, I install your packages from your repository.

Hello, sorry to bother you again, but I'm using some of your packages with my new RM551E-GL modems.
luci-app-3ginfo-lite works fine, but the modemband package does not...

It returns the message 'TypeError - Cannot convert undefined or null to object'
Also, in the modem settings tab, there is no modem settings file for the RM551e-GL modem - (but there are files for eg RM520N-GL).

I am running your packages in Immortal WRT, 24.10.4, Kernel 6.6.110, on a BPi-R4.

I hope the above is sufficient information.
Many thanks!

OK, fair enough. What theme would you suggest would be compatible with your Modemdata package please?

Thanks!

Thanks...

Regarding luci-app-modemdata - I also have that loaded, but please see my other post, as the info it displays is not as complete as 3ginfo-lite (unless the two can't be used together?)

And also, the info is displayed in vertical 'pages' and that truncates the sides...

=======================================

DO you want me to post all the info of - sh -x /usr/share/3ginfo-lite/3ginfo.sh  - as there is a lot!!

Hmm, maybe it's only two CA for 5G - but what happens if there is a 5th CA band (SCC5) ?

Thanks anyway...

I just realised, you meant this:

+QNWINFO: "FDD LTE","23430","LTE BAND 3",1617
+QNWINFO: "TDD NR5G","23430","NR5G BAND 78",646080

+QCAINFO: "PCC",1617,100,"LTE BAND 3",1,388,-80,-9,-51,18
+QCAINFO: "SCC",497,100,"LTE BAND 1",1,204,-88,-10,-70,19,0,-,-
+QCAINFO: "SCC",1815,100,"LTE BAND 3",1,388,-89,-9,-71,22,0,-,-
+QCAINFO: "SCC",646080,6,"NR5G BAND 78",521
+QCAINFO: "SCC",636768,6,"NR5G BAND 78",1,521,0,-,-

+QENG: "servingcell","NOCONN"
+QENG: "LTE","FDD",234,30,3C5E01,388,1617,3,5,5,668B,-80,-9,-51,19,11,100,-
+QENG: "NR5G-NSA",234,30,521,-95,25,-10,646080,78,6,1

+QSPN: "EE","EE","EE",0,"23430"