skellum / android-wifi-tether

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

Add a usb ethernet driver so the laptop to G1 link can be over usb instead of WiFi #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I once used such a driver "usbnet" on a hacked iPAQ running linux.

http://www.linux-usb.org/usbnet/

http://www.handhelds.org/moin/moin.cgi/UsbNet

Original issue reported on code.google.com by john.mil...@gmail.com on 11 Mar 2009 at 9:33

GoogleCodeExporter commented 8 years ago

Original comment by ulf...@gmail.com on 12 Mar 2009 at 2:41

GoogleCodeExporter commented 8 years ago
This is somewhat related to your request, but it's not true full network 
tethering
(requires using a proxy or a network hack to redirect traffic thru the proxy)

http://graha.ms/androidproxy/

Original comment by dro...@gmail.com on 17 Mar 2009 at 8:18

GoogleCodeExporter commented 8 years ago

Original comment by ulf...@gmail.com on 19 Mar 2009 at 9:49

GoogleCodeExporter commented 8 years ago
It would be a great enhancement if it was possible to do tethering over USB. 
The Wifi connection works perfectly, but it drains power much faster than 
usual, both 
on the phone and on the laptop. I typically have my phone connected via USB 
anyway, to 
recharge it while I tether.

Original comment by lrn%infi...@gtempaccount.com on 3 Apr 2009 at 5:46

GoogleCodeExporter commented 8 years ago
This is a great idea, please look into it once bugs are fixed, this app is 
already
working great, adding this feature would be a hugs plus

Original comment by defconoii on 5 Apr 2009 at 10:35

GoogleCodeExporter commented 8 years ago
i would incredible to have this feature or and app that had this option it wold 
be 
much more convenient

Original comment by JonatanR...@gmail.com on 6 May 2009 at 6:30

GoogleCodeExporter commented 8 years ago
isnt that what pdanet does?

Original comment by Ironn...@gmail.com on 21 Sep 2009 at 1:17

GoogleCodeExporter commented 8 years ago
Was looking into this a bit earlier this morning...

I've never used pdanet, but yes, I think it does something similar. Discussing 
here
is moot, IMHO--it doesn't work on Linux or MacOS X, nor is it open source.

I'm not familiar with usbnet (see comment #1). What advantages does usbnet have 
over
implementing a USB ethernet adaptor (an example of which is already included 
with the
Linux Gadget API)? Does whatever usbnet does work with Windows or MacOS X?

For android-wifi-tether, the "best" way (w.r.t. end users; all they'd have to 
do is
download an android-wifi-tether APK as they do now) to implement a driver 
through
Linux's Gadget API's gadgetfs. Apparently, however, it is broken with Android:

http://groups.google.com/group/android-kernel/browse_thread/thread/e3c883ddd28b6
e14/a9032b5dbb7ecc35?lnk=raot

The alternative is to add support to Android's gadget driver. This is going to
require a custom kernel and ROM (i.e. much more than just root).

Original comment by samat.jain on 21 Sep 2009 at 8:28

GoogleCodeExporter commented 8 years ago
How about porting the code from HTC hero kernel and implement exactly the same 
USB
tethering function on wifi-tether? (Users need to replace the kernel anyway 
before
using wifi-tether.....this would allow more users to have USB tethering than 
those
running Cyanogen :)

http://androidandme.com/2009/10/hacks/usb-tethering-coming-to-hacked-android-pho
nes/

(Wifi tethering works for me but it keeps getting disconnected all the time, 
don't
know why....tethering via USB would be more stable than wifi)

Original comment by ericwon...@gmail.com on 29 Oct 2009 at 7:12

GoogleCodeExporter commented 8 years ago
I've started a new project which will allow tethering via usb. It's based on
wireless-tether (but will only support usb).

Project is located here:
http://code.google.com/p/android-wired-tether/

Have it already running and will publish a kernel (for the ADP1.6) within the 
next
hours. Will close this issue.

Original comment by harald....@gmail.com on 30 Oct 2009 at 10:42

GoogleCodeExporter commented 8 years ago
Would the kernel for the wired-tether also support the wireless tether apk?
(personally, I would prefer a single apk that can do both wireless and wired 
though...)

Original comment by ericwon...@gmail.com on 30 Oct 2009 at 11:46

GoogleCodeExporter commented 8 years ago
yes, the wired-kernel will support wireless-tether. the problem why I don't 
integrate
this into wireless-tether is because we need (again) a very special kernel. and 
I
just won't to get flooded with complains about half-working apps.

Original comment by harald....@gmail.com on 30 Oct 2009 at 12:20

GoogleCodeExporter commented 8 years ago
That's fine, just see how it goes :)
It is always possible to change it later ;)
e.g. the wired-tether apk + kernel could also have the wireless tether function.

Btw, thanks for your hard work.

(I still need to find time to get my G1 upgraded to 1.6 first, still running 
1.5 atm....)

Original comment by ericwon...@gmail.com on 30 Oct 2009 at 12:33

GoogleCodeExporter commented 8 years ago
FWIW, I think the next release of Cyanogen's mod will have USB ethernet driver 
support.

Original comment by redst...@gmail.com on 30 Oct 2009 at 4:39

GoogleCodeExporter commented 8 years ago
Ok, the mentiond "wired tether" app is now available here:
http://code.google.com/p/android-wired-tether/downloads/list

It requires to replace the kernel (this kernel supports the ADP/G1 only) which 
can be
downloaded here:
http://android-wired-tether.googlecode.com/files/adp-1_6-kernel-update_usbtether
_r2.zip
(how to do that is described here:
http://code.google.com/p/android-wifi-tether/wiki/ADP16KernelUpdate )

Thanks to Zinx who has ported parts of the hero-kernel!

Original comment by harald....@gmail.com on 31 Oct 2009 at 3:24

GoogleCodeExporter commented 8 years ago
Anybody tried the wired-tether-app so far?

Original comment by harald....@gmail.com on 2 Nov 2009 at 2:56

GoogleCodeExporter commented 8 years ago
Yes, wired tether is working well. Thanks.....(though Android 1.6 itself seems 
to be
causing crashes on many apks though....)

Original comment by ericwon...@gmail.com on 4 Nov 2009 at 10:09