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

    MMS authentication setting

    Scheduled Pinned Locked Moved Unsolved Support
    mmshelpsupportfocalgoogle-bonito
    8 Posts 3 Posters 642 Views 1 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.
      • UltrasonicNoiseU Offline
        UltrasonicNoise
        last edited by UltrasonicNoise

        Hello all,

        I recently had to switch phone networks due to the impending 3G switch-off where I am. Unfortunately, I now can't send or receive MMS messages and, through testing my SIM card on multiple devices, I've found that I need to change the authentication option from 'None' to 'PAP' for MMS to work. I don't know why my network claims that having the authentication off is sufficient, it is not for me. https://help.voxi.co.uk/Joining-and-Set-up/Set-up-Data/1381340962/What-APN-settings-do-I-need-to-use-data.htm

        Looking through the Ubuntu Touch source code for this functionality and how it might be enabled, I found an Authentication option in one of the settings modules at https://gitlab.com/ubports/development/core/lomiri-system-settings-cellular/-/blob/main/plugins/cellular/PageApnEditor.qml?ref_type=heads#L362 but I don't know how to make showAllUI true so that I can change the setting as required. Is there a way to do that or a command to run in the terminal to set this option as required?

        For clarity, all other cellular functionality works as intended, including SMS, calls, and mobile internet access.

        D 1 Reply Last reply Reply Quote 1
        • D Offline
          DPITTI @UltrasonicNoise
          last edited by

          Normally, MMS and Internet access can be set up in exactly the same way as with Android and iOS. In my opinion, the Apn and MMS settings are under the network. Otherwise it really shouldn't work without a terminal. The question is of course whether it works with UText (no problem with Xenial) Simply saving the text file under Seabass2 with Focal is more difficult. Recommendation: First simply copy the entire setting for the Vodafone provider into UT as shown in the link. Where you find the network signal in UT, there is also the option for Internet and MMS in the setup. You simply have to create a new profile in the top right corner where there should be a + sign. If necessary, restart the system and test it.

          UltrasonicNoiseU 1 Reply Last reply Reply Quote 0
          • UltrasonicNoiseU Offline
            UltrasonicNoise @DPITTI
            last edited by

            @DPITTI I have attempted this but I can't get the Authentication option to show within the APN entry edit screen. I can find it in the source code but not on the user interface, whether by editing existing APN entries or creating new ones. The issue I am experiencing applies to the 'Internet', 'MMS', 'Internet and MMS', and 'LTE' entry types.

            I did look for other instances of showAllUI in the source code but they appear to be compiler switches.

            D lduboeufL 2 Replies Last reply Reply Quote 0
            • D Offline
              DPITTI @UltrasonicNoise
              last edited by

              Then you might be able to try the two things UText under Xenial and Seabass2 under Focal. To be honest, that's all I know right now.

              UltrasonicNoiseU 1 Reply Last reply Reply Quote 0
              • UltrasonicNoiseU Offline
                UltrasonicNoise @DPITTI
                last edited by

                @DPITTI Which file do I need to edit with Seabass2? I've been looking around the phone for 'ofono', 'nuntium' along with NetworkManager's system connections directory but no reference to any of the APN settings show up.

                1 Reply Last reply Reply Quote 0
                • lduboeufL Offline
                  lduboeuf @UltrasonicNoise
                  last edited by

                  @UltrasonicNoise said in MMS authentication setting:

                  @DPITTI I have attempted this but I can't get the Authentication option to show within the APN entry edit screen. I can find it in the source code but not on the user interface, whether by editing existing APN entries or creating new ones. The issue I am experiencing applies to the 'Internet', 'MMS', 'Internet and MMS', and 'LTE' entry types.

                  I did look for other instances of showAllUI in the source code but they appear to be compiler switches.

                  humm indeed, there is some code related to the authentication option, but still not finished apparently, i doubt it is implemented in backend side, btw even if we make it visible, the code do nothing...

                  lduboeufL 1 Reply Last reply Reply Quote 0
                  • lduboeufL Offline
                    lduboeuf @lduboeuf
                    last edited by

                    we can see here https://github.com/sailfishos/libqofono/blob/master/src/qofonoconnectioncontext.cpp that AuthenticationMethod exist, so should be in ofono, idk if our version of libqofono support that
                    but still need some work to be done. i think this is very first time someone need other authentication method than the default one

                    At least you can create a ticket for that here: https://gitlab.com/ubports/development/core/lomiri-system-settings-cellular/-/issues

                    1 Reply Last reply Reply Quote 1
                    • UltrasonicNoiseU Offline
                      UltrasonicNoise
                      last edited by UltrasonicNoise

                      A command I've found which changes the authentication method from the command line is:

                      /usr/share/ofono/scripts/set-context-property 1 AuthenticationMethod pap

                      The number may vary depending on which order the APNs are displayed in /usr/share/ofono/scripts/list-contexts. I found this on https://docs.droidian.org/info/apn/

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