Ar mai exista inca o varianta, testata de mine ieri seara:

Crearea fisierului /eit/ppp/chat-zapp, de forma:

ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ABORT "Username/Password Incorrect"
"" "ATZ"
OK "AT&C0+CRM=1"
OK "ATDT#777"

Fisierul /etc/ppp/pap-secrets sau chap-secrets este suficient sa fie de
forma:

*       * * *

Un alt fisier /etc/ppp/peers/synertek (l-am numit asa intrucat eu am un
Synertek 200), de forma: 

ucom0 230400 crtscts
connect '/usr/bin/chat -v -f /etc/ppp/chat-zapp'
noauth
defaultroute
#-detach
persist
passive

Am incercat si optiunea usepeerdns pe care NetBSD o suporta, insa nu a
mers.

In final, fiserul /etc/ppp/options de forma:

lock
crtscts
230400
modem
noipdefault
passive
domain zappmobile.ro


Am pornit modemul cu comanda

# pppd call synertek

Totul a functionat OK, fara mesaje de eroare.

Vreau sa va multumesc pe aceasta cale, hint-ul cu ucom0 s compilarea
optiunilor in kernel m-a ajutat enorm.

Cu cele mai bune urari si cu consideratie,

Bogdan 


On Mon, 2005-06-13 at 02:00 -0700, Dan Angelescu wrote:
> Salut !
> Ce va pot spune e ca azi am fost la un prieten care
> are telefon Zapp.Am compilat in kernel device uplcom
> device ucom si device umodem.
> Ma asteptam ca telfonul(cablul sau cu PL2303) sa fie
> detectat pe /dev/uplcom0 insa a fost detectat pe
> /dev/ucom0.
> Am inlocuit dev in scripturile de linux si a mers far
> probleme insa cu pppd.
> Pt user ppp trebuie sa mai facem sapaturi.
> Modelul de telefon era Hyundai 150.
> 
> Am copiat fisierel din scriptul de linux in /etc/ppp
> respectiv: test ,chat-sprintpcs , options si
> chap-secrets.
> In test am modificat la sectiunea TTY=/dev/ucom0
> si am modiifcat calea catre chat.
> Continutul lui test ( scriptul pt conectare este)
> 
> #!/bin/sh
>      SPEED=115200
>      TTY=/dev/ucom0
>      ISP=zapp
>      USER=zapp
>      pppd $TTY $SPEED \
>              defaultroute \
>              lock \
>            modem \
>              name $ISP \
>              user $USER \
>              debug kdebug 1 \
>              connect '/usr/bin/chat -v -f
> /etc/ppp/chat-sprintpcs'
> .
> 
> continutul chap-secrets :
> # Secrets for authentication using CHAP
> # client      server  secret                  IP addresses
> #"tttttttt"   *       "fdsds"
> zapp          *       ttt
> 
> continutul lui chap-sprintpcs:
> 
> ABORT "NO CARRIER"
> ABORT "NO DIALTONE"
> ABORT "ERROR"
> ABORT "NO ANSWER"
> ABORT "BUSY"
> '' AT+crm=1
> OK ATDT#777
> CONNECT
> 
> continutul lui options:
> 
> lock
> 
> In rest fara nici o modificare a mers din prima.Mai
> trebuie bagat sa ia automat dns-ul daca doriti si sa
> faca comprimarea de pachete.Singurul mesaj de eroare
> era legat de faptul ca nu s-a stabilit un protocol de
> compresie al pachetelor.
> 
> 
> 
> 
> --- Ionut Vancea <[EMAIL PROTECTED]> wrote:
> 
> > Salut!
> > 
> > Cred ca asa: :)
> >
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html
> > 
> > Numai bine,
> > Ionut
> > 
> > --- Dan Angelescu <[EMAIL PROTECTED]> wrote:
> > 
> > > Va salut !
> > > 
> > > Intrucat nu am semnal pe zapp acasa voi incerca sa
> > > merg pe undeva unde este.
> > > Conform celor discutate cam acum o luna pe tema
> > asta
> > > 
> > > ar trebui detectat si telefonul zapp daca compilam
> > > in
> > > kernel device uplcom.
> > > Folosind scripturile de pe situl zapp ar trebui sa
> > > mearga folosind folosind kernel ppp.
> > > Scriptul chat de linux contine:
> > > ABORT "NO CARRIER"
> > >      ABORT "NO DIALTONE"
> > >      ABORT "ERROR"
> > >      ABORT "NO ANSWER"
> > >      ABORT "BUSY"
> > >      '' AT+crm=1
> > >      OK ATDT#777
> > >      CONNECT
> > > Cum ar trebui introdus in /etc/ppp/ppp.conf pt a
> > > folosi user ppp nu kernel ppp ?
> > > 
> > > Toate cele bune !
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > > protection around 
> > > http://mail.yahoo.com 
> > >
> >
> __________________________________________________________
> > > Send 'unsubscribe rofug' to [EMAIL PROTECTED] to
> > > unsubscribe
> > > 
> > > 
> > 
> > 
> > 
> >             
> > __________________________________ 
> > Do you Yahoo!? 
> > Make Yahoo! your home page 
> > http://www.yahoo.com/r/hs
> >
> __________________________________________________________
> > Send 'unsubscribe rofug' to [EMAIL PROTECTED] to
> > unsubscribe
> > 
> > 
> 
> 
> 
>               
> __________________________________ 
> Discover Yahoo! 
> Get on-the-go sports scores, stock quotes, news and more. Check it out! 
> http://discover.yahoo.com/mobile.html
> __________________________________________________________
> Send 'unsubscribe rofug' to [EMAIL PROTECTED] to unsubscribe
> 

__________________________________________________________
Send 'unsubscribe rofug' to [EMAIL PROTECTED] to unsubscribe

Raspunde prin e-mail lui