yashsingh1/xdaforums huggingface dataset:
[Networking] Abhishek Raha:
Error

In the step:-

If you are using Windows, open "Network Connections" in Control Panel. It is somewhat different from setup in Linux. Right click on an Internet connection that you have. I assume that you are using a desktop which doesn't have any wifi adapter, so right click on LAN Ethernet connection with Internet, and select "Properties". In tab "Sharing" (or "Advanced" for Windows XP), click "Allow other network users to connect through...", then select the USB connection in dropdown list below. Click OK. Windows will automatically setup your USB network connection and assign to it an IP address, default for Windows 7: 192.168.137.1, default for Windows XP: 192.168.0.1. You can see your Internet connection is now "Shared" and your USB connection is now "Unidentified network".

==========================================================================================================

i am getting an error "An error was occured during Internet Connection Sharing was being enabled (null) "
[Networking] Whileitlasted:
[MENTION=5273317]phamthanhnam[/MENTION]

It is weird, the automatic dhcp method worked the very first time I typed the command but no internet connection at all.

After unplugged and plugged in again, my GS3 is connected to the network (jointed local connection shown) without entering the command and 'internet access' is shown, but I have no internet in my mobile at all, every time I open the browser it shows 'Mobile data is disable...'

Please help!

p.s. for some reasons, now none command is working in my phone but it is still shown as having internet access on my laptop (it is also now a identified network) but again I have no internet access in my phone at all.
[Networking] muhdfahmi:
The tutorial works well.

Connected my Android 4.4.2 (Xperia Z Ultra C6833)
[Networking] Prometheus_:
This is awesome, thanks a ton!
[Networking] Yaga18:
works like charm on Ubuntu! and also its easier to do then I thought
[Networking] Kiran D:
Reverse USB tethering

If Windows is showing "Shared" & usb connection is "Unidentified Network". That means the internet is shared now. When you get Unidentified network you may check & find 192.168.137.1 IP address automatically assigned to your USB adapter. Try proceeding further & get your USB adapter & phone's IP in the same network. (Example:- Assign IP address 192.168.42.2 & Mask 255.255.255.0 to your USB adapter in windows & assign a gateway of 192.168.42.2 in your phone by using command route add default gw 192.168.42.2 dev rndis0 using superuser access & check if you get the internet connectivity.

Note:- By default IP address of your phone would be in the range of 192.168.42.* Therefore you need not change IP address of your phone. Just assign default gateway as specified above & check your net connection.
[Networking] hsaigab:
worked on my device

:good::good::good::good::good::good::good::good::good::good::good::good::good::good::good:

million thumbs up to you man...

3G working.. i have search for my 3g hardware using busybox..

thanks alot...
[Networking] zeshan94:
'sharing' tab absent

hello,

i have tried this method and it worked good on windows 7 home premium x64.

i have a windows 7 home basic x86 computer and there is no 'sharing' tab in local area connection properties.

only 'networking' tab exists.

ANY WORKAROUND
[Networking] bloodknave:
ive been able to use this method 3x on 3 separate occasions, but then suddenly this happens when i type:

netcfg rndis0 dhcp

action 'dhcp' failed (Timer expired)

any ideas guys? the desktop has connection when i tried checking..
[Networking] lifeatabhi:
Always connect to the 3G and use ifconfig command to fool gapps

Thanks for the support.

I finally made it work,

For 3G you may need to create a new access point and name it anything. Then connect to that access point and type the following command in terminal

ifconfig rmnet0 0.0.0.0

It works like a charm
[Networking] Ladiesman_217:
worked first time.

the first time i tried,it worked..but now when i try to enter ifconfig rmnet0 0.0.0.0,,it says no such device..please help

---------- Post added at 04:57 AM ---------- Previous post was at 04:52 AM ----------

mine too same problem
[Networking] ravhi1044:
Awesome tutorial, but im still confuse :confused:
[Networking] lifeatabhi:
It works for me!!! see how

See what I did on my s3 was simple.I am on 4.3 android and windows 7

1. Connect your phone to pc

2. enable usb thetring, my phone now shows as 'local area connection 3'

3. Then I share the internet with local area connection 3 in the 'local area connection'(default one)

4.I open emulator in the phone and type

su

netcfg rndis0 dhcp

route add default gw 10.42.0.1 dev rndis0

5. Then I go to the mobile network and create a new access point and in the apn I type 0.0.0.0

6. I select the new access point

8. I enable data connection

9. Then I type in the emulator ifconfig rmnet0 0.0.0.0

I am done and I get a speedy internet in my mobile

Let me know if any doubts
[Networking] dan83m:
How i can do this on my note 2 ? i did with a windows 7 but doesnt work

---------- Post added at 11:06 PM ---------- Previous post was at 10:50 PM ----------

Hi can u tell me all passage that u do to make it work on note 2 thx

---------- Post added at 11:27 PM ---------- Previous post was at 11:06 PM ----------
[Networking] anurag.dev1512:
Not working on Ubuntu 14.04

I tried this method on Ubuntu 13.10 it was working but after upgrading to ubuntu 14.04 its not working...

Any one else tried it on Ubuntu 14.04 and if its working for you then please help me....
[Networking] UzUmAKI_NaRuTo1:
I tried this once ..but unfortunately...it didnt work fr me...!! der was no error but i was nt getting internet connection too..!! still its working fr most of dem..!! nice .. :):good:
[Networking] davidshen84:
Hi phamthanhnam,

Do you think this guide also works with WiFi? I mean my PC, Windows 7, has WiFi connection, and I want to reverse tether my Android phone to use my PC's wifi network.

I tried your guide. At step 3, I did not see 'rndis0', but you said 'usb0' will also do. So I tried 'netcfg usb0 dhcp', but the command hangs, and there' no network connection on my phone. Any idea?

P.S. my phone is HTC ONE X, with CM 11
[Networking] Thot Ctrl:
This isnt working for me the ifconfigs are not giving any response

however netcfg works

Running windows 7

and android 4.1.2

any advice?

---------- Post added at 11:33 PM ---------- Previous post was at 11:30 PM ----------

i did not understand this

---------- Post added at 11:41 PM ---------- Previous post was at 11:33 PM ----------

will this script work when connecting to a Windows 7 pc?
[Networking] scandiun:
You need to put "sudo" prior to any of these command to run them as root, which is mandatory.

---------- Post added at 09:54 PM ---------- Previous post was at 09:07 PM ----------

Thank you so much, I got it to work finally like you say. You need to have the same IP for rndis0 on both the android and in the computer created network, which didn't happen by default.
[Networking] Evrust30:
How to know if it's working

I did all the steps and I think this is working, however how do I know I'm using my computer's internet, and not just my phone's internet through mobile?
[Networking] dan83m:
Hi i dont udenrstand the part 5, i need only create a new acess point and the only thing i fill is in APN and wiriting down 0.0.0.0 ??

Btw i got this error " error: SIOCSIFADDR (PERMISSION DENIED) " after writing " ifconfig rmnet0 0.0.0.0 "

What im wrong??

---------- Post added 16th May 2014 at 12:38 AM ---------- Previous post was 15th May 2014 at 11:56 PM ----------

u0_a256@t03g:/ $ su

root@t03g:/ # ifconfig busybox

busybox: No such device

255|root@t03g:/ # busybox ifconfig

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

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

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

collisions:0 txqueuelen:0

RX bytes:2910302 (2.7 MiB) TX bytes:2910302 (2.7 MiB)

p2p0 Link encap:Ethernet HWaddr 62:21:C0:7C:12:CB

inet6 addr: fe80::6021:c0ff:fe7c:12cb/64 Scope:Link

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

rmnet1 Link encap:Point-to-Point Protocol

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1350 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:1825290 (1.7 MiB) TX bytes:432095 (421.9 KiB)

rndis0 Link encap:Ethernet HWaddr 9E:7F:61:DD:91:F1

inet addr:192.168.137.2 Bcast:192.168.137.255 Mask:255.255.255.0

inet6 addr: fe80::9c7f:61ff:fedd:91f1/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:782 errors:0 dropped:0 overruns:0 frame:0

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

collisions:0 txqueuelen:1000

RX bytes:115551 (112.8 KiB) TX bytes:30973 (30.2 KiB)

wlan0 Link encap:Ethernet HWaddr 60:21:C0:7C:12:CB

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:2331 errors:0 dropped:157 overruns:0 frame:0

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

collisions:0 txqueuelen:1000

RX bytes:628736 (614.0 KiB) TX bytes:247019 (241.2 KiB)

root@t03g:/ #

I got this from busybox ifconfig, hope someone can help me to make it work for me
[Networking] JoeF2:
That's a known limitation of Windows Home Basic. Microsoft disabled network sharing on that version.

Don't use that crappy version of Windows.
[Networking] jsharp83:
Confusing issue

Ok. I have followed the procedures in this thread and the first time I connected I was able to browse the web with no problems and used the xposed module Hack Connectivity Service. It was awesome.

The second time I plugged up and got dhcp, I have not been able to browse via chrome, or any other app, but I can still ping outside addresses and I can resolve outside addresses, but still no normal browsing. Thoughts?

Thanks in advance for any help.
[Networking] gregsicles:
When I enter the netcfg rndis0 usb0 code for the new method in Terminal Emulator I receive the error: no such action 'usb0'. What am I doing wrong? I am new to all of this.
[Networking] XDAOwner!!:
But it's bit complicated as compared to [MENTION=3083768]capslock66[/MENTION] 's Method...
[Networking] raidontaro:
Hi all.

I've follow all the instructions.

My problem is, it can not recognize domain name.

For example,

if I ping 173.194.116.113 it will resolved successfully.

But,

if I ping www.google.com it will fail.
[Networking] musaka_hero:
Help :( Step 2

"If you are using Windows, open "Network Connections" in Control Panel. It is somewhat different from setup in Linux. Right click on an Internet connection that you have. I assume that you are using a desktop which doesn't have any wifi adapter, so right click on LAN Ethernet connection with Internet, and select "Properties". In tab "Sharing" (or "Advanced" for Windows XP), click "Allow other network users to connect through...", then select the USB connection in dropdown list below. Click OK. Windows will automatically setup your USB network connection and assign to it an IP address, default for Windows 7: 192.168.137.1, default for Windows XP: 192.168.0.1. You can see your Internet connection is now "Shared" and your USB connection is now "Unidentified network". "

Mates, I do it as it follows but when I turn on the USB Tethering:

* my internet stops and I lose any connection anywhere

* I get another local network created

Not sure if that's normal, anyways, if I continue following the guide:

I go to the tab sharing, click allow other bla bla bla and there's no USB connection in the dropdown list below, rather than that new "Local Network 2", so I go on and select it.when I click OK I get Error that the service or group cannot be completed or something (my windows is on other language).

Am I missing something?

My phone is Sony Ericsson WT19i (Live with Walkman) running CM 11

Windows 7 64 bit

USB Debugging is on

HELP! :(
[Networking] akshaykrishnanr:
Not recieving data on Google Play apps and portable wifi hotspot adapter (wlan0)

The ppp adapter in my case was rmnet0.

So, I modified it as:

## Disable mobile-data.

#

busybox ifconfig rmnet0 0.0.0.0

Then added a NAT rule to masquerade all postrouting packets on my android device to be able to masquerade these packets to portable wifi hotspot app:

iptables -t nat -A POSTROUTING -j MASQUERADE

After following all the steps, I get internet connection on mozilla firefox on Android for a few seconds but then immediately firefox goes to offline mode. I am able to ping servers like facebook from terminal emulator and I am even able to get internet on default browser.

But I can neither get internet on Google Play apps nor get internet on my laptop to which I tethered my Android device using portable wifi hotspot.

What could be the possible issue here ?
[Networking] soumak:
Reverse Tethering: No Internet Connection on Second try and No Download From GPlay

I followed the OG and reverse tethered my device on the first time. but after i disconnected it and connected it second time there was no internet access of any kind on my Samsung Galaxy Tab 4... Here what i have mistaken during the setup for the second time and fixing which solved my issue..

After closing the Usb Tethering from my device the connection is automatically closed and i disconnected the device from USB. But i kept the sharing option on in my PC by mistake. So i had errors while connecting second time. So I disconnect the device now form USB and also Deactivate the sharing from my PC.and share it everytime i connect the tab.. its working everytime. tried 4-5 times already.

Now the second and the Biggest Issue some people are facing, they can't download any apps from google play. I had the same issue.. tried some things before finally i hit home. as per the steps given in the OG you just need to add another step. Just use the Xposed Framework.. You can download it easily by google searching it..after you install and activate the xposed framework you need to find a module named Hack Connectivity Service.just dwnload it,activate it in Xposed Framework. Now after the step of adding ifconfig rmnet0 0.0.0.0 in terminal browser, turn off your mobile data connection -> click on hack connectivity services -> click on "Forced to Wifi" -> click on "Activate Traces"... After this try downloading..

Please feed me back if this don't work or if you need any help with Xposed Framework thing..

Thanks...

Please hit thanks if i have helped you...:D :D :D
[Networking] makkrj:
How to with proxy

After trying some solutions, I just could use reverse tethering with proxy.

I used the APP ProxyDroid

So what I've done was

On PC (Mine is Windows 7)

1) Right Click your internet connection interface (Local Area Connection, or whatever it is called).

2) Select the option "Add to Bridge"

3) Now select your android interface (Mine was Local Area Connection 2) and select add to bridge too.

On the Android Terminal Emulator:

1) Run

netcfg usb0 dhcp

(then your usb0 interface should get an IP from your local network)

2) Then Run

busybox route add default gw [Gateway IP] dev usb0

Without busybox Run

ip route add to default via [gateway IP] dev usb0

(The gateway IP is your local network gateway, not your PC IP)

On ProxyDroid

Now just open your ProxyDroid and add your proxy IP and Port, enable Authentication if needed, I Didn't.

You should now navigate under proxy.

Worked for me, post if you tried...

Sorry for my bad english...

---------- Post added at 09:29 AM ---------- Previous post was at 09:09 AM ----------

Try

setprop net.usb0.dns1 8.8.8.8
setprop net.usb0.dns2 8.8.4.4

Sometimes, if you are under Firewall, you'll not be able to access external DNS servers, then you'll need to use your local network DNS server IP.
[Networking] muthukumararjun:
Reverse tethering script

I was too lazy to unlock my phone and enable tethering every time... so i wrote a little script that performs the entire setting in a go....

#!/bin/bash
adb shell su -c service call connectivity 34 i32 1
sleep 5s
echo "tethering turned on"
adb shell su -c netcfg rndis0 dhcp
adb shell su -c ifconfig rndis0 10.42.0.2 netmask 255.255.255.0
adb shell su -c route add default gw 10.42.0.1 dev rndis0
adb shell su -c busybox route add default gw 10.42.0.1 dev rndis0
adb shell su -c ifconfig rmnet0 0.0.0.0
echo "reverse tethering enabled"
[Networking] sudhingr8:
Cannot find USB Connection

Hi, I am using Micromax Canvas A116. I have installed SamFlare v6 as well.

I have enabled USB debugging and USB internet in my phone. But when I check the device manager in my windows 7 32bit, I cannot find the USB Connection. Therefore I cannot choose it as the selection in the network connections.

Can somebody please help me out? What am I doing wrong?
[Networking] legend1:
USB tethering option says:

No USB device connected

While phone is connected with PC via usb cable.

How can I enable it?

--------------------------------------------------------------------------------------------

Samsung Galaxy S Advance Rooted JellyBean 4.1.2

Windows 7 Home Basic
[Networking] Shivam_s:
Many many Thanks

I was searching around to share my Window's Internet connection via usb to my Android ,and i thank you that you wrote this article .Only difficulty i encountered is to how to root my Android ,because i was unable to run any commands in android .So i specifically search for my device and found an app Framaroot ,I run it and now i was able to run commands which you mentioned above and Wow! ,i was accessing google on my Android.

Thank you.

---------- Post added at 05:40 PM ---------- Previous post was at 05:24 PM ----------

Hello ! When you first connect you Android device and turn on USB tethering ,(don't turn on the USB storage, as far as i know you should turn it off because my device showed error that you have to turn off the USB storage tio use USB tethering )In my device there is an option "USB Internet" when i checked, it installed RNDIS driver ,if RNDIS is installed or not ,you can check it in Network and Sharing center >Change adapter settings.Then you have to Root your android phone to run the commands.Search for root software for your phone .Run Android terminal emulator and run the commands which are mentioned above .It will work .If not ,we are here to help you.
[Networking] orangzeb:
Hi, I tried these commands on atrix hd and now myphonexplorer isn't connecting until I turn on USB Tethering... how to fix it ? thanks
[Networking] hasanbasri_93:
Awesome ...

Veryy good,, fully work in my phone Sony Live With Walkan
[Networking] raj90012000:
hi

i got error action dhcp failed no such device
[Networking] migui0401:
How can i simulate or emulate a fully working 3G connection for being able to download files from browser and apps from google play?.
[Networking] raman_:
Pls help

Hi....Thanks for your valuable tutorial. Actually when I removed the usb cable, I am not able to connect my 3g connectivity. Is there something I have to do. Any help will be appreciated pls.

Thanks
[Networking] raman_:
Can u pls tell/ guide me as now a days we have option of connect your pc internet using USB. If we click that option and if still it doesnt work on the phone then what to do? All the drivers are installed.

Thanks
[Networking] migui0401:
I was using the app method and worked for me percetly on a 64 bits windows computer. Now i'm using a 32 bits windows 7 seven laptop. In the app it's says that ies correct, but when i open browser, looks like there isn't any data crossing over my connection. Help!
[Networking] sharadboybiebs:
Some Apps Are Not Working.They Just Keep Saying-"No Internet Connection.

Any Fix?
[Networking] bergerkos:
OK, thanks for the howto.

Here are two problems related to this method (so it doesn't work on my tablet the way it's supposed to).

1. netcfg rndis0 dhcp -- this works, but keeps just for a little while, then it has to be rerun again to keep the connection alive.

2. on my tablet NO apps can use Internet with this connection. Apparently what's missing is domain name resolution and i don't know how it's done in Android.

However, command line apps do work -- when I supply the Internet address. How can that be handled?

EDIT: browsers don't work even if I supply the address instead of domain name.
[Networking] Private.Indo:
Quick question.

Everything fine when i'm using google dns 8.8.8.8,

but everything change when the network administrator nation attack,

they told me i need to change dns to default ip number (my pc ip) otherwise i'm unable connect to net.

Now i'm unable to use reverse tethering, i think is dns problem. cause i can connect to net using my pc, but my phone wont.

any idea?
[Networking] bergerkos:
Well in my case setting DNS to whatever doesn't help.. On the bright sight of it, though, I know now how to set DNS in Android... Command line utilities work fine, damn browsers keep looking for WiFi connection. Yea, I think Richard Stallman is right about "non-free", after all.
[Networking] LordGex:
I need this! Thank you!
[Networking] migui0401:
Could you simulate or emulate 3g connection? I couldn't :/ Help!!!!!
[Networking] sgajjala:
While sharing the connection in my Office network I get this error message...

Internet connection sharing cannot be enabled. A LAN connection is already configured with the IP address that is required for automatic IP Addressing.

Can someone help me to resolve this?
[Networking] sudhingr8:
Sharing On Wifi

This method and the apps work exceptionally great on my Canvas HD A116.

However, I would like to know how to share this internet connection through my phone to other phones.

I have tried using wifi tethering hotspot in my phone to provide the connection as a hotspot. But the other phone are not being able to browser anything. Is there a solution for this problem? Other than buying external hardware?
[Networking] tollboy:
Only Browser works. No other app is working!
[HTC Desire S] xdlol:
Hello, I just installed Pac-man ROM from this thread http://xdaforums.com/showthread.php?t=1672537, I installed and flashed boot.img but the device stuck on the htc logo in the first reboot. I use 4ext touch, also tried with clockworkmod 4 and 5. When restoring from the last backup it also get stuck in the logo.
[HTC Desire S] jugg1es:
Have a read of this thread, follow the instructions to see which panel you have http://xdaforums.com/showthread.php?t=1943524

[OFF-TOPIC] Non-Sony screen panel DS users lounge

“A pessimist is a man who thinks everybody is as nasty as himself, and hates them for it.”*―*George Bernard Shaw
[Nexus 4 Q&A, Help & Troubleshooting] Gexus 6:
Hello Everyone, I am found ploblem when I port Optimus G Rom to my Nexus 4 (http://xdaforums.com/showthread.php?p=38736579)

I have already Wipe Cache and Data. The flashing with CWM is good work and already booted and I have already setup phone and use. But I use for a few minute it has stop working I try to touch anything but not work for a few second it have reboot to green background with small black text with step that need I do but I don't do I have backup old Rom I restore old Rom and tomorow I try again and found old ploblem. I wish the help because I very like this rom its lockscreen is amazed.

Thank you very much

PS.Sorry if wrong anything because I don't good in english.
[Nexus 4 Q&A, Help & Troubleshooting] scream4cheese:
This belongs in the Q&A section of this forum.

The developer of the rom hasn't fixed any bugs or improved it since it was released. It's still in it's alpha staga so that's why you are experiencing these problems. Probably you should stay away from it. It's not ready for daily use.
[Nexus 4 Q&A, Help & Troubleshooting] hp420:
the dev stopped work because he hard-bricked his own nexus 4 trying to port the rom.

IMHO, the rom's thread should be closed.
[Nexus 4 Q&A, Help & Troubleshooting] Gexus 6:
Oh no TT but thank you very much for every answer.
[Nexus 4 Q&A, Help & Troubleshooting] I Am Marino:
Wow. Yea agreed.

-Sent from Marino's Maxx-