Support ipv6 mobile connections

Bug #1331813 reported by Pat McGowan
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Medium
Unassigned
ofono (Ubuntu)
Confirmed
Medium
Tony Espy
ubuntu-download-manager (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

My new T-Mobile SIM only has Apn contexts using IPv6 so cellular data is not working
Purchased the SIM a couple weeks ago.

The output of the /usr/share/ofono/list-contexts is:

[ /ril_0 ]
    [ /ril_0/context1 ]
        MessageProxy =
        Type = internet
        Password =
        Active = 1
        MessageCenter = http://mms.msg.eng.t-mobile.com/mms/wapenc
        Username =
        IPv6.Settings = { Interface=rmnet_usb0 }
        AccessPointName = fast.t-mobile.com
        Settings = { }
        Name = T-Mobile GPRS
        Protocol = ipv6

Tags: avengers
Tony Espy (awe)
Changed in ofono (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Tony Espy (awe)
description: updated
Julien Funk (jaboing)
tags: added: avengers
Revision history for this message
Julien Funk (jaboing) wrote :

Hey I use MetroPCS and this affected me, here's the isntructions I used from Tony to workaround this and eventually get 3G working.

"

this broke after our first utopic landing for 14.10 which switched the provisioning db used to configure the phone from an ubuntu-source db to an android-based db. unfortunely, we failed to notice that t-mobile had upgraded all the apns to IPv6. ;(-

i believe an easy workaround is to modify your context so that it has "ip" instead of "ipv6".

i've attached an updated gprs settings file for you <jfunk has attached MetroPCS version to this defect for anyone else who needs>

adb into the phone and as root run this command:

# stop ofono

exit out of adb, and push the attached gprs file onto the phone:

% adb push gprs /var/lib/ofono/<IMSI>

where <IMSI> is your SubscriberIdentity. If you've only used one SIM card in the device, there should be only one directory in /var/lib/ofono ( note, ignore any of the directory with a -[1-9] suffix ).

if you're still unsure about SubscriberIdentity, you can find it by running the following command on the device, as root:

# /usr/share/ofono/scripts | grep SubscriberIdentity

after pushing the new gprs settings file, reboot the device:

$ adb shell reboot

this should get you working internet.

either way, can you please add a comment to the bug if your provider is indeed t-mobile?

also, this may not give you working mms ( receive-only ). if you want to test, we may need to do some more manaul configuration, hopefully the ui to do all of this will be landing soon.

"

Revision history for this message
Julien Funk (jaboing) wrote :

Also worth mentioning that MetroPCS should be added to the DB.

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

Changed Importance to Medium, as this hasn't been deemed a critical fix for RTM.

Also adding tasks for other components.

Changed in ofono (Ubuntu):
importance: High → Low
importance: Low → Medium
Changed in network-manager (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
summary: - Support ipv6 for T-Mobile
+ Support ipv6 mobile connections
Changed in ubuntu-download-manager (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

I have t-mobile. Data did not work until I applied this work around. I now received Edge data.

Revision history for this message
Jeffrey Elkner (jelkner) wrote :

I have t-mobile and can't access data without a wifi connection. I tried changing ipv6 to ip in my gprs file, but still no luck connecting after a reboot.

I have

AccessPointName=fast.t-mobile.com
...
MessageCenter=http://mms.msg.eng.t-mobile.com/mms/wapenc

in my gprs file. I didn't push the new one, since it didn't make sense to me to change these values to metropc ones in Julien's attached file.

Revision history for this message
richard mccormick (slade752) wrote :

adb push is giving me permissions denied :/ ive tried everything including the adb she manual setting of the apn and i still have no 3g data, im only able to receive texts and make calls any idea on how to circumvent this? i installed ubuntu touch through multi rom on the n5 if that makes any difference

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

One key step is making sure that ofono is stopped before editing/replacing the gprs settings file. If ofono is running, any changes made will be ignored.

Regarding adb permission problems, you may need to run adb shell, then use sudo to move the new file into place ( again after stopping ofono ).

This has been proven to work, so you just need to ensure you carefully follow that steps in comment #1. Finally, another alternative is to purchase a SIM from a different carrier.

Also we're going to make a change which will automatically make this conversion happen, as IPv6 isn't on our short-term work list.

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

Changes in ofono mean basically exposing the ipv6 settings returned by rild in ofono's DBus interface. The only issue that is trickier is the handling of MMS contexts, as ofono does establish addresses and routes in that case (which is not true for internet contexts).

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

Note, as of ofono 1.12.bzr6896+15.04.20150521-0ubuntu1, when provisioning, we now automatically convert any "ipv6" to "ip", so the workaround mentioned in comment #1 is no longer required. This change was rolled out as part of OTA4. This change will need to be reverted if/when we enable full IPv6 support.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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