UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Mobile Data Not Working

    Scheduled Pinned Locked Moved Unsolved Support
    27 Posts 6 Posters 4.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • LakotaubpL Offline
        Lakotaubp
        last edited by

        Can you try just setting the data part of the apn up and see what happens, no mms settings.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Aloys @Keneda
          last edited by

          Thanks @Keneda , I did it but it is still not working.

          1 Reply Last reply Reply Quote 0
          • A Offline
            Aloys @Lakotaubp
            last edited by

            Thank you @Lakotaubp , I set only internet (no MMS), but no change still not working, even after a reboot.

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              domubpkm @Aloys
              last edited by

              @Aloys Now i'm on focal on my Volla and all goes well with one APN for internet + MMS on SIM 1.

              Before on Xenial, i used two different apn's on SIM 1 :

              For Internet :
              Name :Bouygues MMS
              apn name : mmsbouygtel.com

              For MMS :
              Name : Bouygues MMS
              apn name ; ebouygtel.com
              MMSC : http://mms.bouyguestelecom.fr/mms/wapenc
              Proxy : 62.201.129.226
              Proxy port : 8080

              You can make tests on SIM 1 and SIM2 because i don't know / use your phone.

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Aloys @domubpkm
                last edited by

                Thanks @domubpkm , I try on sim1 and sim2 but nothing change!

                I try my sim card on my old FP2, and mobile data works directly without any change in parameters.
                I then check that I have same parameters between FP2 and FP3. And it does not work on FP3.

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  Aloys @Aloys
                  last edited by

                  I update to dev channel on 20.04, version 261. But no success, still no mobile data!

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    domubpkm @Aloys
                    last edited by

                    @Aloys When I installed xenial UT on my Volla a long time ago, I didn't have internet. The problem was this:
                    https://github.com/ubports/ubuntu-touch/issues/1657
                    This is just for information or food for thought.

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      Aloys @domubpkm
                      last edited by

                      Thanks @domubpkm
                      I have a look at it. It brings me to get information from ofono on my FP3+:

                      phablet@ubuntu-phablet:/usr/share/ofono/scripts$ ./list-contexts
                      [ /ril_0 ]
                          [ /ril_0/context1 ]
                              Name = Bouygues Telecom
                              Active = 0
                              Preferred = 1
                              Type = internet
                              Protocol = ip
                              AccessPointName = mmsbouygtel.com
                              Username =
                              Password =
                              AuthenticationMethod = any
                              MessageProxy = 62.201.129.226:8080
                              MessageCenter = http://mms.bouyguestelecom.fr/mms/wapenc
                              Settings = { }
                              IPv6.Settings = { }
                      
                          [ /ril_0/context2 ]
                              Name = MMS
                              Active = 0
                              Preferred = 0
                              Type = mms
                              Protocol = ip
                              AccessPointName =
                              Username =
                              Password =
                              AuthenticationMethod = any
                              MessageProxy =
                              MessageCenter =
                              Settings = { }
                              IPv6.Settings = { }
                      
                          [ /ril_0/context3 ]
                              Name = IMS
                              Active = 0
                              Preferred = 0
                              Type = ims
                              Protocol = ip
                              AccessPointName =
                              Username =
                              Password =
                              AuthenticationMethod = any
                              Settings = { }
                              IPv6.Settings = { }
                      
                      [ /ril_1 ]
                      

                      then the same on my old FP2 with same sim card, and with mobile data working correctly:

                      phablet@ubuntu-phablet:/usr/share/ofono/scripts$ ./list-contexts
                      [ /ril_1 ]
                      [ /ril_0 ]
                          [ /ril_0/context1 ]
                              Settings = { Gateway=100.89.218.180 Method=static DomainNameServers=62.201.129.202,62.201.129.201, ProxyPort=8080 Interface=rmnet0 Proxy=62.201.129.226 Address=100.89.218.179 Netmask=255.255.255.0 }
                              Name = Bouygues Telecom
                              Preferred = 1
                              Type = internet
                              Username =
                              Password =
                              Protocol = ip
                              AuthenticationMethod = chap
                              AccessPointName = mmsbouygtel.com
                              MessageCenter = http://mms.bouyguestelecom.fr/mms/wapenc
                              IPv6.Settings = { }
                              MessageProxy = 62.201.129.226:8080
                              Active = 1
                      
                          [ /ril_0/context2 ]
                              Settings = { }
                              Name = Bouygues MMS
                              Preferred = 0
                              Type = internet
                              Username =
                              Password =
                              Protocol = ip
                              AuthenticationMethod = chap
                              AccessPointName = mmsbouygtel.com
                              MessageCenter = http://mms.bouyguestelecom.fr/mms/wapenc
                              IPv6.Settings = { }
                              MessageProxy = 62.201.129.226:8080
                              Active = 0
                      

                      I have no competencies on ofono, but I see a difference which seems to me abnormal:
                      For [ /ril_0/context1 ] on FP3 and FP2, it corresponds to the APN setting I have configured and activated, but Active = 0 on FP3 and Active = 1 on FP2. And another difference is that Settings is empty in FP3 and filled in FP2.

                      Thanks of lot if someone has an idea of what to do, for example is there an ofono script (in /usr/share/ofono/script) with which I could try a re-initialization or configuration?

                      1 Reply Last reply Reply Quote 0
                      • RedXXIIIR Offline
                        RedXXIII
                        last edited by

                        I had the same issue some weeks ago with my FP3+ on stable Focal with Free operator in France.

                        I suddenly lose data connection without any event or explanation. Before that it was perfect. After, data was available for about 30 sec after reboot and then get lost. I tried so much things I can t remember. Maybe some of you may remeber that period in the French Telegram group...

                        I reset the apn, did reboots on diverses manners, changed sim slot, changed sim card, wipe phone to reinstall various images (xenial, focal, stable, dev...), switch back to android (data worked!) and back to UT (no data again!), tried a ton of stuff in the terminal thanks to support from the French community, etc. Nothing ever worked for me!

                        After about 1 month I remembered some advice from the Fairphone tutorial. When you reinstall Android, you have to do it without a sim card in your phone. I never did that to install Android or UT and never had a pb.

                        But that time I did reinstall Android without a sim card on the phone, then put the sim and tested data connection, and then reinstall UT without the sim and... That time it worked! So that might be the solution for you also.

                        Fairphone 3+ / BQ Aquaris M10 FHD / BQ Aquaris E5

                        1 Reply Last reply Reply Quote 0
                        • RedXXIIIR Offline
                          RedXXIII
                          last edited by

                          Here is the link for Fairphones. I think it is pretty clear but if you have questions I can help you from my experience.

                          https://support.fairphone.com/hc/en-us/articles/18896094650513

                          Fairphone 3+ / BQ Aquaris M10 FHD / BQ Aquaris E5

                          A 1 Reply Last reply Reply Quote 0
                          • LakotaubpL Lakotaubp moved this topic from Support on
                          • A Offline
                            Aloys @RedXXIII
                            last edited by

                            Thank you @RedXXIII , I will try as you propose to reinstall Android (without sim card) and then UT.

                            A 1 Reply Last reply Reply Quote 0
                            • A Offline
                              Aloys @Aloys
                              last edited by Aloys

                              Before re-installing Android and UT, I did a few test by launching some scripts in /usr/share/ofono/scripts:

                              • disable-gprs
                              • enable-gprs

                              then

                              • disable-modem
                              • enable-modem

                              But it did not bring back the mobile data !

                              When I enable mobile data, I often notice but not always, that network icon (use for wifi) was flickering between three dots and empty. After the scripts disable-gprs/enable-gprs, the tree dots appears a longer time, I take a snapshot:
                              screenshot20231125_221420989.png

                              D RedXXIIIR 2 Replies Last reply Reply Quote 0
                              • D Offline
                                domubpkm @Aloys
                                last edited by

                                @Aloys did you checked if cellular data work for 2G/3G only ?
                                screenshot20231125_231443785.png

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Aloys @domubpkm
                                  last edited by

                                  @domubpkm , yes I try also with 2G/3G, it does not work.

                                  1 Reply Last reply Reply Quote 0
                                  • CiberSheepC CiberSheep moved this topic from 20.04 Focal Fossa on
                                  • RedXXIIIR Offline
                                    RedXXIII @Aloys
                                    last edited by

                                    @Aloys it was the same for me. Is anyone knowing why the icon says 4g on the menu but no connection at the top bar?

                                    Fairphone 3+ / BQ Aquaris M10 FHD / BQ Aquaris E5

                                    A 1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      Aloys @RedXXIII
                                      last edited by Aloys

                                      News!!!

                                      Since on my old FP2 (16.04 OTA 25), mobile data were running perfectly, I reinstall 16.04 OTA 25) on my FP3+ (which was with 20.04 OTA 3) and mobile data are working!

                                      So I think we can suspect a regression in 20.04.

                                      so try to find the scenario:

                                      • I was with my FP3+ on 16.04 OTA 25 and french operator "Sosh" (SIM1): mobile data OK
                                      • I switch to 20.04 OTA 2, then 3: mobile data ok
                                      • I change operator to "Bouygues Telecom" (switch "Sosh" in SIM2 and put "BouyguesTelecom" in SIM1): mobile data KO on both SIM1 or SIM2.
                                      • then I had only "Bouygues Telecom" in SIM1, and I never succeed to make running mobile data
                                      • finally switch back to 16.04 OTA 25 -> mobile data comes back.
                                      A 1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Aloys @Aloys
                                        last edited by Aloys

                                        Then on FP3+, I switched to 20.04 stable channel and upgraded. I have now OTA 3 and mobile data are working. I see that I have the exact same APN settings than with 1604 OTA25.

                                        So the problem is with default apn settings when reseting them, they are:

                                        • OK on 16.04
                                        • KO on 20.04

                                        Problem solved for internet, I need to enter manually the APN settings.

                                        I will give the details of the settings in a next post.

                                        A 1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Aloys @Aloys
                                          last edited by Aloys

                                          The NOT working APN settings, which are given by reinit of settings, in 20.04 OTA 3:
                                          NotWorking_APN_settings_resized.png

                                          The working APN settings, which are given by reinit of settings, in 16.04 OTA 25:
                                          Working_APN_settings_resized.png
                                          In 20.04OTA3, I erase the two default not working settings, and create two new ones equal to the ones of OTA 25. I reboot the phone and enable mobile data, it works!

                                          Problem solved for internet!
                                          not yet for MMS! probably APN settings are incorrect, I would need to set MCC, MNC, APN type as it was previously mentionned here: https://forums.ubports.com/topic/5615/how-do-you-set-the-apn-settings-for-mcc-mnc-and-apn-type?_=1701009468487 but this post does not help so much.

                                          How can we manage these settings MCC, MNC, APN type within UT?

                                          D 1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            domubpkm @Aloys
                                            last edited by

                                            @Aloys I think you will have to test for yourself to find the right Bouygues apn's on the FP3. But your screenshots suggest that you need 1 apn for internet only and the other for mms only. I gave what worked for me.

                                            And no, MCC, MNC, APN are not parameters existing under UT.

                                            A 1 Reply Last reply Reply Quote 0
                                            • A Offline
                                              Aloys @domubpkm
                                              last edited by

                                              @domubpkm I have retried your proposed settings, even with rebooting the phone to be sure settings are taken into account. And it gave no results, still no internet and no MMS.
                                              The best I succeed is what I proposed in last screenshot for internet only. I tried many things for MMS, I never succeed.
                                              I find quite strange that default settings does not work since they are compliant with what recommends the "Bouyges Telecom" provider.
                                              May be I will later try in Android.

                                              D 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post