Internet Connection Sharing with Windows Mobile 6.1 in Ubuntu

After turning in my HTC 6800 as an insurance claim, I was given a new HTC Touch Pro running Windows Mobile 6.1. I had not even tethered my data phone since my UTC 6700 and was curious if it could even be done on the newer Windows Mobile OS. So few Google searches later, I was able to find a how-to, and a really easy copy pasta style one at that. There is a note at the bottom regarding possible issues with the HTC Touch and Diamond, I had no issues what so ever, YMMV. Full text from Ubuntu Forums to follow…


From Ubuntu Forums
How To: Internet sharing on USB with Linux and Windows Mobile
I have been lookin’ for a complete guide on “How to connect to HSDPA/3G trough USB with Linux and Windows Mobile 6” – And here is the solution!

To connect your WM6 device via usb to your linux pc do the following:

On your phone enable internet sharing via usb but do not connect the usb cable yet.

Run the following may need to install “svn” for this to work: (install by terminal: sudo apt-get install subversion)


svn co
cd usb-rndis-lite/
sudo ./
sudo make install

Create the path “/etc/sysconfig/network/”, in Hardy Heron the path “sysconfig/network/” doesnt exists, easy with nautilus trough terminal:


sudo nautilus

Nautilus opens, and browse to “/etc/” and create the path “sysconfig/network/” and futher. – Close nautilus.

The create the file “ifcfg-rndis0” in “/etc/sysconfig/network/“, easy with gedit (gnome’s text-editor) trough terminal:


sudo gedit /etc/sysconfig/network/ifcfg-rndis0

Fill the file with the text below:



So, if you haven’t start “Internet Sharing” on your WM-phone yet. Do it now..

– Now plug the phone into the usb cable going to the pc and if you do a “dmesg” you should see the following (or something similar):

[ 6539.589930] usb 5-1: USB disconnect, address 2
[ 6539.590829] rndis0: unregister ‘rndis_host’ usb-0000:00:1d.2-1, RNDIS device (SynCE patched)
[ 6540.972801] usb 5-1: new full speed USB device using uhci_hcd and address 3
[ 6541.019337] usb 5-1: configuration #1 chosen from 1 choice
[ 6541.628430] rndis0: register ‘rndis_host’ at usb-0000:00:1d.2-1, RNDIS device (SynCE patched), 80:00:60:0f:e8:00

and if you do an ifconfig you should have a new rndis0 device:


rndis0 Link encap:Ethernet HWaddr 80:00:60:0f:e8:00
inet addr: Bcast: Mask:
inet6 addr: fe80::8200:60ff:fe0f:e800/64 Scope:Link
RX packets:3008 errors:2425 dropped:0 overruns:0 frame:225
TX packets:2993 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1915412 (1.8 MB) TX bytes:763519 (745.6 KB)

The rndis0 device will exist both when internet sharing is enabled via usb and when it is NOT….here is how it works:

If internet sharing IS enabled via usb you have access to the internet and will get an IP…default route will be set.

If internet sharing is NOT enabled via usb then the rndis0 device will exist and can be used by programs such as syncE to manage your contact list or transfer files but you will not have internet access (from the phone) and more than likely you will not get an ip address auto assigned (it may keep the ip it used last).

I know this works as I’m connected at the moment via the rndis0 device. I find it to be more responsive than the connection via bluetooth. Hope this helps someone.

Source from:

Solution for HTC Touc Pro / Diamond (HTC devices that can’t get DHCP to
work properly):…82#post6239582