Is it possible to tether internet via usb? (Solved, works very good.)
-
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:
- android-gadget-service enable rndis
- sudo tethering enable (the phone ask the pin...)
of course 'hotspot' and 'mobile radio data' must be set “on“.
At "the end“:
-
sudo... disable
-
android...disable rndis
-
'hotspot' off
-
'wireless network' off (set on by hotspot)
-
'mobile radio data' off
reset also pin (if you want) and devel mode.
-
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.
-
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.
-
running the command in the terminal, I get this error
android-gadget-service failed: rndis is unknown
however UT Tweak Tool shows it was able to adjust the USB setting to RNDIS. I wonder if it failed silently in the background (I haven't plugged the phone into my freshTomato router yet).
Anyone know if this lets the carrier know you're tethering, and how to hide this behavior? On a rooted Android device, some guides say you can run this in
adb shell
to hidesettings put global tether_dun_required 0
.Is there a similar command on ubuntu touch?
-
@nmz787 I have the same on a fresh Volla X with UT. I can change it in Ut tweaks but without any result and the command line gives failed: rndis is unknown.
Aynone with a solution to this ? -
@fteacher I forgot to mention I'm using UT OTA-21 stable.
Regarding the number of views of this thread, and the last posts, it is not "solved" yet. -
-
Tried to replicate this at FP4 focal devel 598, but seems like non of those commands works any longer, not sure if it's since focal or something else. Does anyone have an idea how to get usb tethering working on this setup, if possible?
-
@laschrocket Now usb tethering works for me on Focal Volla using UTTT (thanks for the great work of Jami !!) . So you can test the last built https://gitlab.com/myii/ut-tweak-tool/-/jobs/6091439040/artifacts/download?file_type=archive on FP4 to see if it works for you.
-
@domubpkm Thanks! I did not manage to install ut tweak tool directly on phone either with click or pkcon.
but manage to install it using clickable from laptop usingclickable install --skip-uninstall
usb-tethering is now working when connected to laptop, with good speed, response time seemed a bit slower than usual but up and down speed better than my s10e (just tried a few times, could be many reasons I guess).
to use UT usb tethering with openwrt I had to use this driver:
opkg install kmod-usb-net-cdc-ncm
wiile my android required this:
opkg install kmod-usb-net-rndis
thought this could be good user for my s10e later were audio is not working anyway
-
@laschrocket said in Is it possible to tether internet via usb? (Solved, works very good.):
I did not manage to install ut tweak tool directly on phone either with click or pkcon.
Now you have the official UTTT in OpenStore, and ir's a great thing for focal : Thanks again to Jami Kettunen who does all-out work to make focal attractive. As a reminder, you can install every .click using 'Open with' OpenStore.