SMS and calls working, but no mobile internet

Bug #1435784 reported by Christina
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Tony Espy
ofono (Ubuntu)
Fix Released
Critical
Alfonso Sanchez-Beato
ofono (Ubuntu RTM)
Fix Released
Critical
Alfonso Sanchez-Beato

Bug Description

Can't get mobile internet connection on aquaris e4.5.
I have inserted a bob (austrian provider) SIM card in slot 1 and can send SMS and make calls, but mobile internet connection fails.

phablet@ubuntu-phablet:/⁠usr/⁠share/⁠ofono/⁠scripts$ ./⁠list-⁠contexts
[ /⁠ril_1 ]
[ /⁠ril_0 ]
[ /⁠ril_0/⁠context1 ]
Settings = { }
Type = internet
Protocol = ip
Active = 0
IPv6.Settings = { }
Name = data.bob
Username = <email address hidden>
AccessPointName = bob.at
Password = ppp

[ /⁠ril_0/⁠context2 ]
Settings = { }
Type = mms
Protocol = ip
Active = 0
MessageProxy = 194.48.124.7:8001
IPv6.Settings = { }
Name = data.bob MMS
Username = <email address hidden>
MessageCenter = http://mmsc.bob.at
AccessPointName = mms.bob.at
Password = ppp

phablet@ubuntu-phablet:/⁠usr/⁠share/⁠ofono/⁠scripts$ ./⁠list-⁠modems
[ /ril_1 ]
    Interfaces = org.ofono.RadioSettings org.ofono.SimManager org.ofono.MtkSettings org.ofono.CallVolume org.ofono.VoiceCallManager org.ofono.NetworkTime
    Model = Fake Modem Model
    Type = hardware
    Lockdown = 0
    Revision = MOLY.WR8.W1315.MD.WG.MP.V37.P5, 2014/05/15 11:49
    Powered = 1
    Manufacturer = Fake Manufacturer
    Features = rat sim
    Emergency = 0
    Online = 1
    Serial = 359011060075557
    [ org.ofono.RadioSettings ]
        ModemTechnologies = gsm
        TechnologyPreference = gsm
        FastDormancy = 0
    [ org.ofono.SimManager ]
        Present = 0
    [ org.ofono.MtkSettings ]
        Has3G = 0
    [ org.ofono.CallVolume ]
        SpeakerVolume = 0
        MicrophoneVolume = 0
        Muted = 0
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 08 000 999 110 112 911 118 119
    [ org.ofono.NetworkTime ]

[ /ril_0 ]
    Interfaces = org.ofono.ConnectionManager org.ofono.CallBarring org.ofono.CallForwarding org.ofono.CallSettings org.ofono.SupplementaryServices org.ofono.NetworkRegistration org.ofono.SmartMessaging org.ofono.PushNotification org.ofono.MessageManager org.ofono.MessageWaiting org.ofono.RadioSettings org.ofono.SimManager org.ofono.MtkSettings org.ofono.CallVolume org.ofono.VoiceCallManager org.ofono.NetworkTime
    Model = Fake Modem Model
    Type = hardware
    Lockdown = 0
    Revision = MOLY.WR8.W1315.MD.WG.MP.V37.P5, 2014/05/15 11:49
    Powered = 1
    Manufacturer = Fake Manufacturer
    Features = gprs ussd net sms rat sim
    Emergency = 0
    Online = 1
    Serial = 359011060035551
    [ org.ofono.ConnectionManager ]
        Attached = 1
        Bearer = umts
        RoamingAllowed = 1
        Powered = 1
        Suspended = 0
    [ org.ofono.CallBarring ]
        VoiceOutgoing = international
        VoiceIncoming = disabled
    [ org.ofono.CallSettings ]
        HideCallerId = default
        ConnectedLineRestriction = unknown
        CalledLinePresentation = disabled
        CallingNamePresentation = unknown
        CallingLinePresentation = enabled
        ConnectedLinePresentation = unknown
        VoiceCallWaiting = enabled
        CallingLineRestriction = off
    [ org.ofono.SupplementaryServices ]
        State = idle
    [ org.ofono.NetworkRegistration ]
        MobileNetworkCode = 01
        MobileCountryCode = 232
        CellId = 1914421
        LocationAreaCode = 6710
        Mode = auto
        Strength = 45
        Status = registered
        Name = bob
        Technology = umts
    [ org.ofono.SmartMessaging ]
    [ org.ofono.PushNotification ]
    [ org.ofono.MessageManager ]
        Bearer = cs-preferred
        ServiceCenterAddress = +436640501
        UseDeliveryReports = 0
        Alphabet = default
    [ org.ofono.MessageWaiting ]
        VoicemailMailboxNumber =
        VoicemailWaiting = 0
        VoicemailMessageCount = 0
    [ org.ofono.RadioSettings ]
        ModemTechnologies = gsm umts
        TechnologyPreference = umts
        FastDormancy = 0
    [ org.ofono.SimManager ]
        BarredDialing = 0
        CardIdentifier =
        MobileNetworkCode = 11
        LockedPins = pin
        Present = 1
        SubscriberNumbers =
        MobileCountryCode = 232
        SubscriberIdentity =
        FixedDialing = 0
        Retries = [pin = 3] [puk2 = 10] [puk = 10] [pin2 = 3]
        PinRequired = none
        PreferredLanguages = de en fr it
    [ org.ofono.MtkSettings ]
        Has3G = 1
    [ org.ofono.CallVolume ]
        SpeakerVolume = 0
        MicrophoneVolume = 0
        Muted = 0
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 112 911
    [ org.ofono.NetworkTime ]

Related branches

