You are not logged in.

#1 2009-12-29 07:45:12

vimk
Member
Registered: 2009-08-19
Posts: 7

[Solved]USB internet tethering to HTC Dream/G1?

Since a cursory search yielded no results I thought I'd ask, does anyone know what it would take to use the USB internet tethering feature of my HTC Dream/G1 android phone running cyanogenmod? I have no idea where to start looking in terms of drivers and configuration for something like this.

Thanks in advance,
Vimk.

Last edited by vimk (2009-12-30 19:33:17)

Offline

#2 2009-12-29 08:41:37

vimk
Member
Registered: 2009-08-19
Posts: 7

Re: [Solved]USB internet tethering to HTC Dream/G1?

In the meantime I'm looking into bluetooth tethering but usb would really be preferable since my laptop doesn't have built in bluetooth but rather a usb adaptor for bluetooth.

Offline

#3 2009-12-29 13:13:28

zukka
Member
From: Bologna Italy
Registered: 2006-06-27
Posts: 26

Re: [Solved]USB internet tethering to HTC Dream/G1?

I've an HTC Hero and when connected with the usb cable I've a menu entry "share mobile network" under wireless settings.
If enabled,  an ethernet usb0 automagically appears and after a dhcpcd usb0 I'm online using the phone's wifi or 3g network.
I don't know if this feature is a vanilla android feature or some htc customization....

Offline

#4 2009-12-30 18:00:18

vimk
Member
Registered: 2009-08-19
Posts: 7

Re: [Solved]USB internet tethering to HTC Dream/G1?

Hm, doesn't show up in ifconfig and wicd certainly doesn't detect it. Are you using networkmanager? It might be that the vanilla g1 firmware doesn't include tethering and it's a flaw in cyanogenmod's implementation. Although I'd imagine he just back ported it.

Offline

#5 2009-12-30 18:18:09

vimk
Member
Registered: 2009-08-19
Posts: 7

Re: [Solved]USB internet tethering to HTC Dream/G1?

Nevermind, works perfectly. Certainly not elegant but I can't argue with the results. Thank you very much!

Next step is to make a script for it I suppose.

Offline

#6 2010-02-02 20:54:25

woden
Member
Registered: 2009-02-16
Posts: 2

Re: [Solved]USB internet tethering to HTC Dream/G1?

vimk wrote:

Nevermind, works perfectly. Certainly not elegant but I can't argue with the results. Thank you very much!

Next step is to make a script for it I suppose.

Could you tell us what you did to get it working.
In one post you mention that you don't get a usb0 device (which is the problem I'm having) and in the next you say it works perfectly.
What happend between the posts?

Cheers

Edit -
I figured out my problem.
I compile my own kernel so I was missing some kernel modules.
Make sure the following are in your kernel or usb tethering won't work.

CONFIG_USB_USBNET=m
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_RNDIS_HOST=m

Hope this help

Last edited by woden (2010-02-02 21:24:23)

Offline

#7 2010-03-16 23:36:21

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: [Solved]USB internet tethering to HTC Dream/G1?

woden wrote:
vimk wrote:

Nevermind, works perfectly. Certainly not elegant but I can't argue with the results. Thank you very much!

Next step is to make a script for it I suppose.

Could you tell us what you did to get it working.
In one post you mention that you don't get a usb0 device (which is the problem I'm having) and in the next you say it works perfectly.
What happend between the posts?

Cheers

Edit -
I figured out my problem.
I compile my own kernel so I was missing some kernel modules.
Make sure the following are in your kernel or usb tethering won't work.

CONFIG_USB_USBNET=m
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_RNDIS_HOST=m

Hope this help

woden,  are you supposed to put those lines in your rc.conf or what?  I'm confused.

Offline

#8 2010-03-17 09:05:44

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Re: [Solved]USB internet tethering to HTC Dream/G1?

flammenwurfer wrote:
woden wrote:
vimk wrote:

Nevermind, works perfectly. Certainly not elegant but I can't argue with the results. Thank you very much!

Next step is to make a script for it I suppose.

Could you tell us what you did to get it working.
In one post you mention that you don't get a usb0 device (which is the problem I'm having) and in the next you say it works perfectly.
What happend between the posts?

Cheers

Edit -
I figured out my problem.
I compile my own kernel so I was missing some kernel modules.
Make sure the following are in your kernel or usb tethering won't work.

CONFIG_USB_USBNET=m
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_RNDIS_HOST=m

Hope this help

woden,  are you supposed to put those lines in your rc.conf or what?  I'm confused.

There are from the kernel .config file. The 'm' means module.


:: Github :: My AUR :: Coreboot ::

Offline

#9 2010-03-17 10:29:01

brianhanna
Member
Registered: 2009-10-30
Posts: 157

Re: [Solved]USB internet tethering to HTC Dream/G1?

Does anyone know if this is possible on any Android phone?  I have a Motorola Droid.  I'll try it later and see if it works on mine too.

Offline

#10 2010-03-17 10:38:38

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Re: [Solved]USB internet tethering to HTC Dream/G1?

brianhanna wrote:

Does anyone know if this is possible on any Android phone?  I have a Motorola Droid.  I'll try it later and see if it works on mine too.

If it is rooted and has a cooked ROM on it that supports tethering, google should turn up loads of information on the matter as its not really a subject for this forum.


:: Github :: My AUR :: Coreboot ::

Offline

#11 2010-03-17 12:36:04

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: [Solved]USB internet tethering to HTC Dream/G1?

Thank you crankykadmin. 

On another note after more snooping in the xda-forums it appears nobody else has been able to get the wired-tether app working on the CDMA Hero either.  It apparently has something to do with the kernel being used on the phone and since the .29 kernel source isn't available yet we'll just have to wait til it is.

Offline

Board footer

Powered by FluxBB