Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Is it possible to tether internet via usb? (Solved, works very good.)

    Support
    8
    15
    289
    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.
    • E
      Edward Wilhelm last edited by Edward Wilhelm

      I have connected to the ubuntu touch hotspot via wifi without any problems. Can I also make an internet connection to the phone with a usb cable? I have a computer with no wifi card that I need to connect to the internet with the phone. Is this possible?

      Oneplus One
      Ubuntu touch - 20200415-24539

      1 Reply Last reply Reply Quote 0
      • Keneda
        Keneda last edited by

        I dont think so, never heard about.

        1 Reply Last reply Reply Quote 0
        • dobey
          dobey last edited by

          It is possible, but I think there is no way to do so from the GUI.

          If you open the Terminal app and run android-gadget-service rndis enable it should disable MTP and enable USB tethering. Though I'm not sure if it works on all devices.

          E F 2 Replies Last reply Reply Quote 0
          • E
            Edward Wilhelm @dobey last edited by

            @dobey said in Is it possible to tether internet via usb?:

            It is possible, but I think there is no way to do so from the GUI.

            If you open the Terminal app and run android-gadget-service rndis enable it should disable MTP and enable USB tethering. Though I'm not sure if it works on all devices.

            Okay, and after I do this, do I have to do anything special to put the usb conection back to regular function?

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

              For info, you can also :

              In the app UT TWEAK TOOLS, i noted the path :

              • System
              • ADB parameters : choose RNDIS instead of MTP

              So after use, we can switch back to MTP.

              E 1 Reply Last reply Reply Quote 1
              • K
                kugiigi last edited by

                UT Tweak Tool app does have an easy way to switch this. Not sure though if it's working again. If I remember correctly, it stopped working during the xenial transition.

                D 1 Reply Last reply Reply Quote 0
                • poVoq
                  poVoq last edited by poVoq

                  It works on the Nexus5 (dev channel), I use it regularly.

                  1 Reply Last reply Reply Quote 0
                  • T
                    TheUlpio last edited by

                    Tested un a BQ Aquaris E4.5 and works well (rc channel)

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

                      @kugiigi It works very well for me with UTTT. Tried with OPO and BQ E5 HD dev. This make a more secure connexion with this mechanism without WIFI.
                      Always very useful UTTT.

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        kugiigi @domubpkm last edited by

                        @domubpkm I see. I used it extensively before when I was still developing my apps on my Nexus 5. Not for the internet though, for x-forwarding a full xfce desktop. Much responsive than via wifi πŸ˜ƒ

                        1 Reply Last reply Reply Quote 0
                        • E
                          Edward Wilhelm @domubpkm last edited by

                          @domubpkm said in Is it possible to tether internet via usb?:

                          For info, you can also :

                          In the app UT TWEAK TOOLS, i noted the path :

                          • System
                          • ADB parameters : choose RNDIS instead of MTP

                          So after use, we can switch back to MTP.

                          I used this, and it works extremely well. Even better than iOS. Definitely a strong point of Ubuntu Touch. πŸ™‚

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            domubpkm @Edward Wilhelm last edited by

                            @Edward-Wilhelm said in Is it possible to tether internet via usb? (Solved, works very good.):

                            Definitely a strong point of Ubuntu Touch.

                            IT IS. Moreover, we can think it's more safe than wifi (no data transit over the airwaves as in wifi.). But doesn't work yet in pinephone !!

                            Hi @dobey . Is RNDIS really secure in UT? Is RNDIS really more secure than wifi in UT ?

                            1 Reply Last reply Reply Quote 0
                            • F
                              FlavioMala @dobey last edited by FlavioMala

                              With my E5, if I well remember:
                              a) in system setting/devel mode set the pin (4 numbers)
                              b) I don't remember now if it is also necessary to set devel mode β€œonβ€œ

                              then in the terminal:

                              1. android-gadget-service enable rndis
                              2. sudo tethering enable (the phone ask the pin...)

                              of course 'hotspot' and 'mobile radio data' must be set β€œonβ€œ.

                              At "the endβ€œ:

                              1. sudo... disable

                              2. android...disable rndis

                              3. 'hotspot' off

                              4. 'wireless network' off (set on by hotspot)

                              5. 'mobile radio data' off

                              reset also pin (if you want) and devel mode.

                              Keneda 1 Reply Last reply Reply Quote 0
                              • Keneda
                                Keneda @FlavioMala last edited by

                                @FlavioMala

                                More simple (and user friendly) solution was given :

                                @domubpkm said in Is it possible to tether internet via usb? (Solved, works very good.):

                                For info, you can also :

                                In the app UT TWEAK TOOLS, i noted the path :

                                • System
                                • ADB parameters : choose RNDIS instead of MTP

                                So after use, we can switch back to MTP.

                                1 Reply Last reply Reply Quote 0
                                • F
                                  FlavioMala last edited by FlavioMala

                                  Yes !
                                  Now it is even more evident, comparing the two methods listed !

                                  I prefer wifi/wlan, but recently in a ... winz@w ... notebook (not mine) and a β€œvpnβ€œ / network that kept crashing, usb has fixed it.

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