You are not logged in.
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
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
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
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
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
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
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=mHope this help
woden, are you supposed to put those lines in your rc.conf or what? I'm confused.
Offline
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=mHope 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.
Offline
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
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.
Offline
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