Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: IPV6 question
Date: Wed, 05 Oct 2016 13:01:03 -0500	[thread overview]
Message-ID: <57F53FDF.4020501@gmail.com> (raw)
In-Reply-To: <CAH4ZQwtH8U2kftiLgq1DXsvtkQa6sHVDH4vUbooB5itft-_bvg@mail.gmail.com>

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

Hi Enrico,

On 10/05/2016 01:50 AM, Enrico Sau wrote:
> Hi all,
>
> I'm still trying to make IPV6 work.
> First, I ensured that my modem and network support IPV6 making a
> successful IPV6 connection with linux pppd.

Which modem are you using, if its no secret?

>
> Then I set the ofono context protocol to "dual", removed the check on
> the protocol in at_gprs_activate_primary(), and set +CGDCONT with
> "IPV4V6" which works for my modem.
>
> Result is that the modem successfuly get an IPV6 address because I can
> query it from another AT channel, but ofono does not retrieve any IPV6
> parameters:
>
> [ /le910na1_0/context1 ]
>          Username =
>          AccessPointName =
>          Settings = {
>                      Interface = ppp0
>                      Method = static
>                      DomainNameServers = 172.22.1.201,  0.0.0.0,
>                      Address = 172.22.1.101
>                      Netmask = 255.255.255.255 }
>          AuthenticationMethod = chap
>          Password =
>          Protocol = dual
>          Type = internet
>          Active = 1
>          IPv6.Settings = {
>                      Interface = ppp0 }
>          Name = Internet
> The consequence is that the ppp0 interface only has an IPV4 address.
> I also tried with IPV6 only but same result.
> Any hints?
>

It looks like IPV6CP was never properly integrated into GAtPPP logic. 
At least I don't see ipv6cp_new() inside gatchat/gatppp.c anywhere.  You 
might have to extend gatppp.c to manage IPV6CP as well.

Regards,
-Denis


  reply	other threads:[~2016-10-05 18:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27  6:54 IPV6 question Enrico Sau
2016-09-28 15:22 ` Denis Kenzior
2016-09-29 10:10   ` Enrico Sau
2016-09-29 15:01   ` Harald Welte
2016-09-29 15:36     ` Marcel Holtmann
2016-09-29 16:07     ` Denis Kenzior
2016-10-05  6:50       ` Enrico Sau
2016-10-05 18:01         ` Denis Kenzior [this message]
2016-10-06  7:13           ` Enrico Sau
2016-10-06 17:29             ` Denis Kenzior

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=57F53FDF.4020501@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox