* [PATCH] doc: Add dial-number/username/password Property
@ 2011-06-21 9:53 Caiwen Zhang
2011-06-21 15:07 ` Denis Kenzior
0 siblings, 1 reply; 4+ messages in thread
From: Caiwen Zhang @ 2011-06-21 9:53 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]
Some network's dial-number isn't #777 and user name and password
are required when setup data connection.
---
doc/cdma-connman-api.txt | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/doc/cdma-connman-api.txt b/doc/cdma-connman-api.txt
index e486c09..f76a2c5 100644
--- a/doc/cdma-connman-api.txt
+++ b/doc/cdma-connman-api.txt
@@ -35,6 +35,20 @@ Properties boolean Powered [readwrite]
Contains whether the connection is dormant. Will
always be false if the connection is not powered.
+ string DialNumber [readwrite]
+
+ Holds the dialed number.
+
+ string Username [readwrite]
+
+ Holds the username to be used for authentication
+ purposes.
+
+ string Password [readwrite]
+
+ Holds the password to be used for authentication
+ purposes.
+
dict Settings [readonly, optional]
Holds all the IP network settings
--
1.7.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] doc: Add dial-number/username/password Property
2011-06-21 9:53 [PATCH] doc: Add dial-number/username/password Property Caiwen Zhang
@ 2011-06-21 15:07 ` Denis Kenzior
2011-06-23 3:31 ` Zhang, Caiwen
0 siblings, 1 reply; 4+ messages in thread
From: Denis Kenzior @ 2011-06-21 15:07 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]
Hi Caiwen,
On 06/21/2011 04:53 AM, Caiwen Zhang wrote:
> Some network's dial-number isn't #777 and user name and password
> are required when setup data connection.
>
> ---
> doc/cdma-connman-api.txt | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/doc/cdma-connman-api.txt b/doc/cdma-connman-api.txt
> index e486c09..f76a2c5 100644
> --- a/doc/cdma-connman-api.txt
> +++ b/doc/cdma-connman-api.txt
> @@ -35,6 +35,20 @@ Properties boolean Powered [readwrite]
> Contains whether the connection is dormant. Will
> always be false if the connection is not powered.
>
> + string DialNumber [readwrite]
> +
> + Holds the dialed number.
> +
We discussed this during the oFono CDMA workshop and the consensus was
that this is not needed in practice.
> + string Username [readwrite]
> +
> + Holds the username to be used for authentication
> + purposes.
> +
> + string Password [readwrite]
> +
> + Holds the password to be used for authentication
> + purposes.
> +
We discussed these as well and the consensus was that these are probably
not needed. If we ever come across a network that does, then we can
re-examine this decision.
> dict Settings [readonly, optional]
>
> Holds all the IP network settings
Regards,
-Denis
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] doc: Add dial-number/username/password Property
2011-06-21 15:07 ` Denis Kenzior
@ 2011-06-23 3:31 ` Zhang, Caiwen
2011-06-23 3:38 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Zhang, Caiwen @ 2011-06-23 3:31 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1987 bytes --]
Hi Denis,
> On 06/21/2011 04:53 AM, Caiwen Zhang wrote:
> > Some network's dial-number isn't #777 and user name and password
> > are required when setup data connection.
> >
> > ---
> > doc/cdma-connman-api.txt | 14 ++++++++++++++
> > 1 files changed, 14 insertions(+), 0 deletions(-)
> >
> > diff --git a/doc/cdma-connman-api.txt b/doc/cdma-connman-api.txt
> > index e486c09..f76a2c5 100644
> > --- a/doc/cdma-connman-api.txt
> > +++ b/doc/cdma-connman-api.txt
> > @@ -35,6 +35,20 @@ Properties boolean Powered [readwrite]
> > Contains whether the connection is dormant. Will
> > always be false if the connection is not powered.
> >
> > + string DialNumber [readwrite]
> > +
> > + Holds the dialed number.
> > +
>
> We discussed this during the oFono CDMA workshop and the consensus was
> that this is not needed in practice.
>
> > + string Username [readwrite]
> > +
> > + Holds the username to be used for authentication
> > + purposes.
> > +
> > + string Password [readwrite]
> > +
> > + Holds the password to be used for authentication
> > + purposes.
> > +
>
> We discussed these as well and the consensus was that these are
> probably
> not needed. If we ever come across a network that does, then we can
> re-examine this decision.
>
For China Telecom there are two different settings:
WAP access(Access China Telecom internal network):
Dial-number: #777
Username: ctwap(a)mycdma.cn
password: vnet.mobi
Internet access(Access internet):
Dial-number: #777
Username: ctnet(a)mycdma.cn
password: vnet.mobi
It seems there are some other operator's setting need username and password too. Please
refer to:
http://my-test.opera.com/iskandarajas/blog/setting-dial-up-cdma-indonesia
Anyway, it should be flexible to keep the settings variable.
> > dict Settings [readonly, optional]
> >
> > Holds all the IP network settings
>
Best regards,
Caiwen
^ permalink raw reply [flat|nested] 4+ messages in thread* RE: [PATCH] doc: Add dial-number/username/password Property
2011-06-23 3:31 ` Zhang, Caiwen
@ 2011-06-23 3:38 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2011-06-23 3:38 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 2528 bytes --]
Hi Caiwen,
> > > Some network's dial-number isn't #777 and user name and password
> > > are required when setup data connection.
> > >
> > > ---
> > > doc/cdma-connman-api.txt | 14 ++++++++++++++
> > > 1 files changed, 14 insertions(+), 0 deletions(-)
> > >
> > > diff --git a/doc/cdma-connman-api.txt b/doc/cdma-connman-api.txt
> > > index e486c09..f76a2c5 100644
> > > --- a/doc/cdma-connman-api.txt
> > > +++ b/doc/cdma-connman-api.txt
> > > @@ -35,6 +35,20 @@ Properties boolean Powered [readwrite]
> > > Contains whether the connection is dormant. Will
> > > always be false if the connection is not powered.
> > >
> > > + string DialNumber [readwrite]
> > > +
> > > + Holds the dialed number.
> > > +
> >
> > We discussed this during the oFono CDMA workshop and the consensus was
> > that this is not needed in practice.
> >
> > > + string Username [readwrite]
> > > +
> > > + Holds the username to be used for authentication
> > > + purposes.
> > > +
> > > + string Password [readwrite]
> > > +
> > > + Holds the password to be used for authentication
> > > + purposes.
> > > +
> >
> > We discussed these as well and the consensus was that these are
> > probably
> > not needed. If we ever come across a network that does, then we can
> > re-examine this decision.
> >
>
> For China Telecom there are two different settings:
> WAP access(Access China Telecom internal network):
> Dial-number: #777
> Username: ctwap(a)mycdma.cn
> password: vnet.mobi
>
> Internet access(Access internet):
> Dial-number: #777
> Username: ctnet(a)mycdma.cn
> password: vnet.mobi
>
> It seems there are some other operator's setting need username and password too. Please
> refer to:
> http://my-test.opera.com/iskandarajas/blog/setting-dial-up-cdma-indonesia
>
> Anyway, it should be flexible to keep the settings variable.
give it a try without it actually. A lot of GSM providers still list
these settings officially, but in the end they accept any
username/password. So once you reach the stage of PPP CHAP, you just
reply with empty username and an empty password and it will succeed.
Lets face it here, the authentication is not done via username and
password, it is done via the backend. So they can clearly tell your data
plan apart and bill you accordingly.
And if this is really really really needed, then we can add this later
on easily. No need to worry about this now.
Regards
Marcel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-23 3:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-21 9:53 [PATCH] doc: Add dial-number/username/password Property Caiwen Zhang
2011-06-21 15:07 ` Denis Kenzior
2011-06-23 3:31 ` Zhang, Caiwen
2011-06-23 3:38 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.