udhcpc option question

Michael D. Setzer II mikes at kuentos.guam.net
Sat Aug 3 06:13:46 UTC 2013


I have a project that uses busybox for a large number of functions, 
and one is to use udhcpc to get the IP address.

I've just gotten a report from an user that he is having an issue 
with it not getting the ip address during the initial boot process, but 
running it again succeeds? Not sure what is causing the initial 
failure. The original attempt is a script that is called from the rcS 
script, and it has the udhcpc with options -n, -i and -s. Was 
thinking  of  adding a -t 4 option to see if that would have it try 4 
times, but am not sure if -t and -n work together. There may also 
be users that don't have a dhcpd server setup, so can't just have it 
keep trying.

The user is not local, so it is difficult to work remotely on the issue. 
Perhaps someone has a more complete understanding of the 
options for udhcpc than I do. Using busybox 1.21.1.

Thanks.

+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  mailto:msetzerii at gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC at HOME CREDITS
SETI        15606556.303314   |   EINSTEIN    12599587.179852
ROSETTA      8117710.700362   |   ABC         16204202.914930



More information about the busybox mailing list