[Bug 6746] udhcpc >= v1.19 (mipsel) does not respond to DHCP packet from server

bugzilla at busybox.net bugzilla at busybox.net
Mon Jan 13 12:50:24 UTC 2014


https://bugs.busybox.net/show_bug.cgi?id=6746

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> 2014-01-13 12:50:24 UTC ---
(In reply to comment #0)
> I am running Busybox on a FRITZ!Box 7570 router (mipsel).
> 
> I am experiencing difficulties with udhcpc v1.21.1, as it keeps failing to
> recognize DHCPOFFER replies from the server. 
> 
> I have tested with multiple servers. In server logs, it can be seen that
> DHCPDISCOVER is received, and corresponding DHCPOFFER is sent, however, udhcpc
> fails react accordingly:
> 
>    root at 7570_red:/var/media/ftp/uStor01# udhcpc -i wan -v
>    Adapter index 4
>    MAC 00:11:22:33:44:55
>    udhcpc (v1.21.1) started
>    Executing /usr/share/udhcpc/default.script deconfig
>    Entering listen mode: raw
>    Opening raw socket on ifindex 4
>    Got raw socket fd
>    Attached filter to raw socket fd
>    Created raw socket
>    Adapter index 4
>    MAC 00:11:22:33:44:55
>    Sending discover...
>    Waiting on select 3 seconds
>    Adapter index 4
>    MAC 00:11:22:33:44:55
>    Sending discover...
>    Waiting on select 3 seconds
>    (etc)
> 
> Then I tested older busybox builds, available for download as precompiled
> binaries. It seems that the last working version of udhcpc was in 1.18.4, i.e.
> version 1.19.0 fails as well. This is the output I get from version 1.18.4:
> 
>    root at 7570_red:/var/media/ftp/uStor01# ./busybox-mipsel1.18.4 udhcpc -i wan
> -v
>    Adapter index 4
>    MAC 00:11:22:33:44:55
>    udhcpc (v1.18.4) started
>    Executing /usr/share/udhcpc/default.script deconfig
>    Entering listen mode: raw
>    Opening raw socket on ifindex 4
>    Got raw socket fd 5
>    Attached filter to raw socket fd 5
>    Created raw socket
>    Adapter index 4
>    MAC 00:11:22:33:44:55
>    Sending discover...
>    Waiting on select...
>    Got valid DHCP packet
>    Adapter index 4
>    MAC 00:11:22:33:44:55
>    Sending select for 192.166.4.115...
>    Waiting on select...
>    Got valid DHCP packet
>    Lease of 192.166.4.115 obtained, lease time 86400
>    Executing /usr/share/udhcpc/default.script bound
>    Entering listen mode: none
> 
> Unless there was a change between versions 1.18.4 and 1.19.0 that implies
> different parameters to achieve the same basic behavior, it appears to be a
> bug.

I need more data. Between which versions exactly behavior has changed?
Can you show packet dump of last working and first non-working version?
(tcpdump -s0 -xX will do).

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list