1

(13 odpowiedzi, napisanych Sprzęt / Hardware)

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

2

(13 odpowiedzi, napisanych Sprzęt / Hardware)

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.

3

(13 odpowiedzi, napisanych Sprzęt / Hardware)

Thanks a lot!

4

(13 odpowiedzi, napisanych Sprzęt / Hardware)

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.

5

(13 odpowiedzi, napisanych Sprzęt / Hardware)

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?

6

(13 odpowiedzi, napisanych Sprzęt / Hardware)

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

7

(13 odpowiedzi, napisanych Sprzęt / Hardware)

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

8

(13 odpowiedzi, napisanych Sprzęt / Hardware)

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)"