On Tue, 8 Jan 2002, Paul Copeland wrote:

> Hello Again All,
> 
> I can see the modem when this occurs.  The data light flashes when I 
> click on the KInternet icon.  

My first suggestion with any modem problems is try a plain old terminal 
program such as minicom and try manually issuing the commands. Some PPP 
dialers also offer a 'terminal window' or something for this purpose.

> In YAST2 there is space for three Modem 
> Initialisation Strings.  The first two were filled automatically when 
> the modem was detected during set-up.  The strings are as follows,
> 
> 1st    ATZ
> 2nd   AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
not quiet, verbose on, echo on, answer on zero rings, CD pin follows 
carrier signal, return to command mode if DTR pin is lowered (typically 
when app closes or hangup button pressed), Fax Class zero. 

If the modem has no idea what fax is, it may baulk at the +FCLASS 
commands.

> Now when the Log for KInternet is viewed, a list of what is happening 
> shows that the first Initialisation string is accepted.  But the second 
> one is not, it tries twice then queries that the modem may be turned 
> off.  So there is no dial tone, no dialling, essentially it is like the 
> modem is switched off, yet both the Power and Terminal Ready LEDS are 
> alight.
> 
> So last night I dug through the CD supplied and found a different second 
> Modem Initialisation String which is as follows,
> 
> AT&FE0V1S0=07C17D2S95=47W1
factory settings, echo off*, verbose on, answer on 7th ring, no idea, no 
idea, no idea - modem specific, can't remember.

The echo off is possibly a problem, especially if the application is 
expecting the command to be echoed (besides responded to).


In your terminal package or terminal window you should be able to issue 
some command and have them respond with OK, except for dial commands which 
usually give CONNECT, NO DIALTONE, BUSY, RING etc. If you get ERR or ERROR 
one of the components of the command went wrong. 
Modems strings start with AT, there are no double letter commands but some 
are prefixed with & % or \. If they are prefixed with \ you have to 
sometimes put \\ in scripts. Some commands are suffixed with a digit eg 
"V0" and "V1" are two settings for the verbose command. There are internal 
registers on modems indicated by Snn and these are set with Snnn=nnn 
format. Whitespace between commands is optional.

>= you type
<= modem responds

>AT
<OK
>AT&F
<OK
>ATDT987654321
{pause}
<CONNECT 56000
<ISP possibly responds, may look like garbage, possibly a login prompt 
after a while, or pressing enter

 -- 
---<GRiP>--- 
Web: www.arcadia.au.com/gripz 
Phone/fax: 02 4950 1194   
Mobile: 0408 686 201

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to