Revision history for this message
Christina (christina-kohl) wrote :
Tony Espy (awe)
description: updated
description: updated
Tony Espy (awe)
Changed in ofono (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Tony Espy (awe)
Changed in ofono (Ubuntu RTM):
importance: Undecided → Critical
assignee: nobody → Tony Espy (awe)
Changed in canonical-devices-system-image:
assignee: nobody → Tony Espy (awe)
Revision history for this message
Tony Espy (awe) wrote :

Here are the related errors from syslog:

Mar 24 10:25:19 ubuntu-phablet NetworkManager[1608]: <info> (/ril_0): activating context /ril_0/context1
Mar 24 10:25:19 ubuntu-phablet NetworkManager[1608]: <info> Activation (/ril_0) Stage 1 of 5 (Device Prepare) complete.
Mar 24 10:25:20 ubuntu-phablet NetworkManager[1608]: <warn> OFONO connection failed: (32) Operation failed

And the associated ofono error:

Mar 24 10:23:10 ubuntu-phablet ofonod[2003]: ril_setup_data_call_cb: setup data call failed for apn: bob.at - GENERIC_FAILURE

Where did you get the APN settings for Bob? I did a quick search and your settings all look correct to me.

My guess is that this might be related to Authentication, although many of the sites I found on the Internet also list a 'Server' field for Bob which is another APN attribute we currently don't support.

Revision history for this message
Tony Espy (awe) wrote :

Looking at our apns-conf.xml file, here's the corresponding APN for Bob:

<apn carrier="data.bob"
      mcc="232"
      mnc="11"
      apn="bob.at"
      <email address hidden>"
      password="ppp"
      authtype="1"
      type="default,supl"
/>

...and looking at our GPRS code, as ofono doesn't directly support the 'authtype' attribute, the rilmodem gprs code hard codes an authtype, and furthermore as MTK modems don't appear to support the value hard-coded by rilmodem, they specify an 'authtype' of NONE. My guess is this is the source of your problem.

    if (g_ril_vendor(gcd->ril) == OFONO_RIL_VENDOR_MTK)
                request.auth_type = RIL_AUTH_NONE;
        else
                request.auth_type = RIL_AUTH_BOTH;

tags: added: bq
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ofono (Ubuntu):
status: New → Confirmed
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

Radio logs show error:

+CME ERROR: 149

Taking a look at 3gpp 27.007, section 9.2.2.2:

149 PDP authentication failure

which points in the direction suggested by Tony.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

We have similar reports from other users on these carriers in Germany
- Kabel Deutschland
- Simply (O2)
- Vodafone(D2)
- Telekom(D1)
- Klarmobil, (MVNO Telekom deutschland network 900MHZ)
- Alditalk (E-Plus network 1800Mhz, from Telefonica group)

Revision history for this message
Tony Espy (awe) wrote :

@Pat

We should try and keep these bugs separate until we can confirm that they're the same issue.

Unfortunately, the carrier name by itself isn't sufficient to tell. To uniquely identify a carrier, we need the name, Mobile Country Code ( mcc ), and Mobile Network Code ( mnc ).

Taking a quick look at our APN db, I two possible matches:

Vodafone (D2) ----> Vodafone DE: mcc=262 mnc=02
Telekom (D1) ------> Telekom Internet: mcc=262 mnc=01

Telekom Internet does specify authtype=1, so that's the same bug. The APN for Vodafone DE doesn't specify an 'authtype', but until we know that the carrier details ( mcc/mnc ), we can't confirm.

In general, our APN db has pretty poor coverage in Germany. I see a grand total of five carriers listed. This means that the customers in question are most likely entering their APNs manually.

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

With this fix Christina was able to open a cellular data context:

https://github.com/rilmodem/ofono/pull/170

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I opened bug #1436545 per comments #6 and 7

tags: added: connectivity
Tony Espy (awe)
Changed in ofono (Ubuntu RTM):
status: New → In Progress
status: In Progress → Fix Committed
assignee: Tony Espy (awe) → Alfonso Sanchez-Beato (alfonsosanchezbeato)
Changed in ofono (Ubuntu):
assignee: Tony Espy (awe) → Alfonso Sanchez-Beato (alfonsosanchezbeato)
status: Confirmed → Fix Committed
Tony Espy (awe)
Changed in canonical-devices-system-image:
status: New → Fix Committed
Changed in canonical-devices-system-image:
milestone: none → ww13-ota
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono - 1.12.bzr6890+15.04.20150325.2~rtm-0ubuntu1

---------------
ofono (1.12.bzr6890+15.04.20150325.2~rtm-0ubuntu1) 14.09; urgency=medium

  [ Alfonso Sanchez-Beato ]
  * rilmodem/gprs.c: dynamically set authtype based on credentials (LP: #1435784)
 -- CI Train Bot <email address hidden> Wed, 25 Mar 2015 21:49:12 +0000

Changed in ofono (Ubuntu RTM):
status: Fix Committed → Fix Released
Revision history for this message
Ondrej Kubik (ondrak) wrote :

Yep, we don't support dualboot on Nexus 7 anymore, it has too small partition for recovery where Ubuntu boot.img does not fit anymore.
So when you try to reboot to Ubuntu it will fail. Only way out would be some sort of repacking of Ubuntu boot image on the device and slimming it down to fit in Nexus 7 (2013) recovery partition.
I think there is probably existing bug for this.

Revision history for this message
Ondrej Kubik (ondrak) wrote :

Ups sorry wrong bug. Ignore my comment.

Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Revision history for this message
Carharttguy (carharttguy) wrote :

Hello

I have no cellular data since the latest Ubuntu touch update, is this related to this?

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

@carharttguy, probably not. Which is your operator? As a first step I would use the APN editor and add an APN with your operator's setting. Also output from scripts:

/usr/share/ofono/scripts/list-modems
/usr/share/ofono/scripts/list-contexts

would be useful.

Revision history for this message
Tony Espy (awe) wrote :

This fix was missed in the changelog for vivid ofono version: (1.12.bzr6892+15.04.20150407-0ubuntu1.

Also confirmed that the code in question is in our trunk bzr branch as of r6892:

lp:~phablet-team/ofono/ubuntu

Changed in ofono (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.