All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: RE: [PATCH] doc: Add dial-number/username/password Property
Date: Wed, 22 Jun 2011 20:38:36 -0700	[thread overview]
Message-ID: <1308800318.2196.80.camel@aeonflux> (raw)
In-Reply-To: <0E7E5CACD8E9F248AA009C292CC772A0759B40@ALA-MBA.corp.ad.wrs.com>

[-- 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



      reply	other threads:[~2011-06-23  3:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1308800318.2196.80.camel@aeonflux \
    --to=marcel@holtmann.org \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.