Re: ppp0 interface is not configured
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. Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: ppp0 interface is not configured
Marcel Holtmann schrieb: 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. Hello, thanks for the fast reply. 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. Regards Florian Regards Marcel ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: ppp0 interface is not configured
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 ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono