[LUGOS] ipaq+nokia 6310+gprs
Tomaz Zupan
tomaz.zupan at orpo.si
Wed Jun 30 13:14:23 CEST 2004
----- Original Message -----
From: "Valentin Korenjak" <valentin.korenjak at email.si>
Subject: Re: [LUGOS] ipaq+nokia 6310+gprs
> Init1 = ATE
> Init2 = AT&FE0
> Init3 = ATM0
> Init4 = AT+CGDCONT=1,"IP","internet"
Tale init string je en korak naprej, žal pa ne čisto do konca. Sedaj nokia
napiše da povezuje gprs, čez nekaj trenutkov pa napiše, da preverjanje ni
uspelo.
v options imam sedaj to:
/etc/ppp # cat options
-detach
defaultroute
nocrtscts
lock
noauth
usepeerdns
115200
local
asyncmap 0
ipcp-accept-local
noipdefault
novj novjccomp nobsdcomp nodeflate
lcp-echo-interval 10
noipx
cdtrcts
To je chat script:
/etc/ppp # cat chat.gprs
ABORT "BUSY"
"" "\d"
SAY "reseting modem\n"
"" "atz"
SAY "init 1\n"
OK "ATE"
SAY "init 2\n"
OK "AT&FE0"
SAY "init 3\n"
OK "ATM0"
SAY "init 4\n"
OK AT+CGDCONT=1,"IP","internet"
SAY "connecting\n"
OK "atdt*99#"
TIMEOUT 60
CONNECT ""
SAY "connected\n"
In pppd sedaj pokaže tole:
/etc/ppp # pppd /dev/rfcomm0 debug call gprsbt
reseting modem
init 1
init 2
init 3
init 4
connecting
connected
Serial connection established.
using channel 40
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x138ef17d> <pcomp> <accomp>]
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfRej id=0x1 <magic 0x138ef17d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000>]
sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
sent [LCP EchoReq id=0x0 magic=0x0]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
rcvd [LCP EchoRep id=0x0 00]
lcp: received short Echo-Reply, length 1
rcvd [LCP TermReq id=0x2]
LCP terminated by peer
sent [LCP TermAck id=0x2]
Connection terminated.
/etc/ppp #
LP, Tomaž
More information about the lugos-list
mailing list