yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] cbloo21:
diamond + internet sharing...

This is dmesg :

[ 159.620119] usb 5-2: new high speed USB device using ehci_hcd and address 5

[ 159.674688] usb 5-2: configuration #1 chosen from 1 choice

[ 160.067824] rndis_host 5-2:1.0: dev can't take 1558 byte packets (max 1536)

[ 160.069702] rndis0: register 'rndis_host' at usb-0000:00:1d.7-2, RNDIS device (SynCE patched), 3e:8c:56:dc:d9:65

and odccm :

** (odccm:6201): DEBUG: PDA network interface discovered! udi='/org/freedesktop/Hal/devices/net_3e_8c_56_dc_d9_65'

and ifconfig :

rndis0 Link encap:Ethernet inet adr:169.254.2.2

so no ip ...I have svn release of usb-rndis-lite.
[Windows Mobile Software Development] famewolf:
Thank you. You should probably provide this information on the synce forum's becuase it's very different from the information the tilt/kaiser is giving. I'll assume you captured that dmesg while internet sharing was "waiting for connection" cause thats important...it shows something different when internet sharing is not enabled on the phone...my tilt shows:

usb 3-1: configuration #1 chosen from 1 choice

rndis0: register 'rndis_host' at usb-0000:03:00.1-1, RNDIS device (SynCE patched), XX:00:XX:0f:XX:00

usb 3-1: New USB device found, idVendor=0bb4, idProduct=0303

usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

usb 3-1: Product: Generic RNDIS

usb 3-1: Manufacturer: HTC

usb 3-1: SerialNumber: xxxxxxxxxxxxxxxxx

I know that it looks for the idVendor and idProduct and yours is not providing one.
[Windows Mobile Software Development] cbloo21:
I reached to connect via BT, following this thread :

http://forum.eeeuser.com/viewtopic.php?pid=23948#p23948

I ve a single BT key for 10 €.

then , on the dhclient I take directly a ip , where usb cable didn't offer anything.

I think this is especialy on htc Diamond, I ve tried with a HTC Touch there was no problem.
[Windows Mobile Software Development] TinoM:
I can't get it to work with my Diamond and Ubuntu 8.04 :/

The rndis0-interface gets only a local (169.x.x.x) ip when connecting the Diamond. And when i start the connection sharing on it and make it connect before i put in the usb-cable into my laptop it doesn't get an ip at all :(.

Here is a detailed lsusb for the HTC Diamond:

Bus 004 Device 004: ID 0bb4:0b13 High Tech Computer Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 1 ?
bDeviceProtocol 1 Microsoft ActiveSync
bMaxPacketSize0 64
idVendor 0x0bb4 High Tech Computer Corp.
idProduct 0x0b13
bcdDevice 0.00
iManufacturer 1 HTC
iProduct 2 Generic RNDIS
iSerial 3 3fbf5000-7351-0801-3575-590113261660
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 62
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 239 Miscellaneous Device
bInterfaceSubClass 1 ?
bInterfaceProtocol 1 Microsoft ActiveSync
iInterface 0
** UNRECOGNIZED: 05 24 01 00 01
** UNRECOGNIZED: 04 24 02 00
** UNRECOGNIZED: 05 24 02 00 01
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 1 ?
bDeviceProtocol 1 Microsoft ActiveSync
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered

Any help appriciated!
[Windows Mobile Software Development] baeza:
Please TinoM, post your ifconfig when Diamond is connected and IS is not loaded; also when IS is loaded and connected to 3G net. Watch 'Network Manager' to see how the Diamond interface (rndis0 or ethX) is handled (itinerant or manual-dchp).
[Windows Mobile Software Development] fbcyborg:
Hi there,

I tried to do as the first post of this thread says, but it seems I still have some problem.

I can compile the driver, and this is the output I get:

usb-rndis-lite # make install
make -C /lib/modules/2.6.25-gentoo-r7/build SUBDIRS=/home/fbcyborg/usb-rndis-lite modules_install
make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r7'
DEPMOD 2.6.25-gentoo-r7
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7'
depmod -ae

As you can see, my distribution is Gentoo. I guess the compilation is OK.

As regard the configuration file for rndis0, I think that the file

/etc/sysconfig/network/ifcfg-rndis0

is not valid for my distribution.

I don't have a single config file for each network interface in my distribution. Instead there's only one file, that is /etc/conf.d/net where you can put all what you want about network IP settings an many other things.

So, maybe that file is not appropriate to put the ifcfg-rndis0 content.

Anybody knows where is the appropriate one?

Once I plug my usb cable i get the following messages on the kernel ring buffer:

hub 1-0:1.0: unable to enumerate USB device on port 1
usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: no configuration chosen from 1 choice

I don't really know the reason why I can't get what I expected.

If you need an lsmod, there's no problem.

Thanks in advance.
[Windows Mobile Software Development] nolsen311:
All I had to do to get this working in Gentoo (2.6.26-r1) was turn on Internet sharing as documented in the first post...

and symlink /etc/init.d/net.lo -> /etc/init.d/net.rndis0

(ln -s /etc/init.d/net.lo /etc/init.d/net.rndis0)

I'm also running Laurentius26 KaiserDiamond.
[Windows Mobile Software Development] francus:
it works, but not well

I have Ubuntu 7.10, and a Palm 750 with WM6. The connection works, and many thanks for your instruction. Now I am posting using this connection, but does not work well. I works much better with windows xp

The connection is unable to handle some concurrent windows, often is very slow, with often messages "server not existent" so have to reload the same page to get it. Finally the connection is not available to virtual machines.

When I connect the usb cable a new eth2 appears on ifconfig:

ifconfig

eth2 Link encap:Ethernet HWaddr 80:00:60:0F:E8:00

inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: 2002:d9ca:947d:6a:8200:60ff:fe0f:e800/64 Scope:Global

inet6 addr: fec0::6a:8200:60ff:fe0f:e800/64 Scope:Site

inet6 addr: fe80::8200:60ff:fe0f:e800/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:3190 errors:5726 dropped:0 overruns:0 frame:2654

TX packets:3720 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:1470856 (1.4 MB) TX bytes:747193 (729.6 KB)

dmesg

[ 90.812000] rndis0: register 'rndis_host' at usb-0000:00:1d.0-1, RNDIS device (SynCE patched), 80:00:60:0f:e8:00

[ 93.112000] NET: Registered protocol family 17

[ 104.912000] eth2: no IPv6 routers present

thanks again
[Windows Mobile Software Development] famewolf:
Using polipo cacheing web proxy with pipelining enabled and "poor man's multiplexing" enabled will help the speed of web surfing alot.
[Windows Mobile Software Development] marcovolpe:
same problem of TinoM

usb connected

ics started
[Windows Mobile Software Development] kuapao:
Share WM6 HTC's internet with Puppy Linux

I realize this was a while back...but did you ever find a way to share your HTC's internet connection with Puppy Linux through USB?
[Windows Mobile Software Development] krayziturtle:
Thank you very much, famewolf.

You, sir, are the man.
[Windows Mobile Software Development] kuapao:
Puppy Linux PET file for usb-rndis-lite available

I decided to compile the usb-rndis-lite module myself in Puppy Linux and have made the resulting file available at the Puppy Linux forum:

http://www.murga-linux.com/puppy/viewtopic.php?p=234233#234233
[Windows Mobile Software Development] arthurbrownleeiv:
Has anyone found a fix for this? Having a Fuze, I imagine my problem is the same as the Diamond. The problem being, no IP being assigned to opensuse.
[Windows Mobile Software Development] joele54:
Works like the original post describes...

I have been able to successfully use the original description of getting usb-rndis-lite working under Suse 11.1 on a Dell D830 laptop. No glitches whatsoever. Just an FYI and thanks for the howto!

Regardz(tm),

joele54
[Windows Mobile Software Development] BlastFX:
Working great!

Thank you very much for this, thamewolf! Works perfectly under Ubuntu 9.04! I still prefer Vista, but I have a choice now :-)
[Windows Mobile Software Development] famewolf:
Certain models of phone running windows mobile 6.1 require an additional patch to the source so they can get an ip address via dhcp.....so go into your usb-rndis-lite directory and do the following:

wget -c https://synce.svn.sourceforge.net/svnroot/synce/trunk/patches/usb-rndis-lite-samsung.patch

patch < usb-rndis-lite-samsung.patch

make clean

make

make install

A reboot may be needed to make sure it's loading the new modules. Let me know if that resolves your issue as this information comes from the ubuntu forums and I don't have this issue with my Tilt.
[Windows Mobile Software Development] Sergio PC:
Alright I might be out of my element, but I get out of da box internet sharing with Juanty.

Just use the usb pop up menu.

BTW: Jaunty is my one and only OS.
[Windows Mobile Software Development] TrYde:
I've been surprised to see that Fedora 11, on its last release, has a native HTC RNDIS driver. It creates a network connection just like in windows. I haven't tested with synce, but definetely works with Internet Sharing / WMWifirouter.
[Windows Mobile Software Development] jonalowe:
Could you elaborate on the "usb popup menu"? Nothing pops up when I plug in a USB item.

Jon
[Windows Mobile Software Development] famewolf:
I'll ask this just to cover all options...you are enabling internet sharing on the phone before you connect the usb cable up? It will create a rndis connection with internet sharing turned off but that is for syncing as opposed to tethering.
[Windows Mobile Software Development] famewolf:
If your distro is using one of the new kernels then it may include all the new synce enhacements and not need a seperate compile. Opensuse and some of the others are still on 2.6.27.xx so they still need some tweaks.
[Windows Mobile Software Development] jonalowe:
Yes I am, and I've tried it both ways. I even went to the Jaunty Live CD to see if it would come up with no changes. Nothing. USB sees it. However with USB, I can't get to the files on the phone, but with Bluetooth I can. Weird. And both work in XP.
[Windows Mobile Software Development] Sergio PC:
You know..... the HTC USB pop up menu, check out the pic.

We get weekly 30meg updates :p

Are you updating Jaunty? Have you activated Update manager?Like in pic 2?
[Windows Mobile Software Development] jonalowe:
I've selected USB on my phone under the internet sharing menu, just like I did on Windows. My Jaunty is fully updated. Kernel 2.6.29-1. Nothing shows up on a fresh install with all updates. I will start over on this process.
[Windows Mobile Software Development] jonalowe:
I managed to get sharing going on Bluetooth on this computer, by tilting my head and squinting, using the Blueman Bluetooth manager instead of the stock app. Of course, no one elses directions helped me to finally get it going! I have to do things in exactly a non-logical sequence to get it going.

USB sharing still eludes me, and I still would like to get that going. But I now know sharing in Linux IS possible! In fact, I'm using it now.

The Ubuntu network manager sees my phone via USB, but says it doesn't manage it, so it is greyed out.

I tried the patch for the other phone; no help. I didn't have that error message anyway.
[Windows Mobile Software Development] Sergio PC:
Well if you need any info, that will show you how it works properly (like on mine :p) let me know.

Ex: Directory's or programs installed.
[Windows Mobile Software Development] jonalowe:
I finally got it to work. See here:

http://ubuntuforums.org/showpost.php?p=7844094&postcount=60

Jon
[Windows Mobile Software Development] fbcyborg:
Here again.

I've just finished to setup my Linux Distribution on my notebook. I use Gentoo Linux.

I tried to install usb-rndis-lite, but I'm not able to compile it.

Here's what I get during compile:

/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.c: In function 'usbnet_probe':
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.c:1199: error: 'struct net_device' has no member named 'change_mtu'
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.c:1200: error: 'struct net_device' has no member named 'get_stats'
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.c:1201: error: 'struct net_device' has no member named 'hard_start_xmit'
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.c:1202: error: 'struct net_device' has no member named 'open'
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.c:1203: error: 'struct net_device' has no member named 'stop'
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.c:1205: error: 'struct net_device' has no member named 'tx_timeout'
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/rndis_host.c: In function 'rndis_bind':
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/rndis_host.c:508: error: 'struct net_device' has no member named 'change_mtu'
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/rndis_host.c: In function 'rndis_tx_fixup':
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/rndis_host.c:662: warning: assignment makes integer from pointer without a cast
make[2]: *** [/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/rndis_host.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.o] Error 1
make[1]: *** [_module_/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo-r3'
make: *** [default] Error 2

I use KDE-4.3.1.

Anybody knows how to get it compiled?
[Windows Mobile Software Development] famewolf:
Have you tried just using the modules provided by the kernel? The newer kernels 2.6.3X are supposed to already include the usb-rndis changes from my understanding. Do you have kernel-source installed as well as kernel headers? Did you get that using the latest svn release? It might be in the middle of being worked on...pull a previous release from the synce website.

If none of those helped you should probably search the synce forums for the same error.
[Windows Mobile Software Development] fbcyborg:
Hi!

I saw something new about it in the kernel actually.

I use the gentoo-sources-2.6.31-r3.

Are you talking about USB Gadget support?

Can you tell me exactly what modules I have to compile, please?

Is this, correct?

<*> USB Gadget Drivers (Ethernet Gadget (with CDC Ethernet support)) --->

Ethernet Gadget (with CDC Ethernet support)

[*] RNDIS support (NEW)
[Windows Mobile Software Development] fbcyborg:
Here's what I get when I connect my Kaiser to the PC:

usb 2-1: new full speed USB device using uhci_hcd and address 5
usb 2-1: configuration #1 chosen from 1 choice
rndis_host 2-1:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
eth1: register 'rndis_host' at usb-0000:00:1d.0-1, RNDIS device, 80:00:60:0f:e8:00

But no eth1 interface is coming up.
[Windows Mobile Software Development] famewolf:
Did you turn on internet sharing on the phone?
[Windows Mobile Software Development] fbcyborg:
Yes, of course. I was also connected to the Internet.

Please, can you give me the exact kernel configuration, related to the modules I need to have it working?
[Windows Mobile Software Development] famewolf:
I'm afraid I can't because it appears gentoo is using kernel patches that are not in opensuse's kernel. The only rndis entries in my config are:

CONFIG_USB_NET_RNDIS_WLAN=m

CONFIG_USB_NET_RNDIS_HOST=m

You might have better luck on the synce forums but it sounds like a gentoo issue to me so you may have to check on their forums as well. There may be a patch out there that has to be applied to the usb-rndis-lite code to make it work with the new kernel source.
[Windows Mobile Software Development] fbcyborg:
Hi,

my configuration is similar to yours:

# CONFIG_USB_NET_RNDIS_WLAN is not set

CONFIG_USB_NET_RNDIS_HOST=y

CONFIG_USB_ETH_RNDIS=y

I don't think WLAN is necessary.

I don't think gentoo patches can be a problem.

Since there's no wiki somewhere into the Internet, I only would like to know if compiling the right kernel modules is enough, to have it working.

As far as I can see, it seems that if I compile that modules, I should be able to see eth1 when the kaiser is connected. So these kernel modules, substitute usb-rndis-lite at all, isn't it?
[Windows Mobile Software Development] famewolf:
If you do a google on "usb-rndis-lite kernel 2.6.31" you'll find multiple results where people indicate it won't compile under the 2.6.31 kernel due to a new kernal api. You'll need to check the synce forums for a patch or rollback your kernel if you want to compile it.
[Windows Mobile Software Development] fbcyborg:
You mean to compile an external package? I.e. usb-rndis-lite package as I've done before the RNDIS support has been included in the linux kernel?
[Windows Mobile Software Development] famewolf:
Yes. As previously stated, you need to take your questions to the synce forum.

If the phone isn't working with the kernel compiled modules then you need to compile usb-rndis-lite. If usb-rndis-lite won't compile under kernel 2.6.31 then you either need to roll back to a kernel earlier then that so you CAN compile it or you need to go to the synce forums to find out what you have to do to compile it on 2.6.31.
[Windows Mobile Software Development] slinkygn:
Looks like the former more than the latter.

I had already filed a bug with SynCE on usb-rndis-lite not making under 2.6.31:

http://sourceforge.net/tracker/?func=detail&aid=2882668&group_id=30550&atid=399601

Author basically says it won't get fixed.
[Windows Mobile Software Development] fbcyborg:
Yes, it's the same problem I reported few posts ago.

For me, the most important thing is that the usb-rndis-driver in the linux kernel are working. At the moment, they aren't.
[Windows Mobile Software Development] gundamned:
if you change the mtu to 1000 it should work

They are working here (2.6.31-5 kernel and HTC Diamond Touch with Win6.1), after you connected with ICS on your phone and the connection, e.g. eth2, is up and running, let see what value of MTU is on eth2, like:

> sudo ifconfig eth2

I do not remember which value is usually set to, but setting it to 1000 make it working here. To change the MTU to 1000 just issue the command:

>sudo ifconfig eth2 mtu 1000

see you!
[Windows Mobile Software Development] fbcyborg:
Yes, Ok, but I said no ethX interfaces are coming up.
[Windows Mobile Software Development] famewolf:
2.6.31-5 is newer then you said you were running...also make sure you have rndis configured in your network (monitor dmesg to see if it's trying to raise an ethX but can't find configuration).

All I can do is make suggestions.
[Windows Mobile Software Development] fbcyborg:
Thanks a lot for your suggestions.

I tried to update the linux kernel up to the 2.6.31-r5, but nothing has changed.

This is what I get:

usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
rndis_host 2-1:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
eth1: register 'rndis_host' at usb-0000:00:1d.0-1, RNDIS device, 80:00:60:0f:e8:00

And no new ethX interface is coming up...

Please, can you post your .config file related to the RNDIS module?

e.g.:

cat .config | grep RNDIS

Thanks!!!
[Windows Mobile Software Development] jasjar@123:
If you are using fedora 10 then there is a wireless Internet tab at the top right and same with fedora 11.Even i use fedora 11 and no settings Required for Internet sharing.Its by default. Just connect through wireless network and connect with enternet..you done...:)
[Windows Mobile Software Development] fbcyborg:
Hi!

I'm not using Fedora. I use Gentoo Linux. Note that it doesn't depend on the distribution you are using, but it depends on the linux kernel instead!!!

Please, can you post the result of the following command?

lsmod

or even better,

determine which linux kernel you are running

uname -r

and do something like that:

cat /boot/config-2.6.XX | grep RNDIS

Of course, change config-2.6.XX with your own kernel configuration file, if you have one.

Thank you.

EDIT: I did it by myself, thanks to the virtualization.

[root@fedora ~]# cat /boot/config-2.6.30.9-96.fc11.x86_64 | grep RNDIS
CONFIG_USB_NET_RNDIS_WLAN=m
CONFIG_USB_NET_RNDIS_HOST=m

So, in my case CONFIG_USB_NET_RNDIS_WLAN is missing. I am going to compile it and try again.

EDIT: no way to get it working. I still get that error message. Looking for missing modules.... :(
[Windows Mobile Software Development] Major A:
Just installed Ubuntu 9.10 on my laptop. I usually used Bluetooth tethering with Blueman on the previous distro I used (OpenSuse 11.1) with quite some success.

I simply tried the Internet Sharing on my KS20 with 6.5.1 rom, and BT sharing is broken since 23071 releases. So I tried USB sharing, and it worked directly without configuring anything. So I can tell that latest Ubuntu with combined Kernel 2.6.31 and NetworkManager 0.7.996 under Gnome give a slick and clean support to USB net sharing. Might worth upgrading if you use a previous version, and a good track to follow on OpenSuse 11.2. I wil try it as soon as it's released in it's final version.
[Windows Mobile Software Development] gundamned:
I get the same when i plug the mobile into the usb port of my laptop and start (on the mobile) the I.S.Connection. The difference is that somehow i have udev creating a new ethX interface:

[ 6566.116090] usb 2-1: new high speed USB device using ehci_hcd and address 50
[ 6566.254515] usb 2-1: New USB device found, idVendor=0bb4, idProduct=0303
[ 6566.254526] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6566.254533] usb 2-1: Product: Generic RNDIS
[ 6566.254538] usb 2-1: Manufacturer: HTC
[ 6566.254543] usb 2-1: SerialNumber: 3fbf5000-7351-0801-3575-680128600570
[ 6566.254728] usb 2-1: configuration #1 chosen from 1 choice
[ 6566.494907] rndis_host 2-1:1.0: dev can't take 1536 byte packets (max 1536), adjusting MTU to 1478
[ 6566.503138] rndis_host 2-1:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[ 6566.522149] eth1: register 'rndis_host' at usb-0000:00:1d.7-1, RNDIS device, 80:00:60:0f:e8:00
[ 6566.536654] udev: renamed network interface eth1 to eth2

Sure, here it is:

>cat /boot/config-2.6.31.5 | grep RNDIS

CONFIG_USB_NET_RNDIS_WLAN=m

CONFIG_USB_NET_RNDIS_HOST=m

CONFIG_USB_ETH_RNDIS=y

Also, not that i am using NetworkManager 0.7.1 and its daemon, which brings up automatically the interface.

Hope this helps,