226 (edytowany przez MiG25 2022-08-19 07:21:26)

Odp: ZTE MF289F - Porting OpenWRT

smereka napisał/a:

Też testowałem "kody krótkie"  cokolwiek to miało znaczyć -  rozumiem że w mniemaniu programisty miały to być USSD ale nie działają na mojej sztuce też. Nawet nie mrugnie żeby przejść na 3g. Bo nie wiem czy u nas w Polsce już zrobili obsługę ussd po lte. Na E3276 na pewno zrzuca do 3g a potem z automatu wraca.  Pod openwrt przypuszczam że będzie lux. Jutro MiGu sprawdzę jeszcze raz ten tryb. Na razie z tydzień lub 2 ma mi wyświetlić uptime i stabilność. Jak będzie ok to mogę testować openwrt. Sprawdzałeś na swojej sztuce Rj11?

Tak , po wysłaniu kodu USSD powinien zrzucić na chwilę na 3G , ale tego nie robi , nawet jak mu się wymusi tryb 3G , to i tak nie wysyła...
Ale w konsoli wysłanie

echo -e -n 'AT+CUSD=1,"*136#",15\r' > /dev/ttyUSB1 && cat /dev/ttyUSB1

Bez problemu zrzuca (bo na chwilę zielona dioda się zapala) , i w konsoli odpowiedź jest...(więc OpenWRT nie będzie miał problemu z USSD)

Niestety złącza RJ11 nie sprawdzałem , nie mam telefonu takiego , no i w sumie od dzwonienia mam komórkę smile

EDIT: W zasadzie to kody USSD będą działać z modemm z Vodafone , z Tmobile o trzeba sprawdzić...

227

Odp: ZTE MF289F - Porting OpenWRT

stich so mtd20 or mt21 you want?

228

Odp: ZTE MF289F - Porting OpenWRT

smereka napisał/a:

stich so mtd20 or mt21 you want?

Mtd21

229

Odp: ZTE MF289F - Porting OpenWRT

But in my version is only 0-19 mtd partition

I understand you mean this command should show all partition yes?

cat /proc/mtd

230 (edytowany przez stich86 2022-08-19 10:35:51)

Odp: ZTE MF289F - Porting OpenWRT

smereka napisał/a:

But in my version is only 0-19 mtd partition

I understand you mean this command should show all partition yes?

cat /proc/mtd

Please share a cat /proc/mtd

231

Odp: ZTE MF289F - Porting OpenWRT

admin@(none):~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "0:SBL1"
mtd1: 00020000 00010000 "0:MIBIB"
mtd2: 00060000 00010000 "0:QSEE"
mtd3: 00010000 00010000 "0:CDT"
mtd4: 00010000 00010000 "0:DDRPARAMS"
mtd5: 00010000 00010000 "0:APPSBLENV"
mtd6: 000c0000 00010000 "0:APPSBL"
mtd7: 00050000 00010000 "0:reserved1"
mtd8: 000a0000 00020000 "fota-flag"
mtd9: 00080000 00020000 "0:ART"
mtd10: 00080000 00020000 "mac"
mtd11: 000c0000 00020000 "reserved2"
mtd12: 00400000 00020000 "cfg-param"
mtd13: 00400000 00020000 "log"
mtd14: 000a0000 00020000 "oops"
mtd15: 00500000 00020000 "reserved3"
mtd16: 00800000 00020000 "web"
mtd17: 01d00000 00020000 "rootfs"
mtd18: 01900000 00020000 "data"
mtd19: 03200000 00020000 "fota"
mtd20: 0041e000 0001f000 "kernel"
mtd21: 00f04000 0001f000 "ubi_rootfs"


But why in initframs is only to mtd19. How I can do backup 20 and 21 on OFW?

232

Odp: ZTE MF289F - Porting OpenWRT

Because with initramfs you have to do ubiattach

I’ll try to extract ubifs with tools.. sad

Otherwise you have to do some tricks to backup under OFW

233 (edytowany przez stich86 2022-08-19 12:02:05)

Odp: ZTE MF289F - Porting OpenWRT

In initram try to do:

ubiattach -m 17

Then backup /dev/ubi0_1 or something like that

234

Odp: ZTE MF289F - Porting OpenWRT

describe this trick and I will try do

235

Odp: ZTE MF289F - Porting OpenWRT

smereka napisał/a:

describe this trick and I will try do

Read my last msg wink

236 (edytowany przez MiG25 2022-08-20 11:09:36)

Odp: ZTE MF289F - Porting OpenWRT

@stich86   i tried your last build ,and
- configs for @IceG extensions have still default ttyUSB0 ( i remember you tried to "personalize " it)
- Physically ports are mixed/crossed ( you have to connect to upper port to receive IP from router , while lower port is waiting for IP - is WAN)  , WAN is assigned as eth1 - with should be LAN( should be eth1)....
https://i.ibb.co/jbQPFNZ/network.jpg

- did you figure out to reset modem without reseting router it self ?
- did ou notice ,that in MF286D and MF286F ,when you set a channel 132 clients are connecting onl in 40MHz wide ( router it self is saying that channel can be 80MHz) , same situation is on ofw's.... Seting channels like 100 , 149 are ok.
- Set of channel 165 is not possible (even when you set to US) ,so maybe there is a way to cut it from channels list....

237

Odp: ZTE MF289F - Porting OpenWRT

MiG25 napisał/a:

