yashsingh1/xdaforums huggingface dataset:
[Networking] mrkapqa:
does this work only with Nexus phones or also with others?

on my linux pc + samsung galaxy note 3 (Android 5)

it seems not working. please see the screenshot.

thank you. merci.
[Networking] tichs:
Yes this works with any phone that supports tethering. Keep in mind It's way easier for you to get an micro usb ethernet adaptor as this method is just a simple "hack", meaning that not all things will function properly. With the adaptor everything just works.
[Networking] ujilraj:
micro usb ethernet adaptor is not what u need to setup a reverse tethering working.... I would say, it beats the whole purpose of reverse tethering... Reverse tethering is a simple trick to get pc internet connection to work with mobile over a data cable... We are not supposed to invest in any other HW for getting internet...

Btw, a low cost wifi router cost only half the price compared to the micro usb ethernet adaptor. :P
[Networking] RudeBwoy:
So if I wanted to use this on Linux I would only have to change the IP address to match the ones I see on my linux machine?
[Networking] mrkapqa:
micro-usb tethering-adapter

i'd love to buy such a usb-adaptor but it seems that for the galaxy note or samsung phones in general they are not working. they do for the tablets (samsung note tablet) because they have a "ethernet" option in the operating system/firmware drivers.

this is what i found in a comment on a micro usb-ethernet adapter that came out most succesful on amazon.

(please see scrennshot)
[Networking] MSHT Ananda:
Do I need to enter the command in terminal emulator in android every time I use this feature?

I'm using windows 8.1 and Android 4.1.2
[Networking] SAritra:
I would require some expert assistance on this, even after following all the steps I couldn't access internet on my mobile.
[Networking] melvinrobertson:
I had tried each script, but terminal is saying operation not permitted, you have any Idea what should I do now ? My device xperia zl c6502 running android 5.0.2.
[Networking] yokowasis:
Apparently I can make this "half work". I can ping 8.8.8.8 from shell. UC Browser can browse (only some websites, other websites can't), but my default browser and games keep saying no internet connection detected.
[Networking] pyth0ner:
Every time I open USB tethering, the internet on my PC stops working. and the search driver step never appears. Any clue?
[Networking] BertHodge:
Try to change the priority of the new network adapter.
[Networking] Phalcore:
Any method to Android 5.0?
[Networking] class101:
The one in my signature

Btw since I have updated the script, the script is attached in the google ticket here https://code.google.com/p/android/issues/detail?id=99034

If you use the script in my sig you will run a forced dhcp server, it is not good to start it if using a bridge, your dhcp server will respond to DHCP¨query and will assign wrong IP to your other network materials

with the updated script you use USE_DHCP=0
[Networking] mrkapqa:
Hello , i tried once again to use this method on a Macbook Pro with Yosemite and and Samsung Galaxy Note 3

i followed the steps, installed HorNdis release nr. 7 , shared the Internet Connection, and typed into Terminal Emulator with the IP you suggested - to no avail.

Then i found out that the HornDis Driver assigned to my USB Android Connection a different IP , so now i am asking how to use this with the different IP

so i got assigned 192.168.42.233

then 10.42.0.2 should equal 192.168.42.234

and 10.42.0.1 to 192.168.42. 233

please see the attached pictures. thanks!
[Networking] kalaivanan:
I can't view my device in Sharing Option

I am using Asus Zenfnone 5 ( Rooted ). Which run in Android 5.

When i am connect my phone to PC using USB Tethering it was nemed as " Local Area Connection 9" . But I cant share my internet to this network. Why?

Below Image for your Reference:

"Ethernet" is my LAN Internet Connection.
[Networking] El-Chupacake:
I was using class101 method until now, but today when I typed : su -c 'sh sdcard/rn.sh' , it is giving an error , route : applet not found. Any fixes?
[Networking] amoltarte:
Doesnt work when you are in domain

Hi and Thanks for sharing the post.

This technique does not work when you are a member of domain in office LAN..

Either you loose the connectivity with your domain if you want your phone to be connected with your computer or you loose connectivity with the phone when you want your domain connectivity.
[Networking] rohitshakti:
Can reverse teethering be done on moto e running CM12.1, if yes, pls tell how?

regards
[Networking] darshu33:
Hellloo,

I have Samsung Galaxy S4.

I tried most of all things but still it is not working.

I have tried with PTP+ADB and MTP+ADB also.

Can you please help me to find out where I am going wrong?

Log:07-31 21:44:39:078 W/I Tool version : 3.19

07-31 21:44:39:093 W/I adb.exe

07-31 21:44:39:093 W/I aapt.exe

07-31 21:44:39:265 W/I Android Debug Bridge version 1.0.31

07-31 21:41:08.07 A/W process (21577) : Implicit intents with startService are not safe: Intent { act=service.tracetool.SocketService.ACTION (has extras) } android.content.ContextWrapper.startService:506 android.content.ContextWrapper.startService:506 service.tracetool.TTBroadcastReceiver.onReceive:41

07-31 21:41:08.09 A/I UsbThread1.run() needToBeClosed is true

07-31 21:41:08.09 A/I UsbThread : thread main : wait current UsbThread to terminate 0

07-31 21:41:08.18 A/I UsbThread1 : thread stopped

07-31 21:44:44:671 W/I Wait java service

07-31 21:44:44:781 W/I waiting android server connection ... 1

07-31 21:44:45:140 W/I Waiting for connection

07-31 21:41:09.10 A/I UsbThread2 : usbServerSocket : Waiting for the host to connect

07-31 21:46:57:562 W/E Starting logcat

07-31 21:47:56:812 W/E Starting logcat

07-31 21:48:24:437 W/E Starting logcat

07-31 21:49:39:734 W/E Starting logcat

Server List at 07-31 21:52:36:531

DNS List

192.168.1.1 (ok)[default]
[Networking] ChesterXXX:
For connectivity in some apps

I tried the first part of your method (awesome I might add!) on my dell venue 8 3830. I could use chrome and play store, but messenger and youTube was not getting any connection. Now my tablet has no 3G connectivity. So I found the following workaround :

1. Install xPosed framework (since the method already requires root, this shouldn't be a problem)

2. Install the xPosed module Hack Connectivity Service and activate it

3. Open the installed app.

3a. Click traces activate

3b. Click Hack Mobile

Now I could access messenger easily :laugh:
[Networking] daut:
thank you..

but, would like to ask..

how to donwload from google play store, or browser?

I am on LG G2, cloudy stock 2.2 (kitkat, root)

and I'm using xposed installer 2.6.2

need help here.. thank you
[Networking] daltonfury42:
Unable to create a hotspot

I am doing this from a linux box. I am getting internet on my mobile, but am not able to create a hotpsot with it.

Firstly, I am on Arch linux, and hence had to install ifconfig and mn-connection-viewer(gnome viewer did not list "Shared to others").

Also, DHCP didnot work for me. the first route command worked for me and I did not get any errors. I don't get internet, and all ping requests fail I can ping my laptop though...

I had to do "ifconfig rmnet0 0.0.0.0" (the interface name was something else) to get internet on the system. Before then, i did not get net anywhere, and I could not even ping.

Now after executing this, I am getting net on my phone, but if i further share this internet via a WiFi hotspot, the other divices connected to to hotspot don't get internet.
[Networking] ChesterXXX:
Can't be of much help here.. For me, play store works without any hack. I only need it for messenger.

You can try with Hack Connectivity : WiFi or Mobile. Maybe that'll work.
[Networking] daut:
ok, it works now.. thank you :)
[Networking] believeme_raj:
does it work on android 5.x.x too :confused:?
[Networking] Deepak1999:
Is this for 5.1.1?

Do this work with CM 12.1:confused: ?
[Networking] Parveensaini:
usb tethering not working!

I have xolo q1000 opus 2 model which is rooted and used window 10 on my PC.

I followed the given steps as follows:-

Step 1: Connected my Android to PC by USB cable and enable "USB tethering".

Step 2: using Windows, opened "Network Connections" in Control Panel.

right click on LAN Ethernet connection with Internet, and select "Properties". In tab "Sharing", clicked "Allow other network users to connect through...",

Note- there are no dropdown list as described above. However, I clicked in setting button and checked 'Dynamic Host configuration protocol client' and 'Dynamic Host configuration protocol server' (DHCP).

I can see my Internet connection is now "Shared" and USB connection is now "Unidentified network".

Step 3:

Opened Terminal Emulator on Android. Type:

su

The command prompt changed from $ to #.

then typed "netcfg rndis0 dhcp" and press enter.

it took some time. Then i closed the Terminal Emulator.

and run the browser in android. However it shows 'no network connection'.

I also tried this command- 'ifconfig rmnet0 0.0.0.0'

But not get succeeded. Please help me to use this feature.
[Networking] believeme_raj:
the script by class101 works like a charm, you may find it a few pages back..
[Networking] zohaibkhan143:
Cool guide. Will try this :)

Sent from my LG G2 LS980
[Networking] Azharkanorwala:
Did You Try This?

Mine G2 Wifi and BT Lost :(
[Networking] zohaibkhan143:
Not yet

Sent from my LG G2 LS980
[Networking] LLegion:
Hi everybody, is there any chance in which this method would work with my HTC M9 Flagship 2015 Android 5.1 rooted phone?

Thanks a lot in advanced! Have a nice day!
[Networking] Casey_013:
Not getting work

Hi frnds. Im using moto e , stock rom 5.1 lolipop (rooted). In my terminal showing error as "action 'dhcp' failed (Timer required)" after entering netcfg rndis0 dhcp. If i try usb0 instead of rndis0 , nothing showing in terminal.

Please help.

Thank you.
[Networking] bumpn123:
using pc internet viausb to connect ihpone via wifi to android phone

I have windows 10 and trying to reverse tethering my android phone via usb and connect a iphone via wifi so the iPhone can use the pc's internet. basically i want to turn my android loli into a wireless router. using my PC's internet via usb

example:

internet>win10>usb>android>wifi or bluethooth>iphone that can use the internet from pc
[Networking] mrhamed:
This is my adapter info:

rndis0 Link encap:Ethernet HWaddr 36:F0:4E:8F:52:76

inet addr:192.168.137.250 Bcast:192.168.137.255 Mask:255.255.255.0

inet6 addr: fe80::34f0:4eff:fe8f:5276/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:652 errors:0 dropped:0 overruns:0 frame:0

TX packets:72 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:166166 (162.2 KiB) TX bytes:10672 (10.4 KiB)

I'm on rooted 5.1.1 onePlus + Busybox & require route added(cat /proc/net/route):

Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT

rndis0 00000000 0189A8C0 0003 0 0 0 00000000 0 0 0

rndis0 0089A8C0 00000000 0001 0 0 0 00FFFFFF 0 0 0

Now I can ping 8.8.8.8 but can't ping the msn.com, it seem a dns issue, so dns info(cat /system/etc/resolv.conf ):

nameserver 8.8.4.4

nameserver 8.8.8.8

I can't access http://78.38.80.243 too :(

Xposed + Fack Wifi Connection 1.9 installed and activated

#ping msn.com

ping: unknown host msn.com

What's wrong with me? How...

Thank's
[Networking] HDS4:
Broken Wifi Card - No busybox Installed

Hi man, Thanks for your help,

I've been trying with the concept of reverse tethering for sometime, and I have tested many unworking method, however, I believe in your one as the concept is logical, but I have two problems:

1- wifi card is not working (that's why I want to use this technique, the problem of wifi turning to light green, then gray can't turned on on Galaxy S4 I9500).

2- I don't have busybox installed, and the ways I found to download the busybox require internet connection (dead lock!)

Will I be able to get connected to internet using your method?

Facts:

phone: Samsung Galaxy S4 I9500

OS: lollipop 5.0.1

PC: I have windows and Ubuntu
[Networking] HDS4:
It's working!!

UPDATE:

BIG THANKS :laugh:

I downloaded the busybox installer using the mobile data, and now followed the method quoted below, and it worked perfectly, google chrome is working (means all other web services are available, you can go to website of apps that are not working e.g. tripadvisor app doesn't work:confused:, but you may go to their website:good:) I've tested whatsapp and it's fully working, facebook gives error message (no internet connection) for the videos but they are loaded and played perfectly, google play will view apps and search, rate,..etc, but downloading is not working. GMail app is working, send receive, attach photos,...etc. although it shows the error message of "No connection........ Retry" just ignore as in Facebook. Google Maps app is not working, you can use the website version instead.

the system connection is not working, like when trying to download a language pack.

For windows 10 people you'll need to choose the RNDIS card when you check the sharing options on your internet card (whether a WIFI or Ethernet, both works it's the same "correct concept") once you choose it (Number maybe different, it depends on your tries :) ), it will automatically get the correct IP. however, you better check.

