Odp: ZTE MF286R - OpenWrt
Looks more similar to that modem , with @onken have , so ou can have the same problems.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Sprzęt / Hardware → ZTE MF286R - OpenWrt
Strony Poprzednia 1 … 14 15 16 17 18 … 50 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Looks more similar to that modem , with @onken have , so ou can have the same problems.
Different than mine. We still don't know how to use this modem.
Different than mine. We still don't know how to use this modem.
I understand. Maybe I can assist by trying some commands with the same OpenWrt image that you prepared for @onken?
Also, I have a question on band lock and aggregation. Locking command for a single band works great, no issue.
I used AT+ZNLOCKBAND=1,0,40,0 to lock to Band 7. The band lock is retained on reboot or power-off, so that is also good.
Is this information stored somewhere in the modem or in router's nv ram?
The reason I am asking is that I can see the following variables in nv ram:
admin@(none):~# nv show|grep lte_ca
lte_ca_pcell_band=7
lte_ca_pcell_tac=4119
lte_ca_pcell_bandwidth=20.0
lte_ca_scell_bandwidth=1.0
lte_ca_pcell_arfcn=3050
lte_ca_scell_arfcn=0
lte_ca_pcell_pci=70
lte_ca_scell_band=0
wan_lte_ca=ca_deconfigured
lte_ca_scell_info=0,0,0,0,1.0;Apart from wan_lte_ca which I do not know which values are applicable (could be ca_deconfigured, ca_configured, ca_enabled as per @Cezary post #31 in ZTE MF286 FW change? )
If I populate the values for the scell (and commit to nvram), will the modem retrieve this info from the nvram in the next reboot?
I am still trying to figure it out. I will try to perform more tests during the weekend.
Looks like temporary values from current connection.
Band is stored in modem.
Rozebrałem swój router z T-Mobile aby wlutować RS232
Wg oprogramowania firmowego wersja
CR_TMOPLMF286RV1.0.1.B04
MF286-1.0
Ale w środku pomiędzy przyciskami jest czarny napis MF286B-D-VGL V1.1
Na modemie nic nie ma oprócz dvaA oraz M_MLB
Po numerze seryjnym R6
Jak wlutuję RS-a to zrobię zrzut loga podczas startu na oryginalnym sofcie.
Edit:
Mak ktoś fotkę jak idą piny GDN RX i TX bo nie mogę znaleźć
vcc, tx, rx. gnd, tak samo jak w pozostałych. Vcc jest na górze.
kwadracik VCC ?
Edit:
znalazłem już fotkę
Obawiam się że modem nie będzie działał poprawnie na OpenWRT jak w mojej wersji z T-Mobile...
Lekko śmieszne jest to że mam chyba jedyny egzemplarz odmiany MF286R na którym działa modem. Po łataniu sterownika, ale działa.
Bo Cezary ma zawsze szczęście ![]()
Przypadek. Specjalnie go nie wybierałem.
Spróbuję naspawać jakiegoś patcha który robi na tym modemie quirk per USB ID. Można byłoby też zajrzeć do drivera RNDIS gadget, jakie są opcje nastawienia MACa po zdalnej stronie - ten modem w końcu działa na forku OpenWrt, więc może ma jakąś opcję do tego - zakładając że RNDIS device jest w Linuxie zrobione dobrze.
odpaliłem swojego ZTE MF 286R z T-Mobile
Nie mogę wrzucić całego logu bo jest za duży, potrzebny jest cały czy tylko fragmenty.
Jak cały to wrzucę na zewnętrzny serwis plików
Starting kernel ...
[ 0.000000] Linux version 3.3.8 (scl@scl_xa243_241) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Thu May 13 05:57:02 CST 2021
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA956X rev 0
[ 0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00008000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00008000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 21.990000] Load cfg new driver...
[ 21.990000] cfg init, /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[ 22.010000]
[ 22.010000] simcard_roam=Homewi
[ 22.010000] 73696d636172645f726f616d3d486f6d65007769
[ 22.110000]
[ 22.110000] cfg init end, /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[ 22.130000] cfg init, /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[ 22.150000]
[ 22.150000] TESTBITSIGNINFO=0000
[ 22.150000] 544553544249545349474e494e464f3d30303030
[ 22.160000]
[ 22.160000] cfg init end, /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[ 22.170000] cfg init, /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[ 22.180000] cfg driver error: /etc_rw/inic/cert open failure, file: /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c, line: 857!
[ 22.200000]
[ 22.200000]
[ 22.200000] 0000000000000000000000000000000000000000
[ 22.210000]
[ 22.210000] cfg init end, /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[ 22.220000] cfg init, /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[ 22.240000] cfg driver error: /etc_rw/inic/wapi open failure, file: /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c, line: 857!
[ 22.250000]
[ 22.250000]
[ 22.260000] 0000000000000000000000000000000000000000
[ 22.260000]
[ 22.260000] cfg init end, /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[ 22.300000] usbcore: registered new interface driver cdc_wdm
[ 22.730000] usbcore: registered new interface driver qmi_wwan
BusyBox v1.19.4 (2021-05-13 04:17:46 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
MM NM MMMMMMM M M
$MMMMM MMMMM MMMMMMMMMMM MMM MMM
MMMMMMMM MM MMMMM. MMMMM:MMMMMM: MMMM MMMMM
MMMM= MMMMMM MMM MMMM MMMMM MMMM MMMMMM MMMM MMMMM'
MMMM= MMMMM MMMM MM MMMMM MMMM MMMM MMMMNMMMMM
MMMM= MMMM MMMMM MMMMM MMMM MMMM MMMMMMMM
MMMM= MMMM MMMMMM MMMMM MMMM MMMM MMMMMMMMM
MMMM= MMMM MMMMM, NMMMMMMMM MMMM MMMM MMMMMMMMMMM
MMMM= MMMM MMMMMM MMMMMMMM MMMM MMMM MMMM MMMMMM
MMMM= MMMM MM MMMM MMMM MMMM MMMM MMMM MMMM
MMMM$ ,MMMMM MMMMM MMMM MMM MMMM MMMMM MMMM MMMM
MMMMMMM: MMMMMMM M MMMMMMMMMMMM MMMMMMM MMMMMMM
MMMMMM MMMMN M MMMMMMMMM MMMM MMMM
MMMM M MMMMMMM M M
M
---------------------------------------------------------------
For those about to rock... (QCA9558.LN, unknown)
---------------------------------------------------------------
admin@(none):~#
admin@(none):~# cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00010000 "u-boot"
mtd1: 00020000 00010000 "u-boot-env"
mtd2: 00140000 00010000 "reserved1"
mtd3: 000a0000 00020000 "fota-flag"
mtd4: 00080000 00020000 "art"
mtd5: 00080000 00020000 "mac"
mtd6: 000c0000 00020000 "reserved2"
mtd7: 00400000 00020000 "cfg-param"
mtd8: 00400000 00020000 "log"
mtd9: 000a0000 00020000 "oops"
mtd10: 00500000 00020000 "reserved3"
mtd11: 00800000 00020000 "web"
mtd12: 00300000 00020000 "kernel"
mtd13: 01a00000 00020000 "rootfs"
mtd14: 01900000 00020000 "data"
mtd15: 03200000 00020000 "fota"
mtd16: 01d00000 00020000 "firmware"
Jeszcze :
cat /sys/kernel/debug/usb/devices
Bo to kluczowe ,żeby rozpoznać,czy to jest modem jak Cezarego (i on z problemami dziala),czy tak jak pozostali ,i wtedy nie wiadomo jak go odpalić.
admin@(none):~# cat /sys/kernel/debug/usb/devices
T: Bus=02 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= 3.03
S: Manufacturer=Linux 3.3.8 ehci_hcd
S: Product=Generic Platform EHCI Controller
S: SerialNumber=ehci-platform.1
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=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 3, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.03
S: Manufacturer=Linux 3.3.8 ehci_hcd
S: Product=Generic Platform EHCI Controller
S: SerialNumber=ehci-platform.0
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= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1489 Rev=ff.ff
S: Manufacturer=ZTE
S: Product=ZTE
S: SerialNumber=123456789ABCD
C:* #Ifs= 8 Cfg#= 1 Atr=e0 MxPwr= 2mA
A: FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=03
A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01
A: FirstIf#= 6 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=e0(wlcon) Sub=01 Prot=03 Driver=rndis_host
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=1ms
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= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E: Ad=84(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=ff Driver=(none)
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=usbfs
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E: Ad=88(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
I: If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
admin@(none):~#
Tak, to ten niedziałający.
Szkoda, coś trzeba wyciągnąć z ustawień oryginalnego linuxa.
Po wyłączeniu LTE mogę wybierać wszystkie pasma.
Ale zauważyłem, aby samemu ręcznie uruchomić agregację oprócz
pasma LTE muszę mieć zaznaczone pasmo wcdma i gsm.
Czy te modemy tak mają (do tej pory używałem tylko E3131),
LTE
LTE FDD B1(2100MHz)
LTE FDD B3(1800MHz)
LTE FDD B7(2600MHz)
LTE FDD B8(900MHz)
LTE FDD B20(800MHz)
LTE TDD B38(2600MHz)
WCDMA
WCDMA 2100MHz
WCDMA 900MHz
GSM
GSM 1800MHz
GSM 900MHz
Ustawiasz przez gui producenta, a on może narzucać taki a nie inny sposób ustawienia.
W wolnej chwili po backup-ie partycji wrzucać openwrt?
czytam cały wątek i nie wiem czemu u @onkena uname -a nie działa
Na mojej wersji wyświetla
admin@(none):/etc_ro# uname -a
Linux (none) 3.3.8 #1 Thu May 13 05:57:02 CST 2021 mips GNU/Linux
Pytasz o jakies mało istotnie szczegóły
Nie wyświetla to nie wyświetla, nie ma się czym przejmować.
Samo openwrt powinno chodzić, możesz wrzucać.
Jeszcze chciałem popatrzeć co jest w logach ale /var/log jest pusty.
Pewnie to też już mało istotne ale faktycznie nie widać zmiany częstotliwości wszystko wykonuje się (zmiana kanału) w "adb shell date":
[ 5227.160000] /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/zte_genl_kernel-1.0/zte_genl_kernel_main.c[197]: INFO:Recv from userspace: [5]
3 KB/s (154 bytes in 0.042s)
2 KB/s (156 bytes in 0.057s)
adb shell date
Sun Mar 20 10:12:45 UTC 2022
3 KB/s (154 bytes in 0.042s)
adb shell date
Sun Mar 20 10:13:26 UTC 2022
adb shell date
Sun Mar 20 10:13:51 UTC 2022
3 KB/s (156 bytes in 0.042s)
3 KB/s (154 bytes in 0.043s)
adb shell date
Sun Mar 20 10:14:32 UTC 2022
3 KB/s (156 bytes in 0.042s)
RECONNECT_NEW:OpenReconnectNewSwitch
3 KB/s (154 bytes in 0.041s)
OnConnectSuccess
RECONNECT_NEW:OnConnectSuccess
RECONNECT_NEW:connected Rndis_RecordTime:Sun Mar 20 10:14:52 2022
Adapter index 6
MAC c6:45:9c:21:34:83
udhcpc (v1.19.4) started
Executing /etc_ro/udhcpc.sh deconfig
interface=usb0
Entering listen mode: raw
Opening raw socket on ifindex 6
Got raw socket fd 8
Attached filter to raw socket fd 8
Created raw socket
Adapter index 6
MAC c6:45:9c:21:34:83
Adapter index 6
MAC c6:45:9c:21:34:83
Adding option: 0x35 01
Adding option: 0x3d 01c6459c213483
Adding option: 0x39 0240
Adding option: 0x3c 756468637020312e31392e34
Sending discover...
hlen 6 xid 71775868 ciaddr 0 yiaddr 0 siaddr 0 giaddr 0
chaddr c6459c21348300000000000000000000
Adapter index 6
MAC c6:45:9c:21:34:83
Waiting on select...
[ 5408.030000]
[ 5408.030000] /home/scl/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/zte_genl_kernel-1.0/zte_genl_kernel_main.c[197]: INFO:Recv from userspace: [1]
Got valid DHCP packet
hlen 6 xid 71775868 ciaddr 0 yiaddr 645256ee siaddr 64525611 giaddr 0
chaddr c6459c21348300000000000000000000
Option found: 0x35 02
Option found: 0x36 64525611
Adapter index 6
MAC c6:45:9c:21:34:83
Adapter index 6
MAC c6:45:9c:21:34:83
Adding option: 0x35 03
Adding option: 0x3d 01c6459c213483
Adding option: 0x32 645256ee
Adding option: 0x36 64525611
Adding option: 0x39 0240
Adding option: 0x3c 756468637020312e31392e34
Sending select for 100.82.86.238...
hlen 6 xid 71775868 ciaddr 0 yiaddr 0 siaddr 0 giaddr 0
chaddr c6459c21348300000000000000000000
Adapter index 6
MAC c6:45:9c:21:34:83
Waiting on select...
Got valid DHCP packet
hlen 6 xid 71775868 ciaddr 0 yiaddr 645256ee siaddr 64525611 giaddr 0
chaddr c6459c21348300000000000000000000
Option found: 0x35 05
Option found: 0x33 00001c20
Lease of 100.82.86.238 obtained, lease time 7200
Option found: 0x01 ffffff00
Option found: 0x03 64525611
Option found: 0x06 d4026034d4027ffe
Option found: 0x0f 6c616e
Option found: 0x1c 645256ff
Option found: 0x33 00001c20
Option found: 0x35 05
Option found: 0x36 64525611
Option found: 0x3a 00000e10
Option found: 0x3b 0000189c
Option found: 0x01 ffffff00
Option found: 0x03 64525611
Option found: 0x06 d4026034d4027ffe
Option found: 0x0f 6c616e
Option found: 0x1c 645256ff
Option found: 0x33 00001c20
Option found: 0x36 64525611
Option found: 0x35 05
Option found: 0x3a 00000e10
Option found: 0x3b 0000189c
Executing /etc_ro/udhcpc.sh bound
route: SIOCDELRT: No such process
opms_wan_ifname=usb0
LanIfName=br0
#######start the mtu_set.sh##########
#######end the mtu_set.sh##########
sh: !=: unknown operand
sh: !=: unknown operand
adb shell date
Sun Mar 20 10:14:56 UTC 2022
192.168.0.1255.255.255.0init_dns_ip:tmp_byte_netmask is 0
init_dns_ip:tmp_byte_netmask is 255
init_dns_ip:tmp_byte_netmask is 255
init_dns_ip:tmp_byte_netmask is 255
interface=usb0
ip=100.82.86.238
subnet=255.255.255.0
mask=24
router=100.82.86.17
dns=212.2.96.52 212.2.127.254
domain=lan
broadcast=100.82.86.255
lease=7200
serverid=100.82.86.17
siaddr=100.82.86.17
opt53=05
opt58=00000e10
opt59=0000189c
Entering listen mode: none
3 KB/s (156 bytes in 0.039s)
3 KB/s (154 bytes in 0.042s)
OK
+ZRTEMP: 0,0,0,0,0,25
OK
+ZPOWERMODE: 1
OK
Raczej zrób cat /dev/ttyACM0 i zobacz jak modem odpowiada.
Strony Poprzednia 1 … 14 15 16 17 18 … 50 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Sprzęt / Hardware → ZTE MF286R - OpenWrt
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc