Open Source Telephony
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: ppp0 interface is not configured
Date: Tue, 17 Aug 2010 19:33:42 +0200	[thread overview]
Message-ID: <1282066422.23399.126.camel@localhost.localdomain> (raw)
In-Reply-To: <4C6AC5CA.5020503@mayer-electronics.de>

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

Hi Florian,

> >> we currently test the PPP dialup with a Huawei EM770W modem. We can 
> >> connect with create-context and activate context but the ppp device is 
> >> not configured. connman says that the device is not connected. We use 
> >> connman 0.55 and ofono 0.26.
> >> What did we do wrong? The kernel is 2.6.35~pre5 from Meego 1.1 devel.
> >>     
> >
> > I never tested this with the EM777W modem, but with the Huawei modems I
> > have it works just fine.
> >
> > Especially if it shows the DataConnectionManager interface since then
> > you have this properly setup and running.
> >
> >   
> >>     [ org.ofono.DataConnectionManager ]
> >>         Powered = 1
> >>         Attached = 1
> >>         PrimaryContexts = /huawei0/primarycontext1
> >>         RoamingAllowed = 1
> >>     [ org.ofono.NetworkRegistration ]
> >>         Status = registered
> >>         Strength = 70
> >>         Name = T-Mobile D
> >>         Operators = /huawei0/operator/26201
> >>         LocationAreaCode = 34591
> >>         Mode = auto
> >>         MobileCountryCode = 262
> >>         CellId = 5950877
> >>         MobileNetworkCode = 01
> >>     
> >
> >   
> >> # /usr/lib/ofono/test/list-contexts
> >> [ /huawei0 ]
> >>     [ /huawei0/primarycontext1 ]
> >>         Username =
> >>         Protocol = ip
> >>         Name = 3G Connection
> >>         Settings = { Interface=ppp0 Netmask=255.255.255.255 
> >> Method=static DomainNameServers=193.254.160.1,10.74.83.22, 
> >> Address=88.128.36.75 }
> >>         Active = 1
> >>         AccessPointName = internet.t-d1.de
> >>         Password =
> >>         Type = internet
> >>     
> >
> > This looks like an active Internet context. How did you activate this
> > one. Via ConnMan or via activate-context test script. If via the script,
> > then I think that ConnMan is not picking this up. I think that is a bug
> > in ConnMan.
> >
> > What does list-services from ConnMan says? The devices and networks are
> > actually irrelevant.
>
> Yes I activated the context with the ofono activate-context script. I 
> tested this method some time ago with connman 0.54 and ofono 0.24. There 
> it worked.
> Here is the result of connman list-services:
> [ /profile/default/cellular_262012020178698_primarycontext1 ]
>     AutoConnect = false
>     Strength = 74
>     Name = T-Mobile D
>     SetupRequired = true
>     Nameservers = [ ]
>     Proxy = { }
>     Favorite = false
>     Domains.Configuration = [ ]
>     State = idle
>     IPv4 = { }
>     Nameservers.Configuration = [ ]
>     Mode = gprs
>     Domains = [ ]
>     Ethernet = { }
>     Roaming = 0
>     IPv4.Configuration = { }
>     Type = cellular
>     Immutable = false
>     LoginRequired = false
> 
> How can I activate the the service from connman side via command line?
> To get it right: each created context in ofono (and in the modem) is a 
> service for connman, right?
> I have to provide some hardware testing scripts for my customer. They 
> want to do it automated.

I am using "test-connman list" and "test-connman connect ...". Make sure
the APN is set properly, but it can also be set via test-connman script.

Regards

Marcel



  reply	other threads:[~2010-08-17 17:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17 16:38 ppp0 interface is not configured Florian Mayer
2010-08-17 16:45 ` Marcel Holtmann
2010-08-17 17:24   ` Florian Mayer
2010-08-17 17:33     ` Marcel Holtmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-17 16:41 Florian Mayer

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=1282066422.23399.126.camel@localhost.localdomain \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox