On Tue, 24 Jun 2003, Ionut Tataru wrote:
> # /usr/sbin/pppd /dev/modem 57600 logfile ~/pppd.log debug user
> usernameu_meu connect "/usr/sbin/chat -v '' ATD2054444 CONNECT '\d\c'"
Cel mai bine iti faci o fila de chat care sa arate cam asa:
ABORT "ERROR"
ABORT BUSY
ABORT "NO DIAL TONE"
ABORT "NO CARRIER"
REPORT CONNECT
TIMEOUT 50
'' '\d\d\d'
'' ATZ
OK AT&F1L1M1
OK '\d\dATDT2054444'
CONNECT ''
: userultau
: 'parolata'
O pui in /etc/ppp/chat-dialup de exemplu.
In /etc/ppp/options.ttyS0 (sau ttySCitELaTineModemu') pui ceva
de genul:
defaultroute
bsdcomp 15,15
deflate 9,9
lock
noauth
modem
crtscts
nodetach
persist
connect ' /usr/sbin/chat -v -r /var/log/ttyS0.log -f /etc/ppp/chat-dialup'
Apoi pppd defaultroute eventual debug /dev/ttyS0 si sanatate.
Eventual daca vrei prompt scoate nodetach.
--
Any views or opinions presented within this e-mail are solely those of
the author and do not necessarily represent those of any company, unless
otherwise specifically stated.