David Meggy wrote:
Hmm, why isn't it xmitting?

Regardless of any Windows problems, I put a printk at the top of
ether.c: eth_start_xmit, which never gets called.  And I see at line
2427: net->hard_start_xmit = eth_start_xmit;
So this should really be getting called.

Here is a little snippet of my networking

What does /proc/rndis/0 (or whatever) have to say? At a guess, I'd say that it'll NOT be in the RNDIS_DATA_INITIALIZED state, it'll be in RNDIS_INITIALIZED instead.

Compare to my (cdc-ether) interface below:

[EMAIL PROTECTED] root]# ifconfig usb0
usb0      Link encap:Ethernet  HWaddr 32:A7:82:C6:50:7C
          inet addr:192.1.1.2  Bcast:192.1.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[EMAIL PROTECTED] root]#

That will normally mean that the other end hasn't activated the
link yet.  Is your Windows host sending lots of IN packets that
are being NAKed?  If so, the two sides disagree on the result
of setting the current packet filter.  Maybe the driver needs
to save those bits and return them?  Is the RNDIS code actually
reaching the netif_carrier_on() call?

- Dave


~ # ifconfig usb0
usb0 Link encap:Ethernet HWaddr 42:7F:7F:49:00:53 inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)






-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to