"Murilo da Silva Ijanc" <mur...@dotbsd.org> writes:

> I tried using pppd do not succeed, it returns me to the log:
>
> Murilo may 22 10:31:58 pppd [19228]: pppd 2.3.5 started by murilobsd, uid 0
> Murilo may 22 10:32:01 pppd [19228]: Connect script failed
> May 22 10:32:03 Murilo pppd: Exit.

Try enabling debug and edit your syslog.conf so the debug output
appears somewhere sensible.  tail -f of that log file will be quite
revealing.  To get my huawei e220 to work here I mainly followed
http://www.jensolsson.se/?p=123, fiddled more than I should when all
that was wrong was the device name, but anyway what I have is

$ cat /etc/ppp/peers/netcom
debug
/dev/cuaU0
crtscts
921600
defaultroute
noauth
:10.64.64.64
connect "chat -v -f /etc/ppp/peers/netcom.chat"

$ cat /etc/ppp/peers/netcom.chat
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ABORT "Username/Password Incorrect"
TIMEOUT 15
"" "ATZ"
OK "ATE1"
OK "ATQ0V1E1S0=0&C1&D2+FCLASS=0"
OK `AT+CGDCONT=1,"IP","internet.netcom.no"`
OK "ATDT*99***#"
TIMEOUT 30
CONNECT \d\c

at least it gives me the opportunity to move some bytes.  Could likely
be tweaked further but then I don't use it all that much

- Peter

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to