USING LINUX WITH EV3 DEVICES
56
MultiConnect
®
PCIe MTPCIE-EV3 Developer Guide
for pppd and chat events. Normally pppd/chat logging is written to /var/log/syslog (could vary depending on syslog
configuration).
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
Summary of Contents for MultiConnect MTPCIE-EV3
Page 1: ...MultiConnect PCIe MTPCIE EV3 Developer Guide ...
Page 15: ...DEVELOPER BOARD MultiConnect PCIe MTPCIE EV3 Developer Guide 15 ...
Page 17: ...ASSEMBLY DIAGRAM MultiConnect PCIe MTPCIE EV3 Developer Guide 17 Bottom ...
Page 20: ...DEVELOPER BOARD SCHEMATICS 20 MultiConnect PCIe MTPCIE EV3 Developer Guide ...
Page 21: ...DEVELOPER BOARD SCHEMATICS MultiConnect PCIe MTPCIE EV3 Developer Guide 21 ...
Page 22: ...DEVELOPER BOARD SCHEMATICS 22 MultiConnect PCIe MTPCIE EV3 Developer Guide ...
Page 23: ...DEVELOPER BOARD SCHEMATICS MultiConnect PCIe MTPCIE EV3 Developer Guide 23 ...
Page 24: ...DEVELOPER BOARD SCHEMATICS 24 MultiConnect PCIe MTPCIE EV3 Developer Guide ...
Page 25: ...DEVELOPER BOARD SCHEMATICS MultiConnect PCIe MTPCIE EV3 Developer Guide 25 ...
Page 26: ...DEVELOPER BOARD SCHEMATICS 26 MultiConnect PCIe MTPCIE EV3 Developer Guide ...
Page 27: ...DEVELOPER BOARD SCHEMATICS MultiConnect PCIe MTPCIE EV3 Developer Guide 27 ...