Tag Info

Hot answers tagged

16

This can be done on Linux or Windows: http://blog.mathieu.carbou.me/post/60454997009/reverse-usb-tethering-with-android-2-2 STEP 1: For Windows: Install USB drivers from Android SDK For Linux: Nothing to do STEP 2: On Nexus One: Connect USB cable and activate USB Tethering. You should see on linux or windows a new network interface. ...


8

The following works for a while, but only for the browser. When you plug in your phone via usb and choose Internet pass-through, you should get a new RNDIS device (usb0 or usb1). For ubuntu, edit /etc/network/interfaces and add the following lines: iface usb0 inet dhcp iface usb1 inet dhcp This will assign an IP automatically when the device is added. If ...


7

Hey! there is an app for that Android Usb Port Forwarding http://www.codeproject.com/kb/android/usbportforwarding.aspx I am a bit confused how to use it, please inform if you get it working perfectly.


7

There are some more possibilities -- but all of them I know of require a rooted device. Using the Reverse Tether App First, there's an App named Reverse Tether available for free on the Play Store (it's a limited trial, which restricts the time you can be connected -- but at least you can test this way whether your device is fully supported; the full ...


6

I'd say that there are only Mod specific solutions. Nearly every App that I know uses this Android API, and therefore the code snipped in your questions, for network connectivity checks. One would need to change the Cyanogen source so that the OS (Android+Cyanogen) is aware of the USB reverse tethering network connectivity and returns the right information ...


4

XDA developer capslock66 has developed a reverse tethering tool which is the simplest yet (and hopefully in future too). Only requirement is a rooted phone. You can download it from here- Android reverse tethering via usb It comes as a zip file with all the adb files and dependencies. Once you open the application, it will do all the settings on your phone ...


4

The solution is called Reverse tethering, and it can be done with several apps, like Connectify. You can find a quick introduction to it here.


4

A made this small bash to automate all. Just plug your phone in charging mode to your computer and run this bash. #!/bin/bash /opt/android-sdk-update-manager/platform-tools/adb shell 'echo 6 > /sys/devices/platform/msm_hsusb/usb_function_switch' sleep 1 /opt/android-sdk-update-manager/platform-tools/adb shell ifconfig usb0 192.168.99.5 netmask ...


3

Turn your laptop into a WiFi hotspot. See Turn Your Windows 7 Laptop into a WiFi Hotspot with Connectify as an example. In a GNU/Linux system, use hostapd for this purpose. (Actually, if you don't like the idea of writing a configuration file for hostapd, the popular NetworkManager tool also supports managing an AP now, but this is not available through its ...


3

I don't know how to do what you want with only an Android device, but since you mention reverse tethering using USB you could achieve the same thing using only a computer that has an internet connection and wi-fi. You can use your computer's wi-fi to share your internet connection with multiple devices, including your android phone, using one of two methods: ...


3

Found the following on http://forum.xda-developers.com/showthread.php?t=793102&page=3 It is working now. After setting up ICS type in console emulator on your phone: ifconfig usb1 192.168.2.2 netmask 255.255.255.0 up route add default gw 192.168.2.1 dev usb0 iptables -F iptables -F -t nat setprop net.dns1 8.8.8.8 setprop "net.gprs.http-proxy" "" ...


3

If your incredible will create a WiFi hotspot it will work with the Xoom. You can test this with your laptop before buying the Xoom.


3

For your second method (which should work) it looks like you are just missing the correct drivers for your device. I found a page which claims to have the drivers (http://www.digitbrunch.com/android/how-to-root-micromax-unite-2-a106) although I cannot vouch for their authenticity so its up to you if you want to trust them. Let me know if you run into any ...


2

I am trying to do the same thing on my Samsung Captivate (Galaxy S) with no success. I have followed this tutorial: http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html And I think that the problem is, and may also be for you, that "tethering and Usb debugging don't work simultaneously on this device". Bummer.


2

From everything I have read about this topic, it is possible to do on a linux machine, but not with a windows machine. this could be because of something with ADB on windows, or the USB drivers for windows. Here is the info (note that this reference was done with a Nexus One): Requirements: Android 2.2 (or an older version with a root tethering app) ADB ...


2

You haven't specified if you have wireless capability in your computer. Assuming you have one or can manage wireless in your computer then you can take the following steps to share the computer's Internet via ad-hoc wireless connection. First create an ad-hoc connection in your computer so that your phone can connect to it. You can follow this guide for ...


2

This appears to be a little over "USB Reverse-Tether" requirements :-) You actually want to share your wired internet backwards over the WiFi of your android phone. The reverse-tether, imo, ends at the point of being able to use your wired Internet over USB from your android phone. Now, pushing that over the phone's WiFi to other WiFi devices sounds like one ...


2

This is more of a linux question, and it may need to be moved to superuser.se, but I can answer it. On linux, you string commands using && (or || or just ;). With &&, the first command must finish executing and have no error codes in order for the next command in the sequence to run. In your setup, it looks like you want to open an ADB ...


1

On my rooted device I was able to start connection once and it never worked again. Command is: android# pand --connect XX:XX:XX:XX:XX:XX android# netcfg bnep0 dhcp alternatively if you know the address of remote device - let's say 192.168.101.1 android# ifconfig bnep0 192.168.101.1 android# route add default gw 192.168.101.1 dev bnep0 android# setprop ...


1

Requirements: Rooted Android device with "USB tethering" capability. Windows PC with a working Internet connection. USB cable to connect your Android to your PC. Terminal Emulator on your Android. If you don't want to type commands on your touchscreen with Terminal Emulator, you can use your PC keyboard to enter commands with "adb shell". adb is a part of ...


1

WiFi tethering may be a better option. On your HTC One, go to: Settings > More... > Tethering & portable hotspot > Portable WiFi hotspot


1

If you have a rooted device, Reverse Tether can help you.


1

Yes, you need root: $ netcfg usb0 dhcp netcfg usb0 dhcp action 'dhcp' failed (Permission denied) $ su su # netcfg usb0 dhcp netcfg usb0 dhcp action 'dhcp' failed (Network is down) <-- I used 'netcfg usb0 down' from another terminal here # The only way I've personally seen to accomplish this without root is to basically have some sort of proxy ...


1

Since I don't have access to Linux machine myself I can't test this solution but you can try the steps described here (Google translation from Russian). Comments to the translation: "rutovanym" means rooted; WB or BB means Big Brother (desktop); smarta is abbreviation from "smartphone's". Good luck!


1

Well, I am currently using HTC Sensation. HTC Sense provides reverse - usb - tethering which is called USB pass through. But I know that this service requires HTC Sync application and its drivers on computer. Maybe you can take a look at flashing HTC Sense Roms to non - htc devices or getting htc sense applications to non - htc devices. There are bunch of ...


1

An android enthusiast called Mathieu Carbou seems to have achieved the reverse-USB tethering issue you'd like to explore, but on his Nexus One, 2.2. Here is a link for the same: Reverse-USB-Tethering. I won't guarantee any success, though you could try it and let us know the results. :)


1

No; a device-side app can't force the PC to share its internet connection. One option might be to connect the device and mount the storage to the PC, so the data could be uploaded to a website or emailed. This has its own issues -- depending on the PC OS and the particular phone, drivers might be needed -- but it should work in some cases.


1

Ok, here's exactly what I did, no rooting of HTC desired: Setup bind9 and NAT etc... note: 1: if you just do sudo echo 1 > /proc/sys/net/ipv4/ip_forward you will get a permissions error, so here's a script for the process 2: You can make iptables more specific about how it does things by adding parameters for specific devices. cd ~ echo '!/bin/bash ...


1

The Replicant Project has a page on how to use USB Networking; you'll need a rooted phone, the scripts there, and a GNU/Linux system to use the scripts with little to no modification. However, it's a start.


1

I tried this a while back when I first got an Android phone, but it didn't fully work. In windows 7 I use http://www.connectify.me and that works perfectly, so I never continued with it in Ubuntu. Try these anyway: https://help.ubuntu.com/community/WifiDocs/WirelessAccessPoint http://www.esrun.co.uk/blog/ubuntu-gateway-access-point-server/ Let us know ...



Only top voted, non community-wiki answers of a minimum length are eligible