Discussion:
PPP is for computer to modem or for computer to operator?
(too old to reply)
narke
2011-08-04 11:14:32 UTC
Permalink
Hi,

I am trying to connect from my computer, via a GPRS modem, to our local
network operator. But I don't understand here for what the PPP is come
to use. The PPP data communication is only between the computer and the
modem or between the computer and the network operator? In the +CGDCONT
settings, should I specify 'PPP' or 'IP' for the 'Type of PDF Context'
field?

Thanks in advance.
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer

narke
John Henderson
2011-08-04 20:27:45 UTC
Permalink
Post by narke
I am trying to connect from my computer, via a GPRS modem, to our local
network operator. But I don't understand here for what the PPP is come
to use. The PPP data communication is only between the computer and the
modem or between the computer and the network operator? In the +CGDCONT
settings, should I specify 'PPP' or 'IP' for the 'Type of PDF Context'
field?
"IP".

Let's assume the APN you require is "wombat". And then let's
assume you want to use context one (where your dialling string
can be either "*99#" or "*99***1#"). The command you then need
is:

AT+CGDCONT=1,"IP","wombat"

The only other thing to get right is the authentication (PAP,
CHAP, NONE, etc). This doesn't usually cause a problem, and the
command to set it up is device-dependant.

John
narke
2011-08-05 04:47:56 UTC
Permalink
Post by John Henderson
Post by narke
I am trying to connect from my computer, via a GPRS modem, to our local
network operator. But I don't understand here for what the PPP is come
to use. The PPP data communication is only between the computer and the
modem or between the computer and the network operator? In the +CGDCONT
settings, should I specify 'PPP' or 'IP' for the 'Type of PDF Context'
field?
"IP".
Let's assume the APN you require is "wombat". And then let's
assume you want to use context one (where your dialling string
can be either "*99#" or "*99***1#"). The command you then need
AT+CGDCONT=1,"IP","wombat"
The only other thing to get right is the authentication (PAP,
CHAP, NONE, etc). This doesn't usually cause a problem, and the
command to set it up is device-dependant.
John
Thanks. I can understand that in the +CGDCONT, I should set the protocol
type as "IP". What I cannot understand is, if it's the IP between the
modem and the network providor, how the PPP encapsulated authentication
info (username,password) can be passed to the providor side? Befor the
authentication get passed and IP address get assigned from the operator
side, there should be no "IP" protocol at all -- hence it's impossible
to exchange IP packets between modem and the providor.

Best Regards,
narke
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer

narke
John Henderson
2011-08-05 20:04:53 UTC
Permalink
Post by narke
Thanks. I can understand that in the +CGDCONT, I should set the protocol
type as "IP". What I cannot understand is, if it's the IP between the
modem and the network providor, how the PPP encapsulated authentication
info (username,password) can be passed to the providor side? Befor the
authentication get passed and IP address get assigned from the operator
side, there should be no "IP" protocol at all -- hence it's impossible
to exchange IP packets between modem and the providor.
Very good observations and questions. Without doing more
research myself, anything I add would be only speculation.

John
narke
2011-08-09 02:28:52 UTC
Permalink
Post by John Henderson
Post by narke
Thanks. I can understand that in the +CGDCONT, I should set the protocol
type as "IP". What I cannot understand is, if it's the IP between the
modem and the network providor, how the PPP encapsulated authentication
info (username,password) can be passed to the providor side? Befor the
authentication get passed and IP address get assigned from the operator
side, there should be no "IP" protocol at all -- hence it's impossible
to exchange IP packets between modem and the providor.
Very good observations and questions. Without doing more
research myself, anything I add would be only speculation.
John
Still thanks~
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer

narke
Loading...