I have favorited the case you pointed at google, and hope they will "fix" this issue so all apps will have access through this reasonable, logical, smart, great method of reverse tethering.

Cheers!

[IMG="Sharing Option Windows 10"]postimg.org/image/xltt96qwv/[/IMG]
[Networking] jidanni:
Using Xposed Fake Wifi Connection I was successfully able to fool even Google Play, and everything else, that I was fully connected via WiFi!
[Networking] twig123:
Say someone only has a wired router, but would like to have multiple phones share a Windows PC's internet connection. Is there any way to implement this for multiple devices?
[Networking] CRuSH MS:
supersu granting permision after stopping service and not in the whole process

10-22 21:45:05:806 W/I Tool version : 3.19

10-22 21:45:05:807 W/I adb.exe

10-22 21:45:05:807 W/I aapt.exe

10-22 21:45:06:284 W/I Android Debug Bridge version 1.0.31

10-22 21:45:10.78 A/W process (19018) : Implicit intents with startService are not safe: Intent { act=service.tracetool.SocketService.ACTION (has extras) } android.content.ContextWrapper.startService:495 android.content.ContextWrapper.startService:495 service.tracetool.TTBroadcastReceiver.onReceive:41

10-22 21:45:10.87 A/I UsbThread1 : usbServerSocket : Waiting for the host to connect

10-22 21:45:10.87 A/I process (6454) : [Notification] KNotificationManager -> onPostedAsync: service.tracetool [ ]

10-22 21:45:11:434 W/I Wait java service

10-22 21:45:11:549 W/I waiting android server connection ... 1

10-22 21:45:12:483 W/I Waiting for connection

10-22 21:45:14:533 W/I Sending busybox21

10-22 21:45:14.77 A/E UsbThread1.run() loop error. firstByte : 39 : WTOA_copyFile

10-22 21:45:14.77 A/E UsbThread1.run() loop error. lastCommand : 32 : WTOA_setGlobalVar

10-22 21:45:14.77 A/E UsbThread1.run() loop error. Exception type : class java.io.FileNotFoundException

10-22 21:45:14.77 A/E UsbThread1.run() loop error. Exception message : /storage/emulated/0/busybox21: open failed: EACCES (Permission denied)

10-22 21:45:14.77 A/E UsbThread1.run() loop error. Exception cause : libcore.io.ErrnoException: open failed: EACCES (Permission denied)

10-22 21:45:14.77 A/E UsbThread1.run() loop error. Exception string : java.io.FileNotFoundException: /storage/emulated/0/busybox21: open failed: EACCES (Permission denied)

10-22 21:45:14.77 A/E libcore.io.IoBridge.open(IoBridge.java:409)

10-22 21:45:14.77 A/E java.io.FileInputStream.<init>(FileInputStream.java:78)

10-22 21:45:14.77 A/E service.tracetool.Api.copy(Api.java:1471)

10-22 21:45:14.77 A/E service.tracetool.UsbThread.copyFile(UsbThread.java:1944)

10-22 21:45:14.77 A/E service.tracetool.UsbThread.run(UsbThread.java:316)

10-22 21:45:14.77 A/E UsbThread1.run() -> unexpected disconnection

10-22 21:45:14.77 A/I UsbThread1 : usbServerSocket : Waiting for the host to connect

10-22 21:45:20.50 A/I process (5929) : START u0 {cmp=service.tracetool/.MainServiceActivityTab bnds=[0,269][720,393]} from pid -1

10-22 21:45:20.50 A/W process (5929) : startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { cmp=service.tracetool/.MainServiceActivityTab bnds=[0,269][720,393] }

10-22 21:45:20.52 A/I process (5929) : [TopPkgCurBat]	NowPkgName[service.tracetool]	Battery[43]	TimeTick[1445530520531]	OldPkgName[com.asus.launcher]

10-22 21:45:20.81 A/I process (5929) : Displayed service.tracetool/.MainServiceActivityTab: +301ms

10-22 21:45:26:181 W/D UsbThread : ReadBytes : Connection Closed Gracefully.

10-22 21:45:29:430 W/I

10-22 21:45:29:430 W/E Connection Aborted. Restart program and try again

Server List at 10-22 21:46:00:610

DNS List

202.177.240.250

202.177.240.251

192.168.1.1
[Networking] zolopants:
I'm having trouble using these instructions for Linux, with a Moto G running 4.4.2 slimkat in a typical home network. All of the steps appear to work, but the phone is unable to ping anything. I've also tried class101's script without any luck, although I'm not sure if it's expected to work on 4.4.2. Class101's script runs without any errors except:

-- rndis0: setting route --
route: SIOCADDRT: No such process

I know this is possible somehow, because the Windows reverse tether utility works, but there are clearly some routing issues above my head here. Are my problems because of 4.4.2? Anyone have any ideas?
[Networking] HisDudeness3008:
Does this work only if my PC is connected to internet using its WiFi adapter, or can I share my wired network with my phone, too? I followed the instructions but it's not working. I mean, netcfg ends with no error messages, but after that my phone still can't connect to the internet.

My laptop is running Debian Cinnamon, so I followed the instructions for Linux with GUI (those you gave for Ubuntu). The problem is my laptop is connected to internet with USB too, as I don't have a router but a wired modem, and the only ethernet cable is used by my desktop PC. My laptop's WiFi adapter is too old to create an ap, so the only chance I have left is USB tethering. I have a Xiaomi Mi2S running AOSP stock Android Lollipop 5.1.1, and my phone's USB interface is called usb0. I don't have busybox installed, but I have root permissions.
[Networking] last1left91:
Hi there, I have the same problem...anything completed ok but when trying to connect to internet appears offline as everything I did was vainly!

My phone's usb interface is rndis0 but I don't think it has any importance...

I just have the feeling that I should connect WiFi or something...I don't see anything happening after closing terminal...maybe I'll give app tunnel a try...at least there is an interface ...

I also don't get the 192.168.137.1 default IP thing....indeed after the Android connection has been created I could see the default Ip under IPv4 properties but after I changed it to automatically, now whenever I connect my phone with usb tethering enabled, I get a brand new address...I don't get a thing...

The author of this topic is pretty smart but doesn't know how to make things clear...at first, till stage 2 everything was clear but then suddenly he started to review all the platforms and everything got blurred! Maybe he could explain us if this method still works...we're in the end of 2015, though....I'm on XtrestoLite Rom Lollipoop Touchwiz(new ROM), Samsung G900F if it makes any differences! Good luck!
[Networking] anurag86:
I am on stock MM, tried the steps but netcfg & dhcp are not found.

busybox is installed, when I checked with busybox command netcfg & dhcp were not there.

Are they replaced with some other applets in 6.0.. ?

Otherwise it works fine in CM7 2.3 in my samsung device.
[Networking] mrkapqa:
hello Phamthanhnam,

can you please help me with the exact Ip-Adresses?

