[LUGOS] ppp skripta za GPRS preko bluetooth

Tadej Panjtar tadej.panjtar at gmail.com
Mon May 16 09:58:55 CEST 2005


Ojla!

Hvala vsem, ki ste priskočili na pomoč. Držal sem se navodil in drugih
tutorialov, vendar še vedno nisem prišel do željenega cilja. No, nek
napredek je, mislim da se do telefona preko BT povežem v redu. Pri
nastavljanju vsega skupaj pa sem trenutno obtičal pri mislim da ppp
skripti, upam da je problem razviden iz spodaj nanizanih konfiguracij
in loga. 2 DNSa sem nastavil v /etc/resolv.conf. Ne vem, kje naj iščem
vzroke za tole.

LP,
  Tadej

--------------------------------->8---------------------------------
v connect skripti sem spremenil:
        OK              'AT+CGDCONT=1,"IP","internet.simobil.si"'       \
        OK              ATD*99***1#                             \

--------------------------------->8---------------------------------
[root at localhost ~]# rfcomm connect rfcomm0 00:12:8A:AC:1C:93
Connected /dev/rfcomm1 to 00:12:8A:AC:1C:93 on channel 1
Press CTRL-C for hangup


[root at localhost ~]# rfcomm show
rfcomm0: 00:0C:76:48:2B:8D -> 00:12:8A:AC:1C:93 channel 1 connected
[reuse-dlc release-on-hup tty-attached]

[root at localhost peers]# 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 9
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4ff2ce25>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4ff2ce25>]
...
...
sent [LCP ConfNak id=0xa <magic 0x4ad25f98>]
rcvd [LCP ConfNak id=0xa <magic 0x4ad25f98>]
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.

--------------------------------->8---------------------------------

On 5/3/05, Blaz Podrzaj <b at thz.net> wrote:
> 
> On Tue, 3 May 2005, Metod Kozelj wrote:
> 
> > 1. pri nekaterih telefonih moraš v init string napisati APN. Pri
> > mobitelu je najobičajnejši APN "internet" ... dodatek v init string je
> > potem takle: AT+CGDCONT=1,,"internet"
> > 2. 'cifra', na katero kličeš, je *99#
> 
> Nima veze z BTjem pa vseeno. Ne vem, že dolgo nisem srečal tulifona brez
> GPRS connection profilov. Ponavadi si v telefon naklofaš tistih par APN
> profilov, ki jih uporabljaš in nato kličeš na *99#1, *99#2 in tako dalje.
> 
> lp,B
> 
> _______________________________________________
> lugos-list mailing list
> lugos-list at lugos.si
> http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list
>


More information about the lugos-list mailing list