[Bug 1963] New: udhcpc failed bind IP address to iface (eth0) in rcS but manually execute can

bugzilla at busybox.net bugzilla at busybox.net
Mon Jun 7 06:28:40 UTC 2010


           Summary: udhcpc failed bind IP address to iface (eth0) in rcS
                    but manually execute can
           Product: Busybox
           Version: 1.16.x
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: congtao.jiang at intel.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0

   PXE server:with tftpd-hpa + dhcp3-server
   PXE client: kernel built from ubuntu 10 lts + self made initrd
using busybox 1.61

1.Edit /etc/init.d/rcS to include the below
  ifup -a
  udhcpc -s /usr/share/udhcpc/default.script (copied from busybox source's
2.boot a client using pxe server
3.success boot client
4.type ifconfig, showed no inet address is allocated, except inet6 address

Please help! I cannot move forward for deployment for work.

More foundings:
1.if you type udhcpc can # prompt, still not able to get IP address it only
udhcpc (v1.16.1) started
Sending discover...
Sending select for
Lease of obtained, lease time 1800
2. If you type udhcpc -s /usr/share/udhcpc/default.script, eth0 will succeed at
get and bind IP v4 adress.

3. If you type udhcpc, IPv4 cannot bind to eth0. 

Very confused - What is the difference between run "udhcpc -s
/usr/share/udhcpc/default.script" in rcS and run in interactive shell by hand??



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