On my system (macmini 2.1 with Osx 10.7.5 and Linux Dualboot) i get assigned on both Operating System the following IP-Adress: 192.168.42.182

can you please tell me the corresponding "codes" for Mac and Linux?

eg. on Linux >> instead of 10.42.0.1 > 192.168.42.182 ? instead of 10.42.0.2 > ?

eg. on mac >> instead of 192.168.2.1 > 192.168.42.182 ? instead of 192.168.2.2 > ???

Thank you very much!

Rich
[Networking] mrkapqa:
This

Gesendet von meinem SM-N910F mit Tapatalk
[Networking] norbertk91:
Does anybody can help me with my problem? In my solution I use ethernet USB adapter.

http://xdaforums.com/general/networking/ethernet-connection-problem-devices-t3257216
[Networking] charutl:
All are working fine with cm 12.1 rom

i can download from playstore apps with xposed module hack connectivity, but i can't download whatsapp vidoes ...any idea guys?:confused::confused:
[Networking] doylefermi:
Same. No netcfg in Marshmallow
[Networking] charutl:
Its working in cm12.1
[Networking] TrelosEisai:
Because i tried it and didnt work now my ip ****ed up. When i make a hotspot and i connect my laptop to the hotspot it says limited connection. When try the windows troubleshoter its says DNS is not responding. What to do now?
[Networking] :
Hi all,

is there any solution to solve the problem, that there's no netcfg in marshmallow?

Or is this reverse-tethering-tutorial not usable for marshmallow?

Best regards
[Networking] krokanic:
+1...

i have broken wifi and BT on my nexus 5 and until i replace my motherboard i need this... will this work if i downgrade to kitkat 4.4.4 or if i install cm12.1....
[Networking] AAnderson298:
Really handy. But there are a lot of application can do the same thing for you now. It's much easier to set up.
[Networking] krokanic:
can you tell me which app works with android 6.0.1???
[Networking] svr1323:
thanks
[Networking] Flopik2:
I would like to have an app for mashmallow that do this
[Networking] bertoteo:
Not working on cm13 marshmallow.

Netcfg not found.

route add default gw says option 'gw' no such file or directory.

Tried succesfull with "ip route add default" and I can ping PC, but says no Network when I try ping 8.8.8.8
[Networking] limjuco07:
Working with CM13 20160127 build using [MENTION=6190600]class101[/MENTION]'s method. Was throwing an error in Terminal at first but then I saw that I was lacking BusyBox so I installed it and when I ran his script again no errors were found. No net initially after running 'rn' script but with Xposed and 'Hack Connectivity Service' module, I am now downloading apps from Play Store using my laptop's internet.
[Networking] kajondezaztre:
I did the same, thank you very much. But even i installed xposed and hack connectivity. At least play store works for me.
[Networking] lucifero13:
Can someone update this for CM13 users? Much appreciated
[Networking] Kasush:
ifconfig has been replaced with the command ip. I played around a little today, but have not worked out all the commands required to get ip to fully perform. I learned my linux with ifconfig and dropped out before ip became a new standard. Anyone know how to do it with ip?
[Networking] lucifero13:
Trying to do this on CM13. How did you get pass method #3? it says "no such file or directory" even though i put the files on the root folder
[Networking] limjuco07:
Instead of using "/sdcard/" use "/storage/emulated/0/" or "/storage/emulated/legacy/". Try it and see if it works.
[Networking] Arpit.Yadav:
Great method for reverse tethering, i tried on Linux lite (Live) and panasonic eluga icon. All worked well. But frnds the major problem i faced is UC Browser is working to surf some of the websites not for all, downloading "0%", Google play store "Not working", hotstar or similar application "Not working", Whats app "Only text msgs" downloads "Not working". Is this procedure only for surfing limited websites or else. Internet bandwidth on PC is over 2 Mbps on mobile below 100 Kbps.

Please provide 100% working solution.
[Networking] triosn:
pls u can tech me step by step how it work .. ?

thanks b4

salam,
[Networking] triosn:
pls help . . why my net cfg not found