Hello! I just tried to set up a dhcp server for testing purposes using the the Netgear EA101 with the kaweth driver from 2.4.20. I got these errors:
debian:~# dhclient Internet Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html Listening on LPF/eth0/00:02:b3:05:60:b0 Sending on LPF/eth0/00:02:b3:05:60:b0 Listening on LPF/lo/<null> Sending on LPF/lo/<null> Sending on Socket/fallback/fallback-net DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 6 ip length 328 disagrees with bytes received 74. DHCPREQUEST on eth0 to 255.255.255.255 port 67 ip length 328 disagrees with bytes received 74. DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 9 ip length 328 disagrees with bytes received 74. DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 ip length 328 disagrees with bytes received 74. ip length 328 disagrees with bytes received 74. 5 udp packets in 5 too long - dropped DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 ip length 328 disagrees with bytes received 74. ip length 328 disagrees with bytes received 74. DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 21 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 ip length 328 disagrees with bytes received 74. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 ip length 328 disagrees with bytes received 74. DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 6 No DHCPOFFERS received. No working leases in persistent database. The following patch fixes it: --- drivers/usb/kaweth.c.orig Mon Feb 3 18:49:31 2003 +++ drivers/usb/kaweth.c Thu Feb 6 19:16:50 2003 @@ -700,7 +701,7 @@ static int kaweth_start_xmit(struct sk_buff *skb, struct net_device *net) { struct kaweth_device *kaweth = net->priv; - char *private_header; + u16 *private_header; int res; @@ -732,7 +733,7 @@ } private_header = __skb_push(skb, 2); - *private_header = cpu_to_le16(skb->len); + *private_header = cpu_to_le16(skb->len-2); kaweth->tx_skb = skb; FILL_BULK_URB(kaweth->tx_urb, Greetings, Oliver
msg11348/pgp00000.pgp
Description: PGP signature
