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

    No internet connection in Waydroid (OnePlus 5T)

    Scheduled Pinned Locked Moved Waydroid
    8 Posts 3 Posters 271 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.
      • P Offline
        Phil87
        last edited by Phil87

        Since I've updated Waydroid to the latest version (Waydroid 1.51, Android 13) in most cases there is no internet connection in Waydroid. The log says “unable to connect to 192.168.240.112: 5555: No route to host”.
        I’ve tried everything I found on the internet.
        The strange thing is: From time-to-time Waydroid DOES connect to the phone and everything works fine. But I’m not able to reproduce this behavior. Although I repeat all the steps that seem to have led to a working system before, like rebooting, restarting, reinstalling, resetting internet connections on the phone and in Waydroid in a special order, it usually fails.
        Updating Waydroid and Ubuntu touch doesn’t change anything.
        On another OnePlus 5T everything is the same.
        There seems to be any random mechanism working, when Waydroid tries to get an ethernet connection to the host ...
        Any ideas?
        Or anyone facing such problems on similar or other devices?

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sven @Phil87
          last edited by

          @Phil87 Sounds similar to the (fixed) issue: https://forums.ubports.com/topic/11133/waydroid-no-internet-inside

          VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-9), Pocophone F1 (pmOS, edge), FLX1 (Debian)

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Phil87 @sven
            last edited by

            @sven Thank you! Unfortunately installing yesterday’s new Waydroid version didn‘t help.

            This is the only procedure that works – sometimes:

            1. Switching WLAN and mobile data off,
            2. restarting phone,
            3. starting Waydroid, resetting internet connection in Waydroid,
            4. resetting internet connection in Waydroid again – and switching on WLAN on the phone, while the search for an internet connection within Waydroid is running.
            5. Success: Waydroid has internet!
            6. Stopping Waydroid session and container and restarting it – the connection is lost again 😞

            The moment to switch on WLAN seems to be critical. It must not be two seconds too early nor two seconds too late.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sven @Phil87
              last edited by sven

              Sorry to hear that it does not work for the OnePlus 5T. Maybe the files for this device are not ready yet? You could use the issue on github to get some more help https://github.com/waydroid/waydroid/issues/1958
              or (maybe better) ask in the telegram group "WayDroid on Ubuntu Touch".

              VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-9), Pocophone F1 (pmOS, edge), FLX1 (Debian)

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                Phil87 @sven
                last edited by

                @sven Okay, thanks! I posted the problem on github too, hoping for a patched vendor image – and ordered a Fairphone 4 which should be maintained more intensively.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  JPC
                  last edited by

                  I just posted a message relating to Phil87's original posting but it seems to have shown up as a topic of its own rather that a reply to his posting. I'll check...

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JPC
                    last edited by

                    ... yes it was a topic of its own, so here is the message again under this thread. (I indeed have the exact same problem on my ASUS Zenfone Max Pro M1)

                    It is unclear to me was a solution ultimately found to this issue, but I thought that with the extra information I have given below maybe someone could point me in the right direction to sort my problem out:

                    It is really strange that, as you said, very occasionally Waydroid does get an internet connection, but it lasts for just a very brief time and I cannot replicate it no matter what I do. Also strange is that while of course the browser does not work in the absence of internet, downloading an app eg. from F-Droid does work allbeit taking a very long time to do so!?

                    Ubuntu Touch WiFi settings show that it has an IP address in the style 192.168.0.XXX, whereas Waydroid Wifi settings show it has address of the style 192.168.240.XXX. The former is replicated in my router's ARP User List together with its MAC-address. The latter (Waydroid) is replicated numerous times together with a MAC-address of 00:00:00:00:00:00. In the router's list of active DHCP clients it is only Ubuntu Touch that shows up with the name "ubuntu-phablet".

                    Hopefully someone can help me here to resolve this which is the only issue I have with an otherwise impressively functional installation of UbuntuTouch / Waydroid.

                    Best regards

                    JP

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Phil87 @JPC
                      last edited by

                      @JPC The problem is still unsolved. But I hope I have managed to provide the developer with all the necessary information now, though I’m not very experienced in working with adb shell and things.
                      Maybe you could upload your logcat.txt as well: https://github.com/waydroid/waydroid/issues/1988

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