Hi Nomad Wanderer,

see my reply to Tom (Re:Modem setup: possible port conflicts) for a
discussion of ppp settings. The modem init strings are given in the
/etc/ppp/ppp.chat file. Here is one :

------------------------
TIMEOUT 5 
ABORT "NO CARRIER"
ABORT BUSY
ABORT "NO DIALTONE"
ABORT ERROR
"" +++ATZ 
OK AT&FL0&BX1
OK ATDT0191011
TIMEOUT 60
CONNECT ""
--------------------

The init string above is for a PSION Gold Card Global V34+Fax and is
known to work. The &F option enables the factory defaults. The L0 option
shuts the "modem noise" through the speakers to a minimum. The X1 shuts
off dialtone recognition and is needed when you call from "inside" a
firm's networks which does not have a dialtone. See PS for &B.

The number following ATDT is the phone number of my ISP. Replace
accordingly.

You also need a /etc/ppp/pap-secrets file if your ISP uses PAP
authentication. Here's one:

# Secrets for authentication using PAP
# Changed by root.
# client                        server  secret                  IP
addresses
"your user name, with ""  "     *       your password without "

Your user name would be the same you use in your ppp script.

Since you don't have the modem manual, try to use it under windblows and
copy the init string from there. Anyway, I will send you a windblows
WRITE file ( *.wri : can somebody tell me how I can read this using
StarOffice 4.0 under linux? ) which contains all the AT commands and
some more ;-). 

Chris

PS: A word of caution (read on only if you like a little polemics).

The &B options supresses the discriminating timeout function and you
probably don't need it. (If a fax is going to be allowed for legal use
in Germany, it has to implement this timeout function: If you try to
call within a small time intervall, say 30 seconds, the fax _has_ to
respond that this is not possible. You can use the above option to
disable it, but you lose legal approval of your modem. I say this is
discriminating - I should probably say fascistic - because when I buy a
digital telephone nobody demands from me to sign an agreement not to use
the redial button every, say 2 seconds, whenever I get a busy line. So,
while telephone users are allowed to play piano on their telephone
buttons, eventually calling the same busy number every other second, fax
users, if they want to stay legal,  _must_ wait half a minute,as if they
live in telecomunications middle ages. That's the first tempo limit on
the info highway in the name of avoiding traffic jams! ).

Nomad the Wanderer wrote:
> 
>   I finally have my laptop dialing the pcmcia modem.  I can connect to the
> remote end with minicom fine.  When I use my ppp script though I get this:
> 
> Serial connection established.
> Using interface ppp0
> Connect: ppp0 <--> /dev/modem
> LCP: timeout sending Config-Requests
> Connection terminated.
> Receive serial link is not 8-bit clean:
> Problem: all had bit 7 set to 0
> Hangup (SIGHUP)
> 
> My init string is:
> 
> ATS7=45S0=0L2V1X4\&c1E1Q0
> 
> I don't have a book for my modem anymore so I can't read up on the codes.
> 
> Anyone have any ideas ?
> ---------------------------------------------------------------------------
> Robert L. Harris                |    Windows is to Unix
> Senior System Administrator II  |      what 'hooked on phonics'
>   at Great West Life.           \_       is to Shakespeare
> 
> http://www.orci.com/~nomad
> 
> DISCLAIMER:
>       These are MY OPINIONS ALONE.  I speak for no-one else.
> 
> FYI:
>  perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

Reply via email to