User Guide

Table Of Contents
USING LINUX WITH H5 DEVICES
Using Linux with H5 Devices
Shell Commands
Testing Serial Ports
To test the serial ports created by the driver, type in a shell:
# cat /dev/ttyACM0 &
# echo –en "ATE0\r" > /dev/ttyACM03
# echo –en "AT\r" > /dev/ttyACM0
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”
You can perform the same test using the other interface (ttyACM1 ttyACM3).
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 /etc/chatscripts/hsdpa_connect"
# Serial Device to which the modem is connected
/dev/ttyACM3
# 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>
MultiConnect
TM
PCIe MTPCIE-H5/MTPCIE-BW Developer Guide 69