Hello Fomi,
i’m from India so i have to use B5 band , i was go and read sheet (https://www.quectel.com/UploadImage/Downlad/Quectel_EG9x_AT_Commands_Manual_V1.1.pdf).
i’m not able to access internet please guide me
Hi, @varun
I’ve ever written a tutorial about how to use LTE function on RAK7243 with LTE (Pilot gateway pro), which is RPi + RAK2013 + RAK2245, and it is also suitable for RPi + RAK2013.
You can refer to it:
i have done all step by step still i’m not able to see anything .
Have you looked all the content of that topic? If not, i think you need to do it. Because there are also some other steps in that topic.
Now I have to use lte module for internet. So what to do now
I attached screenshot of LTE module and 2245 pi hat
I know RPi have one uart that’s why lora concentrator should work on I2C.
I remove two diode d7 & d8 according to your team.
U also attached screenshot.
Please find out attached file .please guide me step by step which image i have to use
ae3f54db17339786c2b02814fed428c0aaa1328e_2_375x500|375x500 !
i used this image - * RAK7243_LTE_based_on_LoRaGateway_OS_V2.0_20190314.rootfs.rpi-sdimg.gz
Three Led are working Green , blue and red.
please guide me.
Please reply it still i’m waiting.
Have you configured “Enable LET auto start” with "sudo gateway-config"command?
please run “sudo monit status” to check “quectel-ppp” staus
yes, i enabled via command " Enable LET auto start "
Please see attached screenshot.
please tell me what is next step
I have EG95 NA module so in India i have to use only b5 band .
ok, please do these steps to check log.
-
sudo monit stop quectel-ppp
-
sudo nano /etc/ppp/peers/quectel-ppp
uncomment nodetach flag -
sudo /usr/sbin/pppd call quectel-ppp
in addition you can try to change dial config file like this.
sudo nano /etc/ppp/peers/quectel-chat-connect
//## Check with service provider for required details
//## add this line to use automatic mode
OK AT+COPS=0
please see screen shot
raspberrypi3:~$ sudo /usr/sbin/pppd call quectel-ppp
pppd options in effect:
debug # (from /etc/ppp/peers/quectel-ppp)
nodetach # (from /etc/ppp/peers/quectel-ppp)
dump # (from /etc/ppp/peers/quectel-ppp)
noauth # (from /etc/ppp/peers/quectel-ppp)
user $LTE_USERNAME # (from /etc/ppp/peers/quectel-ppp)
password ??? # (from /etc/ppp/peers/quectel-ppp)
remotename 3gppp # (from /etc/ppp/peers/quectel-ppp)
/dev/ttyAMA0 # (from /etc/ppp/peers/quectel-ppp)
115200 # (from /etc/ppp/peers/quectel-ppp)
lock # (from /etc/ppp/peers/quectel-ppp)
connect /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-connect # (from /etc/ppp/peers/quectel-ppp)
disconnect /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-disconnect # (from /etc/ppp/peers/quectel-ppp)
crtscts # (from /etc/ppp/peers/quectel-ppp)
local # (from /etc/ppp/peers/quectel-ppp)
hide-password # (from /etc/ppp/peers/quectel-ppp)
novj # (from /etc/ppp/peers/quectel-ppp)
novjccomp # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-local # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-remote # (from /etc/ppp/peers/quectel-ppp)
ipparam 3gppp # (from /etc/ppp/peers/quectel-ppp)
noipdefault # (from /etc/ppp/peers/quectel-ppp)
defaultroute # (from /etc/ppp/peers/quectel-ppp)
usepeerdns # (from /etc/ppp/peers/quectel-ppp)
noccp # (from /etc/ppp/peers/quectel-ppp)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 20 seconds
send (AT^M)
expect (OK)
AT^M^M
OK
– got it
send (ATE0^M)
expect (OK)
^M
ATE0^M^M
OK
– got it
send (ATI^M)
expect (OK)
^M
^M
Quectel^M
EG95^M
Revision: EG95NAFBR05A04M4G^M
^M
OK
– got it
send (AT+CSQ^M)
expect (OK)
^M
^M
+CSQ: 99,99^M
^M
OK
– got it
send (AT+CPIN?^M)
expect (OK)
^M
^M
+CPIN: READY^M
^M
OK
– got it
send (AT+COPS?^M)
expect (OK)
^M
^M
+COPS: 0^M
^M
OK
– got it
send (AT+CGREG?^M)
expect (OK)
^M
^M
+CGREG: 0,2^M
^M
OK
– got it
send (ATZ^M)
expect (OK)
^M
^M
OK
– got it
send (AT+CGDCONT=1,“IP”,"",0,0^M)
expect (OK)
^M
AT+CGDCONT=1,“IP”,"",0,0^M^M
OK
– got it
send (ATDT99#^M)
expect (CONNECT)
^M
ATDT99#^M^M
CONNECT
– got it
Script /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 7005), status = 0x0
Serial connection established.
using channel 152
Using interface ppp0
Connect: ppp0 <–> /dev/ttyAMA0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb4f4c94f> ]
rcvd [LCP ConfReq id=0x2e <asyncmap 0x0> <magic 0xd197d431> ]
sent [LCP ConfAck id=0x2e <asyncmap 0x0> <magic 0xd197d431> ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xb4f4c94f> ]
rcvd [LCP DiscReq id=0x2f magic=0xd197d431]
rcvd [CHAP Challenge id=0x1 <5999537ec4aaaaf1ee5613cdb3758bc4>, name = “UMTS_CHAP_SRVR”]
sent [CHAP Response id=0x1 , name = “$LTE_USERNAME”]
rcvd [CHAP Success id=0x1 “”]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
IPCP: timeout sending Config-Requests
sent [LCP TermReq id=0x2 “No network protocols running”]
sent [LCP TermReq id=0x3 “No network protocols running”]
Connection terminated.
abort on (ERROR)
abort on (NO DIALTONE)
\send (+++ATH^M)
Good bye
Script /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-disconnect finished (pid 7012), status = 0x0
Serial link disconnected.
Modem hangup
raspberrypi3:~$
ok add AT+COPS=0 and try
raspberrypi3:~$ minicom -D /dev/ttyAMA0 -b 115200
minicom: cannot open /dev/ttyAMA0: Permission denied
raspberrypi3:~$
sudo minicom -D /dev/ttyAMA0 -b 115200
AT+COPS=0
OPTIONS: I18n
Compiled on Mar 7 2019, 03:57:23.
Port /dev/ttyAMA0, 07:37:32
Press CTRL-A Z for help on special keys
AT+COPS=0
OK
How to come back
quit minicom ,and retry with
sudo /usr/sbin/pppd call quectel-ppp
be sure" sudo monit stop quectel-ppp" first
/****************/
Compiled on Mar 7 2019, 03:57:23.
Port /dev/ttyAMA0, 07:37:32
Press CTRL-A Z for help on special keys
AT+COPS=0
OK
//*********************//
I try to come back but not able to then disconnected putty again start it
I got it
raspberrypi3:~$ sudo monit stop quectel-ppp
raspberrypi3:~$ sudo /usr/sbin/pppd call quectel-ppp
pppd options in effect:
debug # (from /etc/ppp/peers/quectel-ppp)
nodetach # (from /etc/ppp/peers/quectel-ppp)
dump # (from /etc/ppp/peers/quectel-ppp)
noauth # (from /etc/ppp/peers/quectel-ppp)
user $LTE_USERNAME # (from /etc/ppp/peers/quectel-ppp)
password ??? # (from /etc/ppp/peers/quectel-ppp)
remotename 3gppp # (from /etc/ppp/peers/quectel-ppp)
/dev/ttyAMA0 # (from /etc/ppp/peers/quectel-ppp)
115200 # (from /etc/ppp/peers/quectel-ppp)
lock # (from /etc/ppp/peers/quectel-ppp)
connect /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-connect # (from /etc/ppp/peers/quectel-ppp)
disconnect /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-disconnect # (from /etc/ppp/peers/quectel-ppp)
crtscts # (from /etc/ppp/peers/quectel-ppp)
local # (from /etc/ppp/peers/quectel-ppp)
hide-password # (from /etc/ppp/peers/quectel-ppp)
novj # (from /etc/ppp/peers/quectel-ppp)
novjccomp # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-local # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-remote # (from /etc/ppp/peers/quectel-ppp)
ipparam 3gppp # (from /etc/ppp/peers/quectel-ppp)
noipdefault # (from /etc/ppp/peers/quectel-ppp)
defaultroute # (from /etc/ppp/peers/quectel-ppp)
usepeerdns # (from /etc/ppp/peers/quectel-ppp)
noccp # (from /etc/ppp/peers/quectel-ppp)
Device ttyAMA0 is locked by pid 7610
i think you should kill the minicom thread first .or reboot directly
sudo killall minicom