USING LINUX
Using Linux
Shell Commands
Testing Serial Ports
To test the serial ports created by the driver, type in a shell:
Note:
Sending ATE0 is required, to avoid issues in the terminal output. It prevents the sending/receiving
spurious characters to/from the modem when used with the Linux commands “echo” and “cat”
Create a PPP Connection
Most recent Linux distributions have GUI tools for creating PPP connections; the following instructions are for
creating a PPP connection through command line interface.
PPP support must be compiled into the kernel; pppd and chat programs are also required.
pppd needs two scripts: the first script performs the environment setting and calls the second script, which is used
by the chat program. For creating a PPP connection type:
# pppd file /etc/pppd_script &
Example
# Debug info from pppd
debug
#kdebug 4
# Most phones don't reply to LCP echos
lcp-echo-failure 3
lcp-echo-interval 3
# Keep pppd attached to the terminal
# Comment this to get daemon mode pppd
nodetach
# The chat script (be sure to edit that file, too!)
connect "/usr/sbin/chat -v -f "
# Serial Device to which the modem is connected
/dev/
# Serial port line speed
115200
dump
# The phone is not required to authenticate
#noauth
user <insert here the correct username for authentication>
name <insert here the name of the connection>
password <insert here the correct password for authentication>
# If you want to use the
link as your gateway
defaultroute
# pppd must not propose any IP address to the peer
#noipdefault
ipcp-accept-local
MultiConnect
®
Cell 100 Series MTC-EV3 User Guide
15