--- On Sat, 9/18/10, Camaleón <noela...@gmail.com> wrote:

> Before you throw out your adapater :-), just be sure you
> cannot even 
> communicate with minicom.

I recalled that there was a way to send a command to the modem without minicom, 
so I tried:

# echo ATDTtest-phone-number-here > /dev/ttyUSB0

The modem does successfully dial the test number when connected through the USB 
adapter. The ATH command (hangup) also appears to be working:

# echo ATH > /dev/ttyUSB0

Strange, not sure why it doesn't dial out as a part of my pppd setup that works 
with RS-232:


## cat /etc/chatscripts/provider

# This is the chat script used to dial out to your default service provider.
# Please customize the entries enclosed in parenthesis to match your setup.
# Only the "provider" file will be handled by poff and pon (unless with
# extra command line arguments).
#
# Remember to edit /etc/ppp/peers/provider accordingly.
#
# ATZW2 as a default init string
# - On all hayes compatible modems, W2 will correctly report the connect
#   speed.
#
ABORT        BUSY
ABORT        "NO CARRIER"
ABORT        VOICE
ABORT        "NO DIALTONE"
""           ATZW2

OK            ATDT12345678900
ogin         idhere
word         passwordhere

""           ppp


## cat /etc/ppp/peers/provider

# These are the options to dial out to your default service provider.
# Please customize them correctly. Only the "provider" file will be
# handled by poff and pon (unless with extra command line arguments).

# You usually need this if there is no PAP authentication
noauth

# The chat script (be sure to edit that file, too!)
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"

# Set up routing to go through this PPP link
defaultroute

# Default modem (you better replace this with /dev/ttySx!)
/dev/ttyUSB0

# Speed
115200

# Keep modem up even if connection fails
# persist






--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/316004.59543...@web45812.mail.sp1.yahoo.com

Reply via email to