How to set up static IP in 12.04 and avoid these start-up delays?

Chris Green cl at isbd.net
Thu Oct 4 12:59:24 UTC 2012


On Thu, Oct 04, 2012 at 08:08:43AM -0400, Tom H wrote:
> > To debug the situation you could create /etc/network/if-up.d/0000debug with
> >
> >   exec >> /var/log/ifup-d.log 2>&1
> >   echo "Running if-up.d scripts for $IFACE"
> >   set -x
> >
> > and then look at that log file when the server boots.
> 
> I'd put that snippet (more or less) into every script in
> "/etc/network/if-up.d/" because I don't think that 0000debug'll act on
> the other scripts - and it should be "chmod -x"'d.
> 
You're quite right, the 0000debug didn't do any good so I have added the
above (with the name of the script changed) to each script in if-up.d.

... listen to this space!  :-)

-- 
Chris Green




More information about the ubuntu-users mailing list