[LUGOS] ppp skripta za GPRS preko bluetooth

Tadej Panjtar tadej.panjtar at gmail.com
Mon May 16 18:20:24 CEST 2005


oj, zadeva še vedno sploh ne dela, ne ob parnih ne ob neparnih
poskusih. Pošiljam še oba celotna izpisa in sicer brez in z opcijo
nomagic; upam da bo kaj pomagalo:

[root at localhost ~]# pppd call gprs
Press CTRL-C to close the connection at any stage!
defining PDP context...
rAT
OK
ATH
OK
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x44c97bde>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x44c97bde>]
sent [LCP ConfNak id=0x1 <magic 0x4bb14dae>]
rcvd [LCP ConfNak id=0x1 <magic 0x4bb14dae>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xfe10bf47>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xfe10bf47>]
sent [LCP ConfNak id=0x2 <magic 0x6552a762>]
rcvd [LCP ConfNak id=0x2 <magic 0x6552a762>]
sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0xed2f1512>]
rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0xed2f1512>]
sent [LCP ConfNak id=0x3 <magic 0xd378c0fc>]
rcvd [LCP ConfNak id=0x3 <magic 0xd378c0fc>]
sent [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0x6aba24d2>]
rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0x6aba24d2>]
sent [LCP ConfNak id=0x4 <magic 0xc49f2646>]
rcvd [LCP ConfNak id=0x4 <magic 0xc49f2646>]
sent [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x574e4465>]
rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x574e4465>]
sent [LCP ConfNak id=0x5 <magic 0x9d044849>]
rcvd [LCP ConfNak id=0x5 <magic 0x9d044849>]
sent [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0xd85de3c>]
rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0xd85de3c>]
sent [LCP ConfNak id=0x6 <magic 0x901e7cf8>]
rcvd [LCP ConfNak id=0x6 <magic 0x901e7cf8>]
sent [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0xc78cf285>]
rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0xc78cf285>]
sent [LCP ConfNak id=0x7 <magic 0x9081ca1d>]
rcvd [LCP ConfNak id=0x7 <magic 0x9081ca1d>]
sent [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x7428bbe1>]
rcvd [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x7428bbe1>]
sent [LCP ConfNak id=0x8 <magic 0x93d91af8>]
rcvd [LCP ConfNak id=0x8 <magic 0x93d91af8>]
sent [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0x1625949f>]
rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0x1625949f>]
sent [LCP ConfNak id=0x9 <magic 0xffe19f6a>]
rcvd [LCP ConfNak id=0x9 <magic 0xffe19f6a>]
sent [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x279a078f>]
rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x279a078f>]
sent [LCP ConfNak id=0xa <magic 0x14c864a5>]
rcvd [LCP ConfNak id=0xa <magic 0x14c864a5>]
Serial line is looped back.
sent [LCP TermReq id=0xb "Loopback detected"]
rcvd [LCP TermReq id=0xb "Loopback detected"]
sent [LCP TermAck id=0xb]
rcvd [LCP TermAck id=0xb]
Connection terminated.

Sending break to the modem

PDP context detached
Serial link disconnected.



Z opcijo nomagic:

pppd call gprs
Press CTRL-C to close the connection at any stage!
defining PDP context...
rAT
OK
ATH
OK
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm1
sent [LCP ConfReq id=0x1 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>]
sent [LCP EchoReq id=0x0 magic=0x0]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
CCP: timeout sending Config-Requests
IPCP: timeout sending Config-Requests
sent [LCP TermReq id=0x2 "No network protocols running"]
rcvd [LCP TermReq id=0x2 "No network protocols running"]
sent [LCP TermAck id=0x2]
rcvd [LCP TermAck id=0x2]
Connection terminated.

Sending break to the modem

PDP context detached
Serial link disconnected.



On 5/16/05, Matija Grabnar <matija.grabnar at arnes.si> wrote:

> Tudi jaz sem ze naletel na ta problem in si ob njem nekaj dni razbijal
> glavo,
> pa ga nisem resil. Sem pa opazil, da se to zgodi samo ob NEPARNIH zagonih
> ppp skripta (prvic, tretjic, etc) - drugic, cetrtic etc zadeva dela.
> Mislim (pa se nisem
> dokazal) da je za zadevo kriv telefon. Ce torej dobis "loopback
> detected", zazeni
> zadevo takoj se enkrat in bi morala delati.
> 
> BTW, ce ti bo povezava padla po natanko dveh minutah, dodaj tole v ppp
> opcije:
> 
> lcp-echo-failure 1000
> lcp-echo-interval 10000


-- 

S spoštljivimi pozdravi,
Vnaprej hvala, 
LP,
  Tadej


More information about the lugos-list mailing list