Hi all
I am currently having problems with getting the EC25-G module and LTE Base hat to work with a Vodafone sim card in the UK. First thing that I wanted to check that this is an acceptable combination?
I have tried both the ECM and PPP methods neither appear to be successful.
with regards to the PPP method:
I am using the following file:
/etc/chatscripts/chat-connect
ABORT “BUSY”
ABORT “NO CARRIER”
ABORT “NO DIALTONE”
ABORT “ERROR”
ABORT “NO ANSWER”
TIMEOUT 30
“” AT
OK AT+CPIN?
OK AT+CSQ
OK AT+CREG?
OK AT+CGREG?
OK AT+COPS?
OK AT+CGDCONT=1,“IP”,“wap.vodafone.co.uk”,0,0
OK AT+CGAUTH=1,1,“wap”,“wap”
#OK AT+CGDCONT=1,“IP”,“wap.vodafone.co.uk”,0,0
OK ATD*99#
CONNECT
I have modified these two lines in the file:
OK AT+CGDCONT=1,“IP”,“wap.vodafone.co.uk”,0,0
OK AT+CGAUTH=1,1,“wap”,“wap”
The reason I have modified the first line was to ensure the correct APN is being inserted.
The reason for adding the second line was to ensure that the required username (“wap”) and password (“wap”) was being used. I don’t know if this is the correct thing to do?
I get the following response:
pppd options in effect:
debug # (from /etc/ppp/peers/provider)
updetach # (from /etc/ppp/peers/provider)
persist # (from /etc/ppp/peers/provider)
dump # (from /etc/ppp/peers/provider)
auth # (from /etc/ppp/options)
-pap # (from /etc/ppp/options)
user wap # (from /etc/ppp/peers/provider)
password ??? # (from /etc/ppp/peers/provider)
remotename 3gppp # (from /etc/ppp/peers/provider)
/dev/ttyUSB3 # (from /etc/ppp/peers/provider)
115200 # (from /etc/ppp/peers/provider)
lock # (from /etc/ppp/peers/provider)
connect chat -s -v -f /etc/chatscripts/chat-connect -T wap.vodafone.co.uk # (from /etc/ppp/peers/provider)
disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)
nocrtscts # (from /etc/ppp/peers/provider)
modem # (from /etc/ppp/peers/provider)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/peers/provider)
novj # (from /etc/ppp/peers/provider)
novjccomp # (from /etc/ppp/peers/provider)
ipcp-accept-local # (from /etc/ppp/peers/provider)
ipcp-accept-remote # (from /etc/ppp/peers/provider)
ipparam 3gppp # (from /etc/ppp/peers/provider)
noipdefault # (from /etc/ppp/peers/provider)
ipcp-max-failure 30 # (from /etc/ppp/peers/provider)
defaultroute # (from /etc/ppp/peers/provider)
usepeerdns # (from /etc/ppp/peers/provider)
noccp # (from /etc/ppp/peers/provider)
noipx # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
alarm
Failed
Script chat -s -v -f /etc/chatscripts/chat-connect -T wap.vodafone.co.uk finished (pid 11319), status = 0x3
When I use ECM and follow the instructions provided - I get a momentary connection when the modem first boots shown by succesful ping tests, however, after a few tens of seconds the connection is aborted. I appear to get all of the correct responses as given by:
Then check the configuration of the module.
AT+QCFG=“usbnet” # Should return 1
Check the SIM is detected by the module.
AT+CPIN? # Should return READY
Check if the module is registered to the network.
AT+CREG? # Should return 0,1 or 0,5
Check the APN is right and have an IP.
AT+CGCONTRDP # Should return the APN details and IP address.
Can anybody offer me some guidance as to what might be the problem? Are there any log files I should be interrogating?
Many thanks
Laurence