udhcpc in 1.10.3 doesnt like my WLAN card

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 20 12:20:54 UTC 2008


On Thursday 19 June 2008 22:25, Roy Marples wrote:
> On Thursday 19 June 2008 19:58:19 Denys Vlasenko wrote:
> > On Thursday 19 June 2008 14:43, Cristian Ionescu-Idbohrn wrote:
> > > The problem seems to be that your wlan-card does not see/catch the
> > > dhcp-offer.
> >
> > Cristian, this is not true. In tcpdump I see
> >
> > This is the packet "from us":
> >
> > and this is the reply:
> >
> > The fact that it is seen by tcpdump means that WLAN card (or whatever other
> > link is used) _did_ receive the packet.
> >
> > > Maybe that BPF filter should be made into an option.
> 
> Or should be made to work with buggy Linux versions.
> Some kernels don't allow a packet length of -1 to pass the full packet. 
> Instead use a large enough number for the packet, but small enough for BPF to 
> work. I used 65535.
> 
> http://bugs.gentoo.org/show_bug.cgi?id=215174

Thanks! I just committed a fix which uses length 0x0fffffff.
--
vda



More information about the busybox mailing list