Kyle Bruneau
Forum Replies Created
-
AuthorPosts
-
Kyle Bruneau
ParticipantHi Lonny,
Thank you for the assistance. I edited the chat script to be identical to what you supplied.
As a separate check,
AT+CGDCONT=3,”IP”,”XXXX.vzwstatic”
OKAT+CGDCONT?
+CGDCONT: 1,”IPV4V6″,”vzwims”,””,0,0
+CGDCONT: 2,”IPV4V6″,”vzwadmin”,””,0,0
+CGDCONT: 3,”IP”,”XXXX.vzwstatic”,””,0,0ATD*99***3#
CONNECT
~}#þ!}!}!} }8}”}&} } } } }#}$þ#}%}&þ}$.¬}’}”}(}”‘þ~~}#þ!}!}!} }8}”}&} } } } }#}$þ#}%}&þ}$.¬}’}”}(}”‘þ~~}#þ!}!}!} }8}”}&} } } } }#}$þ#}%}&þ}$.¬}’}”}(}”‘þ~~}#þ!}!}!} }8}”}&} } } } }#}$þ#}%}&þ}$.¬}’}”}(}”‘þ~~}#þ!}!}!} }8}”}&} } } } }#} ~
NO CARRIERAT+CGDCONT=3,”IPV4V6″,”vzwinternet”
OKAT+CGDCONT?
+CGDCONT: 1,”IPV4V6″,”vzwims”,””,0,0
+CGDCONT: 2,”IPV4V6″,”vzwadmin”,””,0,0
+CGDCONT: 3,”IPV4V6″,”vzwinternet”,””,0,0ATD*99***3#
CONNECT
~}#þ!}!}!} }8}”}&} } } } }#}$þ#}%}&@}-i}’}”}(}”b~~}#þ!}!}!} }8}”}&} } } } }#}$þ#}%}&@}-i}’}”}(}”b~~}#þ!}!}!} }8}”}&} } } } }#}$þ#}%}&@}-i}’}”}(}”b~~}#þ!}!}!} }8}”}&} } } } }#}$þ#}%}&@}-i ~
NO CARRIERThoughts?
-
This reply was modified 7 years, 5 months ago by
Kyle Bruneau.
Kyle Bruneau
ParticipantHello,
I have another question concerning this topic, using a MTQ-LVW3-B02 model modem, and I am getting a error when trying to set AT+CGDCONT.
The modem is on ttyS2, linux kernel version 4.9.24.
under /etc/ppp/peers/provider
# example configuration for a dialup connection authenticated with PAP or CHAP
#
# This is the default configuration used by pon(1) and poff(1).
# See the manual page pppd(8) for information on all the options.# MUST CHANGE: replace myusername@realm with the PPP login name given to
# your by your provider.
# There should be a matching entry with the password in /etc/ppp/pap-secrets
# and/or /etc/ppp/chap-secrets.
# user “myusername@realm”# MUST CHANGE: replace ******** with the phone number of your provider.
# The /etc/chatscripts/pap chat script may be modified to change the
# modem initialization string.
connect “/usr/sbin/chat -v -t6 -f /etc/chatscripts/provider”# Serial device to which the modem is connected.
/dev/ttyS2# Speed of the serial line.
115200# Assumes that your IP address is allocated dynamically by the ISP.
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
defaultroute# Makes pppd “dial again” when the connection is lost.
persist# Do not ask the remote to authenticate.
noauth
debugunder /etc/chatscripts/provider,
# You can use this script unmodified to connect to sites which allow
# authentication via PAP, CHAP and similar protocols.
# This script can be shared among different pppd peer configurations.
# To use it, add something like this to your /etc/ppp/peers/ file:
#
# connect “/usr/sbin/chat -v -f /etc/chatscripts/pap -T PHONE-NUMBER”
# user YOUR-USERNAME-IN-PAP-SECRETS
# noauth# Uncomment the following line to see the connect speed.
# It will be logged to stderr or to the file specified with the -r chat option.
#REPORT CONNECTABORT BUSY
ABORT VOICE
ABORT “NO CARRIER”
ABORT “NO DIALTONE”
ABORT “NO DIAL TONE”
“” “AT”
OK AT+CMEE=1
OK AT+CPIN?
OK AT+CGDCONT=1,”IP”,”XXXX.VZWSTATIC”
OK AT+CGDCONT?
OK ATD*99***1#
CONNECT “”My output is fine until the AT+CGDCONT line is called, at which point I get a CME Error of 3, which the documentation says is “operation not allowed”.
Referencing the following document,
If I start a minicom session and try the following,
AT+CPIN?
+CPIN: READYAT+CSQ
+CSQ: 27,4AT+CREG?
+CREG: 0,3AT+CGDCONT=?
+CGDCONT: (1-4),”IP”,,,0,(0-4),(0,1),(0,1),(0,1),(0,1)
+CGDCONT: (1-4),”IPV6″,,,0,(0-4),(0,1),(0,1),(0,1),(0,1)
+CGDCONT: (1-4),”IPV4V6″,,,0,(0-4),(0,1),(0,1),(0,1),(0,1)AT+CGDCONT?
+CGDCONT: 1,”IPV4V6″,”vzwims”,””,0,0
+CGDCONT: 2,”IPV4V6″,”vzwadmin”,””,0,0
+CGDCONT: 3,”IPV4V6″,”vzwinternet”,””,0,0AT+CMEE=2
OKAT+CGDCONT=1,”IPV4V6″,”XXXX.VZWSTATIC”
+CME ERROR: operation not allowedAT+CGDCONT=1,”IPV4V6″,”vzwims”
OK
ATD*99***1#
NO CARRIERAny thoughts or pointers would be greatly appreciated.
-
This reply was modified 7 years, 5 months ago by
-
AuthorPosts