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

bugzilla at busybox.net bugzilla at busybox.net
Sun Dec 29 19:11:54 UTC 2013


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

           Summary: udhcpc >= v1.19 (mipsel) does not respond to DHCP
                    packet from server
           Product: Busybox
           Version: 1.21.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: ma.ya.sav at googlemail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.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.

-- 
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