LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   rndis_host driver issue (https://www.linuxquestions.org/questions/linux-networking-3/rndis_host-driver-issue-737302/)

ouain 07-02-2009 04:30 PM

rndis_host driver issue
 
Hi,

I'm trying to connect a htc tytn II to my linux with the usb cable. My understanding is I need the usb rndis host driver for that. So I compiled it and inserted the module.

Code:

# lsmod
Module                  Size  Used by
rndis_host              8704  0
cdc_ether              6400  1 rndis_host
usbnet                18824  2 rndis_host,cdc_ether
mii                    6400  1 usbnet
rfcomm                41376  0
l2cap                  24320  5 rfcomm
sbp2                  24972  0
btusb                  13976  2
iwlagn                85508  0

Then, I activate internet connection sharing on the phone (which is my ultimate goal), and I plug the usb cable between the linux and the phone.

I get those logs:

Code:

Jul  2 13:01:08 foo kernel: [  343.156125] usb 6-2: new full speed USB device using uhci_hcd and address 6
Jul  2 13:01:08 foo kernel: [  343.328074] usb 6-2: configuration #1 chosen from 1 choice
Jul  2 13:01:08 foo kernel: [  343.419164] rndis_host 6-2:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
Jul  2 13:01:08 foo kernel: [  343.427025] eth1: register 'rndis_host' at usb-0000:00:1d.0-2, RNDIS device, 80:00:60:0f:e8:00
Jul  2 13:01:08 foo kernel: [  343.427575] usb 6-2: New USB device found, idVendor=0bb4, idProduct=0303
Jul  2 13:01:08 foo kernel: [  343.427664] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul  2 13:01:08 foo kernel: [  343.427753] usb 6-2: Product: Generic RNDIS
Jul  2 13:01:08 foo kernel: [  343.427836] usb 6-2: Manufacturer: HTC
Jul  2 13:01:08 foo kernel: [  343.427920] usb 6-2: SerialNumber: 3fbf5000-7351-0801-3557-570113831100

After that, I have an eth1 interface I didn't have before, but when I run dhclient on it, it complains that network is down. It looks like it is impossible to use this interface. I suppose the problem is related to this RNDIS_MSG_QUERY failed line.


All times are GMT -5. The time now is 11:42 AM.