All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: PPP connection to a private APN
Date: Fri, 02 Aug 2013 11:00:19 -0500	[thread overview]
Message-ID: <51FBD793.8050001@gmail.com> (raw)
In-Reply-To: <CAMtf1D9M+Eg=vUop=3r9H6RAjqpTuFFu_WQ0P=SH6FPJyGe5Gw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]

Hi Etienne,

On 08/02/2013 10:31 AM, Etienne Mabille wrote:
> Hi everyone,
>
> I am forced to work with version 1.3 of oFono and I want to setup a ppp
> connection on a private APN.
> It works well on a public APN but not on the private one. I looked at
> the debug trace and it seems like oFono doesn't give the username and
> password anywhere in the AT commands.
> Is this function possible ? If so, does anyone know when this feature
> was added so I can add a patch to my version ?
>

Your subject mentions a 'PPP' connection.  So I assume you're using a 
modem which uses PPP.  If so, then the user/password exchange is done 
over the PPP link and not AT commands.  You will have to debug the PPP 
connection in order to understand what fails.

The gatchat library actually has a nice tool that might help.  It uses 
the oFono internal PPP implementation and can make basic context 
activations.  See gatchat/gsmdial.c for reference.

The tool also supports PPPdump file output (use --pppdump option to set 
a filename).  You can then view the detailed transaction log with 
wireshark or another protocol analyzer.

Regards,
-Denis


  reply	other threads:[~2013-08-02 16:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-02 15:31 PPP connection to a private APN Etienne Mabille
2013-08-02 16:00 ` Denis Kenzior [this message]
2013-08-07 14:10   ` Etienne
2013-08-07 15:41     ` Denis Kenzior
2013-08-07 16:12     ` Marcel Holtmann
2013-08-07 23:30       ` Denis Kenzior
2013-08-08  1:03         ` Marcel Holtmann
2013-08-09  9:11           ` Etienne
2013-08-09  9:37             ` Etienne
2013-08-09 14:24             ` Denis Kenzior
2013-08-12  9:19               ` Etienne Mabille
2013-08-12  9:28                 ` Jesper Larsen
2013-08-12 12:43                   ` Etienne

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=51FBD793.8050001@gmail.com \
    --to=denkenz@gmail.com \
    --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.