[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RS232-to-USB adapter with dial-up modem



On Sat, 18 Sep 2010 10:12:48 -0700, S D wrote:

> --- On Sat, 9/18/10, Camaleón 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

Well, that's good. But I would be more relaxed if you can also get it to 
work with minicom :-)
 
> Strange, not sure why it doesn't dial out as a part of my pppd setup
> that works with RS-232:

Mmm, I cannot help you here (as I'm not using pppd) but maybe the 
initilization string for your modem (ATZW2) is not the correct one. Also, 
try to lower the modem speed to 56000 bps (instead those 115200 bps).

Bellow is an excerpt of the log from your first e-mail:

***
Sep 17 02:45:11 testbox chat[32626]: send (ATZW2^M)
Sep 17 02:45:11 testbox chat[32626]: expect (OK)
Sep 17 02:45:56 testbox chat[32626]: alarm
Sep 17 02:45:56 testbox chat[32626]: Failed
Sep 17 02:45:56 testbox pppd[32625]: Connect script failed
Sep 17 02:46:36 testbox pppd[32625]: tcsetattr: Interrupted system call 
(line 1010)
***

Is there any way you can use a flag in pppd configuration file to get a 
more verbose log? :-?

Greetings,

-- 
Camaleón


Reply to: