udhcpc in 1.10.3 doesn't like my WLAN card
SAMUEL Dinesh
d.samuel at courantmultimedia.fr
Wed Jun 18 07:56:21 UTC 2008
Hello,
Here are some informations about my test on dhcpc.
Here is my configuration :
* Busybox : 1.10.3
* Kernel : linux-2.6.19.2
* Target: PowerPC
* Hardware :mpc405ep
Here is the dump on the DHCP server without any modifications :
09:37:25.015286 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 50:00:00:00:26:01 (oui Unknown), length 548
09:37:26.019857 IP 192.168.8.254.bootps > 192.168.8.39.bootpc: BOOTP/DHCP,
Reply, length 300
09:37:28.029020 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 50:00:00:00:26:01 (oui Unknown), length 548
09:37:28.032545 IP 192.168.8.254.bootps > 192.168.8.39.bootpc: BOOTP/DHCP,
Reply, length 300
Here is the dump on the DHCP server by changing without any modifications :
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);
}
09:36:12.339382 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 50:00:00:00:26:01 (oui Unknown), length 548
09:36:12.351751 IP 192.168.8.254.bootps > 192.168.8.39.bootpc: BOOTP/DHCP,
Reply, length 300
09:36:12.362863 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 50:00:00:00:26:01 (oui Unknown), length 548
09:36:12.367958 IP 192.168.8.254.bootps > 192.168.8.39.bootpc: BOOTP/DHCP,
Reply, length 300
Hope this will help you.
-----Message d'origine-----
De : busybox-bounces at busybox.net [mailto:busybox-bounces at busybox.net] De la
part de Denys Vlasenko
Envoyé : mardi 17 juin 2008 16:22
À : Alexander Griesser
Cc : busybox at busybox.net
Objet : Re: udhcpc in 1.10.3 doesn't like my WLAN card
On Tuesday 17 June 2008 15:41, Alexander Griesser wrote:
> Denys Vlasenko wrote:
> |> I've attached this strace output.
> |
> | Hmmm. Does it help if you delete this code block?
>
> Can't test this at the moment, because I switched to the opensource
> ralink driver which works a treat. But when I get this machine back for
Hmm. It works with one driver but doesn't with another?
Are you sure?
--
vda
_______________________________________________
busybox mailing list
busybox at busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
More information about the busybox
mailing list