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

    Bug: data mobile interface looses ip

    Scheduled Pinned Locked Moved OS
    38 Posts 6 Posters 2.7k Views 5 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.
    • J Offline
      jojumaxx
      last edited by

      I just read through this post and want to add that lately, I have that exact issue on my Volla X (24.04-1.2 stable).
      I'll test the script and report back.

      In my case this goes hand in hand with not being able to receive calls. I can initiate calls, but it takes around a minute until a call is established (until the ring sound).

      Happily running Ubuntu Touch:

      • BQ Aquaris E5 HD (Retired)
      • BQ Aquaris M10 HD (Retired)
      • Meizu MX4 Pro (Retired)
      • Meizu Pro 5 (Retired)
      • PinePhone UBPorts Edition
      • Volla Phone
      • Volla Phone X
      1 Reply Last reply Reply Quote 0
      • D Offline
        domubpkm @pparent
        last edited by

        @pparent Hello. Thanks for the script. Did you notice side effects (you said that, i have a Volla 22 too) ?
        May you please suggest a complete procedure to test (as done here https://forums.ubports.com/topic/6211/howto-alternate-way-of-saving-battery-when-using-4g-lte ) ?
        Thanks in advance.

        pparentP 2 Replies Last reply Reply Quote 1
        • pparentP Offline
          pparent @domubpkm
          last edited by

          @domubpkm said:

          Did you notice side effects (you said that, i have a Volla 22 too) ?

          The only thing that I've noted so far, is that If I enable airplane mode with a wrong timing (bad luck), it might go into a loop of disabling / re-eabling the modem. But then I switch off and on, the airplane mode it goes fine.

          1 Reply Last reply Reply Quote 0
          • pparentP Offline
            pparent @domubpkm
            last edited by pparent

            @domubpkm said:

            May you please suggest a complete procedure to test

            1°) With adb create the script with

            nano /home/phablet/backup-ip.sh
            

            and paste the content

            2°) Give execution rights:

            chmod +x /home/phablet/backup-ip.sh
            

            3°) Start the script with:

            sudo su -c "/home/phablet/backup-ip.sh > /home/phablet/log-backupip 2>&1 &"
            

            It will then be running until next reboot.

            pparentP 1 Reply Last reply Reply Quote 1
            • pparentP Offline
              pparent @pparent
              last edited by

              I've reported the bug here:

              https://gitlab.com/ubports/porting/reference-device-ports/android11/volla-phone-22/volla-mimameid/-/work_items/26

              D 2 Replies Last reply Reply Quote 1
              • D Offline
                domubpkm @pparent
                last edited by

                @pparent added some comments.

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

                  @pparent i test the script in train..

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

                    @pparent Given that the conditions are particularly detestable on the train, I can say that the script passed the test with success: I always managed to recover the network at various times without any action on my part even if it was not immediate given the moving train and the constant change, I suppose, of relay towers.

                    pparentP 1 Reply Last reply Reply Quote 0
                    • pparentP Offline
                      pparent @domubpkm
                      last edited by

                      @domubpkm

                      Great!

                      In any case in a train you cannot expect a perfectly stable connection! šŸ˜‰

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

                        @pparent Yes the script works well. However, maybe a side effect that I noticed (not in the train) : VoLTE and cellular data use different APNS from what I understood. So, without the script, I have Volte enabled even though cellular data is off. When the script is enabled, VoLTE only works if cellular data is enabled.

                        Edit : What is the command line to stop the script without reboot or stop restart of the Volla 22 ?

                        pparentP 1 Reply Last reply Reply Quote 0
                        • pparentP Offline
                          pparent @domubpkm
                          last edited by pparent

                          @domubpkm

                          To stop the script:

                          sudo pkill backup-ip.sh
                          

                          It's true that I've not taken into account the case where LTE is activated, but mobile data is disabled.

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

                            Have you filed a bug somewhere ?

                            Notice issues with F

                            @kugiigi said in Looking for Testers: Ubuntu Touch 26.04-1.x (Early version):

                            @lduboeuf Do we have the new contacts backend and syncing in 26.04?

                            Yes all seems to work.
                            Not easily testable though since it needs some ubports-qa + apt installs for now

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

                              did you reported the issue to the porter ?.
                              i personaly have some issues on FP4 regrding network too:
                              e.g Noticed that QNetworkConfigurationManager

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

                                @lduboeuf said:

                                Have you filed a bug somewhere ?

                                https://gitlab.com/ubports/porting/reference-device-ports/android11/volla-phone-22/volla-mimameid/-/work_items/26

                                I've not understood the quotes about 26.04! šŸ˜‰

                                pparentP KenedaK 2 Replies Last reply Reply Quote 0
                                • pparentP Offline
                                  pparent @pparent
                                  last edited by pparent

                                  By the way I've personally installed the script in a way that stands in time by creating a systemd file:
                                  ( Because it improves a log my day-to-day experience)

                                  /etc/systemd/system/backup-4g.service :

                                  [Unit]
                                  Description=LTE backup Service
                                  After=network.target
                                  
                                  [Service]
                                  Type=simple
                                  ExecStart=/home/phablet/backup-ip.sh
                                  Restart=on-failure
                                  WorkingDirectory=/home/phablet/
                                  
                                  [Install]
                                  WantedBy=multi-user.target
                                  

                                  and then

                                  sudo systemctl enable backup-4g
                                  

                                  So that it starts automatically at startup.

                                  For this to work you need to have the script that I have posted above in /home/phablet/backup-ip.sh

                                  1 Reply Last reply Reply Quote 0
                                  • KenedaK Offline
                                    Keneda @pparent
                                    last edited by

                                    @pparent
                                    Because I think @lduboeuf got a "bug" and missposted here.
                                    There is the place where goes this post in first place https://forums.ubports.com/topic/12312/looking-for-testers-ubuntu-touch-26.04-1.x-early-version/30 šŸ˜…

                                    2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
                                    2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
                                    2024-***** : FPOS Fairphone 5
                                    šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

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

                                      @Keneda said:

                                      @pparent
                                      Because I think @lduboeuf got a "bug" and missposted here.
                                      There is the place where goes this post in first place https://forums.ubports.com/topic/12312/looking-for-testers-ubuntu-touch-26.04-1.x-early-version/30 šŸ˜…

                                      ouch that comes from InTouch app, it has posted in a random topic lol, will delete it

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

                                        Note that in 24.04-2.x dev, the problem is exactly the same on volla 22. And my perception is that the problem is magnified

                                        pparentP 1 Reply Last reply Reply Quote 0
                                        • pparentP Offline
                                          pparent @domubpkm
                                          last edited by

                                          @domubpkm said:

                                          Note that in 24.04-1.2 dev, the problem is exactly the same on volla 22. And my perception is that the problem is magnified

                                          Do you mean in 24-04-2.x?

                                          Now I'm that I'm running the script it's much better for me. But I still observe the following:

                                          -Sometimes the connexion is abnormally slow, I'm not sure if it comes from the operator, the coverage or the phone. Now the priority is maybe given to 5G...

                                          -LTE does not reconnect properly most of the time after a connexion loss.

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

                                            @pparent Sorry YES, corrected šŸ˜„
                                            Running without your script.
                                            In fact, the network quite frequently disconnects and then reconnects but not instantly, often with a lag of a few seconds. That said, I am wary that this does not come from atmospheric conditions with high heat and azure blue skies where waves often circulate poorly.

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better šŸ’—

                                            Register Login
                                            • First post
                                              Last post