1

Temat: ZTE MF286D nie działa 3ginfo-lite

Witam, Nie działa mi 3ginfo-lite. Próbowałem zmieniać port na /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2

w /etc/config/network

config interface 'wan'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option auth 'none'
option pdptype 'ipv4'
option apn 'internet'
option pincode '1234'
option delay '30'
option sourcefilter '0'
option delegate '0'
option modes 'lte'

w /etc/config/3ginfo

config 3ginfo
option device '/dev/ttyUSB2'
option network 'wan'
option website 'http://www.btsearch.pl/szukaj.php?mode=std&search='

Po wpisaniu modemband.sh
Modem: ZTE MF286D
Supported LTE bands: 1 3 7 8 20 28 32 38
Enabled LTE bands: 1 3 7

1: FDD 2100 MHz
3: FDD 1800 MHz
7: FDD 2600 MHz
8: FDD   900 MHz
20: FDD  800 MHz
28: FDD  700 MHz
32: SDL 1500 MHz
38: TDD 2600 MHz

3ginfo
Device: ZTE CORPORATION MF286DMODULE
Revision: BD_TELIAMF286DV1.0.0B12
IMEI: 866754045147209
ICCID: 8948022217092665716F

Connected time: 0d, 00:48:38
TX: 34.4 MiB
RX: 102.8 MiB

Signal: 100 %
Mode: LTE B7 (2600 MHz)
Operator: T-Mobile #5GBardziej T-Mobile.pl (260 02)
Registration: registered, home network
CellID: 72702499 (4555A23)
LAC: 65534 (FFFE)
TAC: 58300 (E3BC)
Primary band: B7 (2600 MHz) @15.0 MHz
PCI: 82
EARFCN: 3175
RSSI: -51 dBm
RSRP: -83 dBm
RSRQ: -14 dB
SINR: 2.4 dB
Upload aggregation: ON

2

Odp: ZTE MF286D nie działa 3ginfo-lite

i co ci nie działa skoro sam pokazałeś że działa?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez radek3 2024-07-24 06:29:21)

Odp: ZTE MF286D nie działa 3ginfo-lite

W luci zakładka http://192.168.1.1/cgi-bin/luci/admin/modem/3ginfo-lite
Dostaję komunikat:
Wystąpił problem z odczytem danych z modemu.

Proszę sprawdzić:
1. Dostępność modemu w systemie.
2. Poprawność montażu karty SIM w modemie.
3. Port do komunikacji z modemem.

Nie wiem czy to ma związek ale zainstalowałem wszystkie pakiety z https://github.com/4IceG/Modem-extras

4

Odp: ZTE MF286D nie działa 3ginfo-lite

No to tego nie napisałeś że masz problem z wyświetlaniem tego w luci. Pokaż wynik polecenia:

sh -x /usr/share/3ginfo-lite/3ginfo.sh

Nic nie usuwaj, nic nie zmieniaj, włóż wynik w tagi [ code ] i [ /code ] (bez spacji oczywiście).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: ZTE MF286D nie działa 3ginfo-lite

root@OpenWrt:~# sh -x   /usr/share/3ginfo-lite/3ginfo.sh
+ RES=/usr/share/3ginfo-lite
+ /usr/share/3ginfo-lite/detect.sh
+ DEVICE=/dev/cdc-wdm0
+ '[' -z /dev/cdc-wdm0 ]
+ O=
+ '[' -e /usr/bin/sms_tool ]
+ sms_tool -D -d /dev/cdc-wdm0 at 'AT+CPIN?;+CSQ;+COPS=3,0;+COPS?;+COPS=3,2;+COPS?;+CREG=2;+CREG?'
tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ O=
+ CONFIG=modemdefine
+ uci show modemdefine
+ grep -o '@modemdefine\[[0-9]*\]\.modem'
+ xargs
+ wc -l
+ MODEMZ=1
+ '[[' 1 ]]
+ uci -q get 'modemdefine.@general[0].main_network'
+ SEC=
+ '[[' 1 '=' 0 ]]
+ '[[' 1 '=' 1 ]]
+ uci -q get 'modemdefine.@modemdefine[0].network'
+ SEC=wan
+ '[' -z wan ]
+ CONN_TIME=-
+ RX=-
+ TX=-
+ ifstatus wan
+ grep '"up": true'
+ NETUP='       "up": true,'
+ '[' -n '      "up": true,' ]
+ uci -q -P /var/state/ get network.wan.connect_time
+ CT=
+ '[' -z ]
+ ifstatus wan
+ awk '-F[:,]' '/uptime/ {print $2}'
+ xargs
+ CT=5091
+ '[' '!' -z 5091 ]
+ expr 5091 / 60 / 60 / 24
+ D=0
+ expr 5091 / 60 / 60 '%' 24
+ H=1
+ expr 5091 / 60 '%' 60
+ M=24
+ expr 5091 '%' 60
+ S=51
+ printf '%dd, %02d:%02d:%02d' 0 1 24 51
+ CONN_TIME='0d, 01:24:51'
+ date '+%s'
+ date '+%Y%m%d%H%M%S' -d @1721794736
+ CONN_TIME_SINCE=20240724061856
+ ifstatus wan
+ awk '-F"' '/l3_device/ {print $4}'
+ IFACE=wwan0
+ '[' -n wwan0 ]
+ ifconfig wwan0
+ awk '-F[()]' '/bytes/ {printf "%s",$2}'
+ RX='670.8 MiB'
+ ifconfig wwan0
+ awk '-F[()]' '/bytes/ {printf "%s",$4}'
+ TX='328.5 MiB'
+ echo
+ awk '-F[, ]' '/^\+CSQ/ {print $2}'
+ CSQ=
+ '[' x '=' x ]
+ CSQ=-1
+ '[' -1 -ge 0 -a -1 -le 31 ]
+ CSQ=
+ CSQ_PER=
+ COPS=
+ COPS_MCC=
+ COPS_MNC=
+ echo
+ awk '-F["]' '/^\+COPS:\s*.,2/ {print $2}'
+ COPS_NUM=
+ '[' -n  ]
+ echo
+ awk '-F["]' '/^\+COPS:\s*.,0/ {print $2}'
+ TCOPS=
+ '[' x '!=' x ]
+ '[' -z  ]
+ '[' -n  ]
+ '[' -z  ]
+ COPS=
+ '[[' '=~' ' ' ]]
sh:  : unknown operand
+ sms_tool -d /dev/cdc-wdm0 at 'AT+COPS?'
+ sed -n 2p
+ cut -d '"' -f2
+ tr -d '\r'
tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ isp=
+ isp_num=' '
+ isp_numws=
+ '[[' '=~' '^[0-9]+$' ]]
sh: ^[0-9]+$: unknown operand
+ LOCATIONFILE=/tmp/location
+ '[' -e /tmp/location ]
+ '[['  '=~' '^[0-9]+$' ]]
+ echo
+ xargs
+ awk '-F[, ]' '/^\+CPIN:/ {print $0;exit}'
+ T=
+ '[' -n  ]
+ echo
+ awk '-F[, ]' '/^\+CME ERROR:/ {print $0;exit}'
+ T=
+ '[' -n  ]
+ echo
+ 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
+ REG=
+ '[' -z  ]
+ echo
+ awk '-F[,]' '/^\+COPS/ {print $4;exit}'
+ MODE_NUM=
+ MODE=-
+ sms_tool -d /dev/cdc-wdm0 at at+cereg
tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ OTX=
+ echo
+ awk '-F[,]' '/^\+CEREG/ {printf "%s", toupper($3)}'
+ sed 's/[^A-F0-9]//g'
+ TAC=
+ '[' x '!=' x ]
+ TAC=-
+ TAC_HEX=-
+ uci -q get '3ginfo.@3ginfo[0].device'
+ CONF_DEVICE=/dev/ttyUSB2
+ + echo x/dev/ttyUSB2grep -q 192.168.

+ '[' -e /usr/bin/sms_tool ]
+ REGOK=0
+ '[' x '=' x1 ]
+ '[' x '=' x5 ]
+ '[' x '=' x6 ]
+ '[' x '=' x7 ]
+ getdevicevendorproduct /dev/cdc-wdm0
+ basename /dev/cdc-wdm0
+ devname=cdc-wdm0
+ readlink -f /sys/class/usbmisc/cdc-wdm0/device
+ devpath=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.5
+ T=/sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1
+ cat /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/idVendor
+ cat /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/idProduct
+ echo usb/19d21485
+ VIDPID=usb/19d21485
+ '[' -e /usr/share/3ginfo-lite/modem/usb/19d21485 ]
+ cat /tmp/sysinfo/board_name
+ . /usr/share/3ginfo-lite/modem/usb/19d21485
+ sms_tool -d /dev/cdc-wdm0 at 'at+zrssi;+zcellinfo?;+zcainfo?'
tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ O=
+ echo -
+ sed 's/LTE_A/LTE-A |/g'
+ sed s,/,+,
+ MODE=-
+ '['  '=' 0 ]
+ sms_tool -d /dev/cdc-wdm0 at ati
tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ OF=
+ echo
+ tr -s '\n'
+ xargs
+ DEVV=
+ sms_tool+ tr -s '\n'
+ xargs -d /dev/cdc-wdm0 at
 AT+GMR
tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ FWA=
+ echo
+ cut -c 8-
+ FW=
+ echo
+ awk -F 'Revision: ' '{print $1}'
+ xargs
+ MODELA=
+ echo+ awk -F 'Manufacturer: |CORPORATION' '{print $2}'+ xargs


+ MODELB=
+ sms_tool -d /dev/cdc-wdm0 at AT+CGMM
+ tr -s '\n'+ xargs

tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ MODELD=
+ SUB=MODULE
+ '[['  '==' '*MODULE*' ]]
+ echo
+ cut -c 9-
+ MODELDCUT=
+ MODEL=' '
+ + sms_tool -d /dev/cdc-wdm0 at AT+GSN
xargs
tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ O=
+ + echo
cut -c 8-
+ NR_I=
+ '[' -n  ]
+ sms_tool+ xargs
 -d /dev/cdc-wdm0 at AT+CIMI
tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ O=
+ echo
+ cut -c 9-
+ NR_C=
+ '[' -n  ]
+ sms_tool -d /dev/cdc-wdm0 at AT+ICCID
tcgetattr(/dev/cdc-wdm0)
tcsetattr(/dev/cdc-wdm0)
No response from modem.
failed tcsetattr(/dev/cdc-wdm0): Not a tty
+ O=
+ echo
+ awk -F '[:]' '/^\ICCID:/{print $2}'
+ xargs
+ NR_D=
+ '[' -n  ]
+ cat /sys/kernel/debug/usb/devices
+ PV='
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= 5.15
S:  Manufacturer=Linux 5.15.162 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.0.auto
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=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 5.15
S:  Manufacturer=Linux 5.15.162 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.0.auto
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= 0
D:  Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=19d2 ProdID=1485 Rev=52.87
S:  Manufacturer=ZTE,Incorporated
S:  Product=ZTE Technologies MSM
S:  SerialNumber=MF286DZTED000000
C:* #Ifs= 7 Cfg#= 1 Atr=80 MxPwr=896mA
A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=rndis_host
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host
E:  Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=85(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=87(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 5 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=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=0f(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=usbfs
E:  Ad=05(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=89(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms

T:  Bus=03 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= 5.15
S:  Manufacturer=Linux 5.15.162 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.1.auto
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=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 0
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 5.15
S:  Manufacturer=Linux 5.15.162 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-hcd.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms'
+ awk -F 'Vendor=19d2 ProdID=1485' '{print $2}'
+ cut -c-1220
+ echo 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=' 5.15 S: 'Manufacturer=Linux' 5.15.162 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.0.auto' '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=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=5000' 'MxCh=' 1 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 3.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=03' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0003' 'Rev=' 5.15 S: 'Manufacturer=Linux' 5.15.162 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.0.auto' '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=' 0 D: 'Ver=' 3.00 'Cls=00(>ifc' ')' 'Sub=00' 'Prot=00' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=19d2' 'ProdID=1485' 'Rev=52.87' S: 'Manufacturer=ZTE,Incorporated' S: 'Product=ZTE' Technologies MSM S: 'SerialNumber=MF286DZTED000000' 'C:*' '#Ifs=' 7 'Cfg#=' 1 'Atr=80' 'MxPwr=896mA' A: 'FirstIf#=' 0 'IfCount=' 2 'Cls=02(comm.)' 'Sub=06' 'Prot=00' 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=02' 'Prot=ff' 'Driver=rndis_host' E: 'Ad=82(I)' 'Atr=03(Int.)' 'MxPS=' 8 'Ivl=32ms' 'I:*' 'If#=' 1 'Alt=' 0 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=00' 'Prot=00' 'Driver=rndis_host' E: 'Ad=81(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=01(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 2 'Alt=' 0 '#EPs=' 2 'Cls=ff(vend.)' 'Sub=ff' 'Prot=ff' 'Driver=option' E: 'Ad=83(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=02(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 3 'Alt=' 0 '#EPs=' 3 'Cls=ff(vend.)' 'Sub=ff' 'Prot=ff' 'Driver=option' E: 'Ad=85(I)' 'Atr=03(Int.)' 'MxPS=' 10 'Ivl=32ms' E: 'Ad=84(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=03(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 4 'Alt=' 0 '#EPs=' 3 'Cls=ff(vend.)' 'Sub=ff' 'Prot=ff' 'Driver=option' E: 'Ad=87(I)' 'Atr=03(Int.)' 'MxPS=' 10 'Ivl=32ms' E: 'Ad=86(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=04(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 5 '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=8e(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=0f(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 6 'Alt=' 0 '#EPs=' 2 'Cls=ff(vend.)' 'Sub=42' 'Prot=01' 'Driver=usbfs' E: 'Ad=05(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=89(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' T: 'Bus=03' '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=' 5.15 S: 'Manufacturer=Linux' 5.15.162 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.1.auto' '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=04' 'Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=5000' 'MxCh=' 0 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 3.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=03' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0003' 'Rev=' 5.15 S: 'Manufacturer=Linux' 5.15.162 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.1.auto' 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=(none)' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=256ms'
+ PV85=' Rev=52.87 S: Manufacturer=ZTE,Incorporated S: Product=ZTE Technologies MSM S: SerialNumber=MF286DZTED000000 C:* #Ifs= 7 Cfg#= 1 Atr=80 MxPwr=896mA A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00 I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=rndis_host E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=32ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=87(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 5 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=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=0f(O) Atr=02(Bulk) MxPS=1024 I'
+ '[' -n ' Rev=52.87 S: Manufacturer=ZTE,Incorporated S: Product=ZTE Technologies MSM S: SerialNumber=MF286DZTED000000 C:* #Ifs= 7 Cfg#= 1 Atr=80 MxPwr=896mA A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00 I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=rndis_host E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=32ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=87(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 5 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=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=0f(O) Atr=02(Bulk) MxPS=1024 I' ]
+ echo ' Rev=52.87 S: Manufacturer=ZTE,Incorporated S: Product=ZTE Technologies MSM S: SerialNumber=MF286DZTED000000 C:* #Ifs= 7 Cfg#= 1 Atr=80 MxPwr=896mA A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00 I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=rndis_host E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=32ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=87(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms I:* If#= 5 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=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms E: Ad=0f(O) Atr=02(Bulk) MxPS=1024 I'+ grep -q
 'Driver=qmi_wwan'
+ PROTO=qmi
+ awk -F 'Vendor=19d2 ProdID=1432' '{print $2}'
+ cut -c-1220
+ echo 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=' 5.15 S: 'Manufacturer=Linux' 5.15.162 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.0.auto' '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=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=5000' 'MxCh=' 1 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 3.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=03' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0003' 'Rev=' 5.15 S: 'Manufacturer=Linux' 5.15.162 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.0.auto' '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=' 0 D: 'Ver=' 3.00 'Cls=00(>ifc' ')' 'Sub=00' 'Prot=00' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=19d2' 'ProdID=1485' 'Rev=52.87' S: 'Manufacturer=ZTE,Incorporated' S: 'Product=ZTE' Technologies MSM S: 'SerialNumber=MF286DZTED000000' 'C:*' '#Ifs=' 7 'Cfg#=' 1 'Atr=80' 'MxPwr=896mA' A: 'FirstIf#=' 0 'IfCount=' 2 'Cls=02(comm.)' 'Sub=06' 'Prot=00' 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=02(comm.)' 'Sub=02' 'Prot=ff' 'Driver=rndis_host' E: 'Ad=82(I)' 'Atr=03(Int.)' 'MxPS=' 8 'Ivl=32ms' 'I:*' 'If#=' 1 'Alt=' 0 '#EPs=' 2 'Cls=0a(data' ')' 'Sub=00' 'Prot=00' 'Driver=rndis_host' E: 'Ad=81(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=01(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 2 'Alt=' 0 '#EPs=' 2 'Cls=ff(vend.)' 'Sub=ff' 'Prot=ff' 'Driver=option' E: 'Ad=83(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=02(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 3 'Alt=' 0 '#EPs=' 3 'Cls=ff(vend.)' 'Sub=ff' 'Prot=ff' 'Driver=option' E: 'Ad=85(I)' 'Atr=03(Int.)' 'MxPS=' 10 'Ivl=32ms' E: 'Ad=84(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=03(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 4 'Alt=' 0 '#EPs=' 3 'Cls=ff(vend.)' 'Sub=ff' 'Prot=ff' 'Driver=option' E: 'Ad=87(I)' 'Atr=03(Int.)' 'MxPS=' 10 'Ivl=32ms' E: 'Ad=86(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=04(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 5 '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=8e(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=0f(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' 'I:*' 'If#=' 6 'Alt=' 0 '#EPs=' 2 'Cls=ff(vend.)' 'Sub=42' 'Prot=01' 'Driver=usbfs' E: 'Ad=05(O)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' E: 'Ad=89(I)' 'Atr=02(Bulk)' 'MxPS=1024' 'Ivl=0ms' T: 'Bus=03' '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=' 5.15 S: 'Manufacturer=Linux' 5.15.162 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.1.auto' '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=04' 'Lev=00' 'Prnt=00' 'Port=00' 'Cnt=00' 'Dev#=' 1 'Spd=5000' 'MxCh=' 0 B: 'Alloc=' 0/800 us '(' '0%),' '#Int=' 0, '#Iso=' 0 D: 'Ver=' 3.00 'Cls=09(hub' ')' 'Sub=00' 'Prot=03' 'MxPS=' 9 '#Cfgs=' 1 P: 'Vendor=1d6b' 'ProdID=0003' 'Rev=' 5.15 S: 'Manufacturer=Linux' 5.15.162 xhci-hcd S: 'Product=xHCI' Host Controller S: 'SerialNumber=xhci-hcd.1.auto' 'C:*' '#Ifs=' 1 'Cfg#=' 1 'Atr=e0' 'MxPwr=' 0mA 'I:*' 'If#=' 0 'Alt=' 0 '#EPs=' 1 'Cls=09(hub' ')' 'Sub=00' 'Prot=00' 'Driver=(none)' E: 'Ad=81(I)' 'Atr=03(Int.)' 'MxPS=' 4 'Ivl=256ms'
+ PV32=
+ '[' -n  ]
+ cat
{
"conn_time":"0d, 01:24:51",
"conn_time_sec":"5091",
"conn_time_since":"20240724061856",
"rx":"670.8 MiB",
"tx":"328.5 MiB",
"modem":" ",
"mtemp":"",
"firmware":"",
"cport":"/dev/cdc-wdm0",
"protocol":"qmi",
"csq":"",
"signal":"",
"operator_name":"",
"operator_mcc":"",
"operator_mnc":"",
"location":"",
"mode":"-",
"registration":"",
"simslot":"",
"imei":"",
"imsi":"",
"iccid":"",
"lac_dec":"",
"lac_hex":"",
"tac_dec":"",
"tac_hex":"-",
"tac_h":"",
"tac_d":"",
"cid_dec":"",
"cid_hex":"",
"pci":"",
"earfcn":"",
"pband":"",
"s1band":"",
"s1pci":"",
"s1earfcn":"",
"s2band":"",
"s2pci":"",
"s2earfcn":"",
"s3band":"",
"s3pci":"",
"s3earfcn":"",
"s4band":"",
"s4pci":"",
"s4earfcn":"",
"rsrp":"",
"rsrq":"",
"rssi":"",
"sinr":""
}
+ exit 0

6 (edytowany przez Cezary 2024-07-24 06:56:57)

Odp: ZTE MF286D nie działa 3ginfo-lite

Nie nie nie. Napisałeś że ustawiłeś w konfig /dev/ttyUSB2 to czemu odwołujesz się /dev/cdc-wdm0 ? To nie jest interfejs diagnostically modemu. Ustaw jeszcze raz /dev/ttyUSB2 i pokaż wynik (w ustawieniach modułu, nie połączenie z internetem - tam ma zostać /dev/cdc-wdm0).

Zainstalowałeś może "luci-app-modemdefine" i tam wybrałeś z jakiegoś powodu /dev/cdc-wdm0? To źle. Ma być /dev/ttyUSB2

A jeszcze lepiej zmień na /dev/ttyUSB1

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: ZTE MF286D nie działa 3ginfo-lite

Tak, po przestawieniu /dev/cdc-wdm0 na /dev/ttyUSB2 w luci-app-modemdefine zakładka 3ginfo-lite działa smile.
Bardzo dziękuję