USING LINUX
22
MultiConnect
®
Cell MTC-G3 User Guide
EV3 Example
Step 1. Use a text editor to create a peer file containing the lines in the example below. (/dev/ttyUSB2 may need to
be something like /dev/ttyS0 for a serial build). Save the file as /etc/ppp/peers/EV3-peer.
Example peer file:
/dev/ttyUSB2
connect "/usr/sbin/chat -v -f /etc/chatscripts/EV3-chat"
noipdefault
usepeerdns
defaultroute
noauth
Step 2. Use a text editor to create a chat script containing the lines in the example below. In this example [APN]
should be replaced with the APN assigned by your cellular provider. Save the file as /etc/chatscripts/EV3-chat.
Example chat script:
ABORT "ERROR"
ABORT "NO CARRIER"
ABORT "BUSY"
"" at
OK atd#777
CONNECT ""
Step 3. Use the following command line to start pppd:
pppd debug call EV3-peer
This command line enables logging of debug information and tells pppd to use the peer file referenced by the call
option.
After 20-30 seconds, type ifconfig and check whether a ppp interface is listed. If it is not, then check syslog for
pppd and chat events. Normally pppd/chat logging is written to /var/log/syslog (could vary depending on syslog
configuration).
MAT1 (MVW1) Example
Note:
Except for the "MVW1" text, the peer file (for Step 1), the chat script (for in Step 2), and the command
line to start pppd (for Step 3) are the same. Follow the same instructions for the MVW1 for creating a PPP
connection through command line interface.
Step 1. Use a text editor to create a peer file containing the lines in the example below. (/dev/ttyACM0 may need
to be something like /dev/ttyS0 for a serial build). Save the file as /etc/ppp/peers/MAT1-peer.
Example peer file:
/dev/ttyACM0
connect "/usr/sbin/chat -v -f /etc/chatscripts/MAT1-chat"
noipdefault
usepeerdns
defaultroute
noauth