pppd question
Anita Lewis
ajlewis2
Mon May 17 11:33:55 PDT 2004
On Tue, 25 Jun 2002 09:06:35 -0400, Brian Witowski wrote:
>
> What script is used to pass modem strings to the modem (such as s0=0) when
> using pppd?
>
> Thanks,
> Brian
If you are using wvdial, it goes in /etc/wvdial.conf like this:
Init1 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
Actually in mine, that line begins with Init2 and was put there by magic. It
is an alternate init for the modem.
If you are using something like pon, then it would go in the chatscript
which is in /etc/chatscripts/ 'provider' is the generic one. It should be
whichever one is mentioned in /etc/ppp/peers/provider or whatever one you
are using.
I think it would go something like this, but I don't have anything in that
file for the modem except the speed. I got this idea from
http://axion.physics.ubc.ca/ppp-linux.html. He shows a little different
chatscript, but comparing it to the one in /etc/chatscripts/provider, I
think it would look like this. You would start it with the AT and then add
what you need to it including S0=0:
AT&F\\Q3\\V1&D3M1#CC1
--
Anita
GnuPG key: 1024D/9EDAC910
More information about the Linux-users
mailing list