[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
https://bugs.busybox.net/show_bug.cgi?id=1963
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
Environment:
PXE server:with tftpd-hpa + dhcp3-server
PXE client: kernel 2.6.32.11 built from ubuntu 10 lts + self made initrd
using busybox 1.61
Symptom:
1.Edit /etc/init.d/rcS to include the below
ifup -a
udhcpc -s /usr/share/udhcpc/default.script (copied from busybox source's
example/dhcpc/simple.script)
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
shows
#udhcpc
udhcpc (v1.16.1) started
Sending discover...
Sending select for 192.168.40.136
Lease of 192.168.40.136 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??
Help!
Help!
Thank,
Nick
--
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