1

Temat: MF286D OpenWRT stuck on default APN

Hello,

Sorry if this was covered before, but I could not find a solution. Also, sorry for English.

I have successfully upgraded my (Three UK) ZTE MF286D to OpenWRT using the framework and also upgraded the modem from B02 to B12, however it seems stuck on the default (three.co.uk) APN, as such I can't use this router with a different operator.

I noticed this was mentioned by Pawol[1], but a solution is not obvious.

What I tried so far and failed:
1 - changed apn setting with qmi proto in /etc/config/network
2 - tried to change APN with AT commands
3 - switched to using modemmanager, even tried to create a new bearer, probably did some mistakes there

Nothing got me to connect to another operator (EE).

Any pointers?

Thanks


[1] - https://eko.one.pl/forum/viewtopic.php? … 87#p264287
"I also found out, that modem refuses to connect over
  QMI to APN other than configured in its EPS default bearer, available
  at AT+CGDCONT? command. Without that, however, modem happily connects
  over PPP at /dev/ttyUSB2 (its AT port)"

2

Odp: MF286D OpenWRT stuck on default APN

Hi,
show us output of

AT+CGDCONT?
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: MF286D OpenWRT stuck on default APN

Cezary napisał/a:

Hi,
show us output of

AT+CGDCONT?

Hi,

+CGDCONT: 1,"IPV4V6","three.co.uk","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","hos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 4,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1

4

Odp: MF286D OpenWRT stuck on default APN

Ah, you are from openwrt.org forum smile

chat -t 3 -e '' 'AT+CGDCONT=1,"IP","3internet"' OK >> /dev/ttyUSB1 < /dev/ttyUSB1

Without spaces, exactly that command, don't add spaces etc. And show again AT+CGDCONT?

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

5

Odp: MF286D OpenWRT stuck on default APN

I am not from that forum. I just posted the same problem there, alas no replies, thanks god for this one. smile

Anyway, here's the result. I guess it doesn't look good. BTW I have the EE SIM inside, not the Three one.

root@OpenWrt:~# chat -t 3 -e '' 'AT+CGDCONT=1,"IP","3internet"' OK >> /dev/ttyUSB1 < /dev/ttyUSB1

ERROR
root@OpenWrt:~# picocom /dev/ttyUSB1
picocom v3.1

+CGDCONT: 1,"IPV4V6","three.co.uk","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","hos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 4,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1

OK

6 (edytowany przez Cezary 2022-10-18 15:08:56)

Odp: MF286D OpenWRT stuck on default APN

Error? Try AT+CGDCONT=1,"IP","3internet" in picocom. And show
AT+CLCK=?
AT+CLCK?

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

7 (edytowany przez Lucian 2022-10-18 15:11:38)

Odp: MF286D OpenWRT stuck on default APN

Yeah, that works!

Type [C-a] [C-h] to see available commands
Terminal ready
AT+CGDCONT=1,"IP","3internet"

OK
AT+CLCK=?

+CLCK: ("AB","AC","AG","AI","AO","IR","OI","OX","SC","FD","PN","PU","PP","PC","PF")

OK
AT+CLCK?

ERROR
AT+CGDCONT?

+CGDCONT: 1,"IP","3internet","0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","hos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 4,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1

OK

Any idea how I can also instruct AT to set up user, password, pap auth?

8

Odp: MF286D OpenWRT stuck on default APN

Set in connection properties.

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

9 (edytowany przez Lucian 2022-10-18 15:25:56)

Odp: MF286D OpenWRT stuck on default APN

Amazing, it works (with modemmanager).  Thanks!
I have successfully set the "everywhere" (EE) APN and auth info.
It has connected, so far so good.

Can you recommend any resources for learning these AT commands? They seem such voodoo.

10

Odp: MF286D OpenWRT stuck on default APN

Use "at manual" from any zte modem (modems implements some subset of AT). But there is not available manual for mf286d.

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

11

Odp: MF286D OpenWRT stuck on default APN

Thanks a lot!

12

Odp: MF286D OpenWRT stuck on default APN

BTW, I've found this is better:
AT+CGDCONT=1,"IP",""

Ie just leave out the APN altogether, allow the user to set from the UI.

13

Odp: MF286D OpenWRT stuck on default APN

For AT command reference, this might be helpful: https://www.yantrr.com/wp-content/uploa … s_V2.5.pdf - most of Qualcoomm-based ZTE modems share the same set of commands.
I've seen one from ZM8620 (one from MF283) somewhere on the internet, this should be pretty close as well.

14

Odp: MF286D OpenWRT stuck on default APN

Leo-PL napisał/a:

For AT command reference, this might be helpful: https://www.yantrr.com/wp-content/uploa … s_V2.5.pdf - most of Qualcoomm-based ZTE modems share the same set of commands.
I've seen one from ZM8620 (one from MF283) somewhere on the internet, this should be pretty close as well.

Thank you