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
    33 Posts 5 Posters 2.1k 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.
    • pparentP Online
      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 Online
        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 Online
                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 Online
                    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

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

                        @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 new contact + calendar backend.
                        Not easily testable though for now, it need a bunch of ubports-qa and apt install...

                        1 Reply Last reply Reply Quote 0
                        • pparentP Online
                          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 1 Reply Last reply Reply Quote 0
                          • pparentP Online
                            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

                            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