Tirsdag 15 april 2008 11:29, skrev Regis Gras:
> Juan Jose Pablos wrote:
> > Well, that is already in place on the master file:
> >     # Try this interface once, and retry for 10 seconds.  Works around
> >     # problems we have had with drivers taking a while to initialize.
>
> In  ..../etc/master, we have:
>
>
>     # Try this interface once, and retry for 10 seconds.  Works around
>     # problems we have had with drivers taking a while to initialize.
>     echo "*** Trying DHCP on $iface..."
>     start=$SECONDS
>     while : ; do
>         if udhcpc --interface=$iface \
>             --now --script=/etc/udhcpc-script ; then
>             echo "*** DHCP on $iface worked!"
> ...........................................................................
>.......... echo "*** Retrying DHCP on $iface..."
>         sleep 1
>     done
>
>
> But, on the computer, I see:
> Trying DHCP on eth0                      OK
> udhcpc (v1.9.2) started
> Sending Discover
>
> It seems that it never come back from udhcpc-script

hm, can you can try to add the 
"-t,--retries=N          Send up to N request packets"
parameter and play around to see if that makes udhcpc return..

maybe start with  "--retries=5" ..

see:
http://www.busybox.net/downloads/BusyBox.html


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to