ADRDev / android-wired-tether

Automatically exported from code.google.com/p/android-wired-tether
0 stars 0 forks source link

Enable wired tether on Droid X, Droid 2, Droid 2 global and Droid pro #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is more of a suggestion on how to get wired tether working on these 
phones. Motorola has replace RNDIS with their own usbnet on these phones. 

The usbnet can be enabled on a rooted phones by using the following command

#echo 1 > /sys/class/usb_composite/usbnet/enable

Currently the usbnet works only on windows machines. Like the RNDIS it creates 
a virtual Ethernet interface on the windows machine. The phone has a 
192.168.16.1 ip on usb0 and the pc get a 192.168.16.x ip address. 

It should be an easy task for the wired tether developers to add support for 
these devices.

Original issue reported on code.google.com by gowth...@gmail.com on 21 Dec 2010 at 1:14

GoogleCodeExporter commented 9 years ago
I would really appreciate someone taking this on. I have a cr-48 and this seems 
to be the only way to tether with my rooted Droid X running 2.2.1. None of the 
wireless tethers work with the CR-48 :-( 

Original comment by pattont on 25 Dec 2010 at 8:20

GoogleCodeExporter commented 9 years ago
this will not work on the cr-48 as there no linux drivers for the Motorola 
usbnet.

Original comment by gowth...@gmail.com on 26 Dec 2010 at 12:27

GoogleCodeExporter commented 9 years ago
Would love to get this working for my CR-48 and my DroidX.

Original comment by pattont on 28 Dec 2010 at 8:32

GoogleCodeExporter commented 9 years ago
if someone can write the usbnet drivers for linux, this will work. Motorola has 
released the phone side driver code. Need someone to code the linux host side 
driver.

Original comment by gowth...@gmail.com on 28 Dec 2010 at 8:38

GoogleCodeExporter commented 9 years ago
Ok, will include this in the next release (released within the next days). I'm 
not able to test it but will let you when a test-app is available for download.

Original comment by harald....@gmail.com on 7 Jan 2011 at 12:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@harald

I am able to get a working USB tether of XP to Droid X by doing the following.

1. If you haven't already, install motorola's 4.8 usb drivers.
2. Download wired tether 1.4 to your phone
3. Run wired tether.
4. Plug in phone.
5. Set to PC mode(new devices will install, if you haven't done this before).
6. Configure new ethernet interface to:

IP: 172.20.23.253
Subnet: 255.255.255.248
Gateway: 172.20.23.254

DNS1: 208.67.220.220
DNS2: 208.67.222.222

So 1.4 actually works, sans DHCP.  DHCP would be nice, though. ;)

Original comment by tekah...@gmail.com on 1 Feb 2011 at 8:17

GoogleCodeExporter commented 9 years ago
This didnt work for me. It sees a connection but I don't get to the internet. 
This is on Windows 7 though.
Is there a setting that should be changed on the app side? I set the Lan 
network to 172.20.23.252/30 since that one made the most sense with the other 
changes.

I also installed 4.9 drivers since that is what was available. 
I also enable the usbnet through my terminal emulator 

Original comment by TealTurb...@gmail.com on 23 Feb 2011 at 2:43

GoogleCodeExporter commented 9 years ago
I also have a cr-48 and Droid 2. Would love to get this working. Any updates to 
this?

Original comment by zach...@gmail.com on 6 Mar 2011 at 7:35

GoogleCodeExporter commented 9 years ago
tekahuna's suggestion works for me. I'm on CM7 (Gingerbread), Motorola 
Milestone, Windows 7 64-bit.

Original comment by jua...@gmail.com on 21 Mar 2011 at 8:23

GoogleCodeExporter commented 9 years ago
teks post worked for me like a charm win 7 64 bit thx way better battery life 
with wired tethering and no pdanet or easy tether crap either

Original comment by jon.jaeg...@gmail.com on 22 Mar 2011 at 4:51

GoogleCodeExporter commented 9 years ago
i have it working on my ubuntu machine. I dont have a cr-48 to test.

Original comment by gowth...@gmail.com on 25 Mar 2011 at 2:56

GoogleCodeExporter commented 9 years ago
how did you get this to work on ubuntu?

Original comment by htmlfrea...@gmail.com on 11 Apr 2011 at 9:36

GoogleCodeExporter commented 9 years ago
Any updates on getting this working on the droid2 and linux?(or at all?)...when 
this 1st starts it says my kernel is not supported. I am dying to find a usb 
tethering option for my rooted droid2.

Original comment by mikerobi...@gmail.com on 5 Sep 2011 at 7:44