@stich86   i tried your last build ,and
- configs for @IceG extensions have still default ttyUSB0 ( i remember you tried to "personalize " it)
- Physically ports are mixed/crossed ( you have to connect to upper port to receive IP from router , while lower port is waiting for IP - is WAN)  , WAN is assigned as eth1 - with should be LAN( should be eth1)....
https://i.ibb.co/jbQPFNZ/network.jpg

- did you figure out to reset modem without reseting router it self ?
- did ou notice ,that in MF286D and MF286F ,when you set a channel 132 clients are connecting onl in 40MHz wide ( router it self is saying that channel can be 80MHz) , same situation is on ofw's.... Seting channels like 100 , 149 are ok.
- Set of channel 165 is not possible (even when you set to US) ,so maybe there is a way to cut it from channels list....

i'll try to responde to each question:

- yes, i've configured using custom etc, but looks like it doesn't work.. shoud i dig why
- currently it's stock configuration as OpenWRT, also stock image of MF286D is configured in this way, only EKO build are configured correctly
- not yet, only way ATM is to use AT+CFUN=1 to reset the baseband and avoid all router reboot
- not tried, but here we have to do test on both AT1\AT2 becasue there is a QCA9984 that is very different from IPA4019 5.8G
- not tried, also there i'll check it with my other friends with AT2 rev

238

Odp: ZTE MF289F - Porting OpenWRT

smereka napisał/a:

describe this trick and I will try do

ok i was able to extract the ubifs, the 5G board data of your firmware is the same of VFDE dump (AT2 ver), so you should not have any issue on 5.8G band

Have you done other tests?

let me know

thanks

239

Odp: ZTE MF289F - Porting OpenWRT

On monday I do.Now I have no access to this router

240

Odp: ZTE MF289F - Porting OpenWRT

Okay. Or what exactly should I test. 5GHz radio right? I have to rip those partitions with tricks too, is it unnecessary?

241

Odp: ZTE MF289F - Porting OpenWRT

smereka napisał/a:

Okay. Or what exactly should I test. 5GHz radio right? I have to rip those partitions with tricks too, is it unnecessary?

No more, I’ve extracted them from mtd17 dump

Test if you are getting correct speed (866mbps @ 80mhz)

242

Odp: ZTE MF289F - Porting OpenWRT

On all channels...

243 (edytowany przez stich86 2022-08-22 19:43:13)

Odp: ZTE MF289F - Porting OpenWRT

i've fixed some issues pointed by @MiG25

https://github.com/stich86/OpenWRT-ZTE- … ild_220822

let me know smile

in meantime i've found another bug.. port "LAN2" has not the same id for AT1 and AT2... what a mess

244

Odp: ZTE MF289F - Porting OpenWRT

Looks fine smile
Modem works from start( no need to configure wan) ,also @IceG stuff configured ( onl in preffered LTE Bands /configuration port is not  defined ,but setting bands works).

BTW. Is it possible to have bigger/ wider answer window ? This scrolling right is annoing... @IceG ?

245

Odp: ZTE MF289F - Porting OpenWRT

MiG25 napisał/a:

Looks fine smile
Modem works from start( no need to configure wan) ,also @IceG stuff configured ( onl in preffered LTE Bands /configuration port is not  defined ,but setting bands works).

BTW. Is it possible to have bigger/ wider answer window ? This scrolling right is annoing... @IceG ?

Still issue on connection monitor… looks like it doesn’t work because WAN protocol isn’t recognized sad

What is missing from modemband plugin?

246

Odp: ZTE MF289F - Porting OpenWRT

In configuration subsection , there is a Port for communication with the modem , with is empty , so probably also in config file it is not set.

247

Odp: ZTE MF289F - Porting OpenWRT

MiG25 napisał/a:

In configuration subsection , there is a Port for communication with the modem , with is empty , so probably also in config file it is not set.

The communication port is get from the modem configuration, so I don’t think it’s necessary to change it again

248 (edytowany przez IceG 2022-08-22 20:50:02)

Odp: ZTE MF289F - Porting OpenWRT

MiG25 napisał/a:

In configuration subsection , there is a Port for communication with the modem , with is empty , so probably also in config file it is not set.

Pakiet ma zapisany domyslny port dla modemu, więc nie trzeba tego specjalnie ustawiać. Dodalem jednak możliwość wyboru jeżeli uzytkownik zmienial konfiguracje modemu i przestawily się porty.

MiG25 napisał/a:

BTW. Is it possible to have bigger/ wider answer window ? This scrolling right is annoing... @IceG ?

Ktore okno mialoby być wieksze?

Używasz moich pakietów/obrazów z github?
Chcesz abym dalej je rozwijał i tworzył nowe?
Postaw kawę

249

Odp: ZTE MF289F - Porting OpenWRT

stich86 napisał/a:

i've fixed some issues pointed by @MiG25

https://github.com/stich86/OpenWRT-ZTE- … ild_220822

let me know smile

in meantime i've found another bug.. port "LAN2" has not the same id for AT1 and AT2... what a mess

So do dts with common nodes and different dts for both version.

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

250 (edytowany przez MiG25 2022-08-22 20:59:20)

Odp: ZTE MF289F - Porting OpenWRT

To z odpowiedzią  ( Replay) szersze smile
https://i.ibb.co/6WYQWGG/ATCommands.jpg

Bo w wysokością to się samo dostosowuje ok , może udałoby się dostosować tak aby było możliwie najszersze ( w zależności od odpowiedzi...).