This is a quick USB Modem for Linux usage guide.
See the USBModem_UG.pdf for the full documentation.

[Requirements]
Linux distribution with CDC ACM class driver (either compiled in the
kernel or as a module named cdc-acm.ko) and a reasonably recent pppd
version.

These instructions were tested on a SLAX Live CD distribution and
should work on any modern distribution as well.


[Installation and Configuration]
Obtain the following connection parameters from the mobile operator:
user name, password. For GSM networks the APN is also required.

Copy either ppp-script-edge-template (for GSM GPRS/EDGE networks)
or ppp-script-evdo-template (for CDMA 1xRTT or EVDO networks) file
from the USB Modem distribution to /etc/ppp/peers/ppp-script-treo
(you may need to create the path by hand), replacing the USERNAME
and APN (for GSM only) words with the correct values.

Also add the user name and password line from the pap-secrets-template
to the /etc/ppp/pap-secrets file, replacing the USERNAME and PASSWORD
words with the correct values.

See the mts folder for the complete example scripts tuned for the
MTS GSM operator.


[Connecting the Treo to Linux PC]
Connect Treo with Linux PC using a USB cable and enable the USB Modem
mode. Linux will recognize the USB device and load the CDC ACM class
driver.

Type as root:

	bash-2.05# pppd /dev/ttyACM0 call ppp-script-treo

It will print how the connection setup is performed. If it was
successful a new network interface will be created (usually ppp0).
The only thing left is to copy the content of /etc/ppp/resolv.conf
to system-wide /etc/resolv.conf for proper name resolution. E.g.:

	bash-2.05# cat /etc/ppp/resolv.conf > /etc/resolv.conf

The connection setup is done.

To disconnect, kill the pppd process:

	bash-2.05# kill <pppd_process_pid>
