I have a quectel EC25-AF, trying to connect to AT&T. My
config interface 'wwan'
option device '/dev/cdc-wdm0'
option proto 'qmi'
option ipv6 '0'
option profile '1'
option pdptype 'IP'
option defaultgateway '1'
option metric '50'
option disabled '0'
option auto '0'
option autoconnect '0'
option dhcp '0'
option apn 'broadband'
This does not work, connection not to be established. Digging deeper, I found (after factory reset of modem)
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","nxtgenphone","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","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
After changing this to
+CGDCONT: 1,"IP","broadband","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","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
big success. Connection is established, and stable.
BUT: What is the purpose of option pdptype 'IP' ?
Shouldn't it create a pdptype, like the one I manually created, using AT-cmd ?