udhcpc in 1.10.3 doesnt like my WLAN card

SAMUEL Dinesh d.samuel at courantmultimedia.fr
Fri Jun 20 15:17:10 UTC 2008


Hello,

Yep this patch is working.

Thanks.
Bye

-----Message d'origine-----
De : Denys Vlasenko [mailto:vda.linux at googlemail.com] 
Envoyé : vendredi 20 juin 2008 16:50
À : SAMUEL Dinesh
Cc : busybox at busybox.net; 'Cristian Ionescu-Idbohrn'; 'Alexander Griesser
(LKH Villach)'
Objet : Re: udhcpc in 1.10.3 doesnt like my WLAN card

On Friday 20 June 2008 09:18, SAMUEL Dinesh wrote:
> 
> Hello,
> 
> Hope you remember that the problem I have is not on a Wireless Card. 
> The kernel and all the tools that I am using are not fancy tools.
> 
> The problem must come from 'BPF filter' because when I comment this line
the
> DHCPC works correctly:
> 
> Clientsocket.c
> if (SERVER_PORT == 67 && CLIENT_PORT == 68)
> 	{
>                 /* Use only if standard ports are in use */
>                 /* Ignoring error (kernel may lack support for this) */
>                 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER,
> &filter_prog,
>                         sizeof(filter_prog)) >= 0)
>                         DEBUG("attached filter to raw socket fd %d", fd);
> 	}

Does this help?

http://busybox.net/downloads/fixes-1.10.3/busybox-1.10.3-udhcpc.patch

--
vda





More information about the busybox mailing list