Hot answers tagged reverse-tether
5
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.
4
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
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 ...
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.
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.
Then use WiFi from your mobile phone to connect to the laptop's WiFi.
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" ""
...
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
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 ...
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
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 ...
2
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:
...
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
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
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
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
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 ...
1
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 ...
1
From the BBC's iPlayer Mobile FAQ:
Programmes can be played through a
wi-fi connection. Customers with 3 UK
and Vodafone (except for those using
Android, Apple or Symbian 3 devices)
can also access programmes via their
3G network. The BBC is working to make
BBC iPlayer available over more 3G
networks.
This seems to hold up with my ...
Only top voted, non community-wiki answers of a minimum length are eligible