676

Odp: ZTE MF289F - Porting OpenWRT

Grzebię trochę w oryginalnym FW.

/usr/sbin/uhttpd -f -h /www -r OpenWrt -x /cgi-bin -u /ubus -t 60 -T 30 -k 20 -A 1 -n 3 -N 100 -R -p 0.0.0.0:88 -p [::]:88

https://i.imgur.com/gCWmN26.png

Nawet da się wejść do wszystkich zakładek, ale to jest hybryda...

677

Odp: ZTE MF289F - Porting OpenWRT

To jest QSDK, framework qualcomma bazujący na super starym forku openwrt.

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

678 (edytowany przez m01 2023-02-07 18:33:05)

Odp: ZTE MF289F - Porting OpenWRT

maybe I found because it appears no carrier. There isn't in the list of the operators that one of the sim. Could it be a problem for calling?
now trying to use atd with 3ginfo page opened the modem gives results of random at command. It's anomal.

679

Odp: ZTE MF289F - Porting OpenWRT

No, just disable other daemons like 3ginfo. Only one process can access the serial port.

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

680 (edytowany przez tango38317 2023-02-08 14:23:25)

Odp: ZTE MF289F - Porting OpenWRT

Hi,
not sure if it is helpful or known, but found this commands. Tried a few of them, and did not receive an error:

sms_tool -D -d /dev/ttyUSB1 at "AT+CLAC"

&C
&D
&E
&F
&S
&V
&W
E
I
L
M
Q
V
X
Z
T
P
\Q
\S
\V
%V
D
A
H
O
S0
S2
S3
S4
S5
S6
S7
S8
S9
S10
S11
S30
S103
S104
+ZTEST
+FCLASS
+ICF
+IFC
+IPR
+GMI
+GMM
+GMR
+GCAP
+GSN
+DR
+DS
+CMEE
+WS46
+PACSP
+CLCC
+ZNVBAK
+ZNVRES
+ZNVREAD
+CBST
+CRLP
+CV120
+CHSN
+CSSN
+CREG
+CGREG
+CEREG
+CSCS
+CSTA
+CR
+CEER
+CRC
+CGDCONT
+CGDSCONT
+CGTFT
+CGEQREQ
+CGEQMIN
+CGEQOS
+CGCONTRDP
+CGSCONTRDP
+CGTFTRDP
+CGEQOSRDP
+CGQREQ
+CGQMIN
+CGEREP
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CALL
$QCDRX
$QCRSRP
$QCRSRQ
$QCACQDBC
$QCATMOD
$QCCOPS
^MODE
$QCSIMT
$QCNSP
$QCRCIND
$QCCSGCOPS
$QCPDPCFGEXT
$QCPRFCRT
$QCPRFMOD
$QCRSCP
$QCECNO
$QCPCOLIST
$QCMSISDN
$QCPCOMSISDN
$QCCALLATTR
$QCIMSSRV
$QCCCFC

681 (edytowany przez m01 2023-02-08 16:30:15)

Odp: ZTE MF289F - Porting OpenWRT

tango38317 napisał/a:

Hi,
not sure if it is helpful or known, but found this commands. Tried a few of them, and did not receive an error:

sms_tool -D -d /dev/ttyUSB1 at "AT+CLAC"

yes, I have the same list and for many commands I have the instruction of the function. It isn't complete. Try at+zlockband and you can see it isn't in this list. A little trick: you can use at commands in miniscule and without " ". Can you use at+zvoiceconnstate and report here the result?

just to say at+es enable /disable energy saving
at+esa setup energy saving
at+es? gives ,,
at+esa? gives 0,,,,0,0,255,
there are lot of function

another thing: is there a way to extract the firmware of the modem?

682

Odp: ZTE MF289F - Porting OpenWRT

Install adb_android, run adb shell, should working. And try backup all partition.

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

683

Odp: ZTE MF289F - Porting OpenWRT

Cezary napisał/a:

Install adb_android, run adb shell, should working. And try backup all partition.

is there a specific partition or I have to check all of them?

684

Odp: ZTE MF289F - Porting OpenWRT

Check all of them.

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

685

Odp: ZTE MF289F - Porting OpenWRT

in which file could be stored all at command?

686

Odp: ZTE MF289F - Porting OpenWRT

unknown

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

687 (edytowany przez rybirek 2023-02-10 17:30:53)

Odp: ZTE MF289F - Porting OpenWRT

Pozwolę sobie wrócić do DL/UP modemu.

Na oryginalnym FW miałem
https://i.imgur.com/2DT9l5C.png

Na OpenWRT nie byłem w stanie przekroczyć magicznego 150 DL
https://i.imgur.com/CDDhHym.png

Wyjąłem modem, włożyłem do przejściówki na USB i pod linuxem (qmi) uzyskałem na improwizowanych antenach.
https://i.imgur.com/h3GwaR2.png

Modem wrócił do routera i automagicznie.
https://i.imgur.com/120zlrI.png

Ciekawe co mi się naprawiło...


Edit.
Znowu popsułem, miałem zainstalowany własny obraz ze snapshota z 08.02, postanowiłem "posprzątać", zainstalowałem dzisiejszy snapshot z openwrt.org i znowu mam 150

688

Odp: ZTE MF289F - Porting OpenWRT

I can't connect with lan. There's a problem. I read identifying or unindentified network.

689

Odp: ZTE MF289F - Porting OpenWRT

Change port. On some builds one of them doesn't work.

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

690

Odp: ZTE MF289F - Porting OpenWRT

I tried both ports, I tried also to put static address. In windows isn't working but in my netbook with kubuntu yes. Inboth os lan1 isn't working. Do you know if there's a problem with the build?

691

Odp: ZTE MF289F - Porting OpenWRT

1. By default, lan1 is defined as wan. So first, add wan port to br-lan bridge.
2. Some builds (like mine, but not from openwrt) have some issues with this port - just don't work. But it was on previous builds, the current ones have not been tested yet.

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

692

Odp: ZTE MF289F - Porting OpenWRT

How can I add wan port to br-lan? I have an interface called wan with qmi cellular and wwan0

693

Odp: ZTE MF289F - Porting OpenWRT

Logical section called "wan". Edit /etc/config/network and add

list ports 'wan'

or

list ports 'eth1'

to section bridge with br-lan name. Depending on firmware version.

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

694

Odp: ZTE MF289F - Porting OpenWRT

Cezary napisał/a:

Logical section called "wan". Edit /etc/config/network and add

list ports 'wan'

or

list ports 'eth1'

to section bridge with br-lan name. Depending on firmware version.

I have in the list vlan. Is it needed for a correct connection and which is its function?

695

Odp: ZTE MF289F - Porting OpenWRT

Show mi output of cat /etc/board.json

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

696

Odp: ZTE MF289F - Porting OpenWRT

Cezary napisał/a:

Show mi output of cat /etc/board.json

        "network": {
                "lan": {
                        "device": "eth0",
                        "protocol": "static"
                },
                "wan": {
                        "device": "eth1",
                        "protocol": "dhcp"
                }
        },
        "switch": {
                "switch0": {
                        "enable": true,
                        "reset": true,
                        "ports": [
                                {
                                        "num": 0,
                                        "device": "eth0",
                                        "need_tag": false,
                                        "want_untag": true
                                },
                                {
                                        "num": 5,
                                        "role": "lan",
                                        "index": 2
                                },
                                {
                                        "num": 0,
                                        "device": "eth1",
                                        "need_tag": false,
                                        "want_untag": true
                                },
                                {
                                        "num": 2,
                                        "role": "wan"
                                }
                        ],
                        "roles": [
                                {
                                        "role": "lan",
                                        "ports": "5 0",
                                        "device": "eth0"
                                },
                                {
                                        "role": "wan",
                                        "ports": "2 0",
                                        "device": "eth1"
                                }

697

Odp: ZTE MF289F - Porting OpenWRT

config device
    option name 'br-lan'
    option type 'bridge'
    list ports 'eth0'
    list ports 'eth1'

But see this: https://github.com/openwrt/openwrt/issues/11916

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

698

Odp: ZTE MF289F - Porting OpenWRT

clear, it's a bug. What about vlan? Can I delete it? Which is its function?

699

Odp: ZTE MF289F - Porting OpenWRT

In 22.03 - not, leave it. 22.03 still using swconfig.

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

700

Odp: ZTE MF289F - Porting OpenWRT

Good afternoon dear ones. Please share copies of MTD16 , MTD17 version of AT2 for recovery.