
6
#logfile configuration
logfile /etc/ppp/ppp-logfile
record /etc/ppp/ppp-dumplog
#call to chat script
connect '/usr/sbin/chat -v -f /etc/chatscripts/lte_dial'
7
The second script lte_dial should be placed into the directory
/etc/chatscripts/ The contents of that script are below:
#abortstring
ABORT
BUSY
ABORT
VOICE
ABORT
"NO CARRIER"
ABORT
"NO DIALTONE"
ABORT
"NO DIAL TONE"
ABORT
"NO ANSWER"
ABORT
"DELAYED"
ABORT
"ERROR"
#ispnumber
""
AT
TIMEOUT
12
OK
ATH
OK
ATE1
#ispconnect
OK
ATD*99#
TIMEOUT
22
CONNECT
""
8
To connect to the Internet, enter the command
pppd file
/etc/ppp/peers/zdial.
Once connected, you can try pinging a known
website. If it works,
Congratulations!
Your installation is complete. If
your modem is NOT working, please see
Troubleshooting your
Internet Connection
below.
Note: If you are already connected to the Internet using the Ethernet
port of your Raspberry Pi, remove the Ethernet cable to use the USB
modem. If you are connected to the Internet through Raspberry Pi’s
WiFi port, you can disconnect from this connection by bringing the
WiFi interface down with the command
ifconfig wlan0 down
.
To disconnect your USB modem connection, press ctrl-c
Once you have established the connection, you may consult the full-length
user manual at
using the modem with your specific application.