<div dir="ltr">Cor and list,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 10, 2015 at 8:03 AM, Cor van Zundert <span dir="ltr"><<a href="mailto:g.vanzundert@chello.nl" target="_blank">g.vanzundert@chello.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear all,<br>
<br>
Problem:<br>
Booting up a HiFiBerry is going so fast, that the automount is already<br>
executed BEFORE the network connection is available..<br>
<br>
This requires you to manually execute a mount -a command to contact the NAS<br>
Share.<br>
<br>
Solution:<br>
<br>
Add the following lines to /etc.rc.local by the following command<br>
<br>
sudo nano /etc/rc.local<br>
while ! ping -c1 <a href="http://www.google.com" rel="noreferrer" target="_blank">www.google.com</a>>/dev/null; do echo "Ping Fail - `date`";<br>
done ; echo "Host Found  - `date`"<br>
sudo mount -a<br>
<br>
<br></blockquote><div><br></div><div>I can't say precisely why but I don't like the idea of doing a bunch of pings.  Here are some other ideas:<br><br><a href="http://unix.stackexchange.com/questions/121523/check-if-interface-eth0-is-up-configured">http://unix.stackexchange.com/questions/121523/check-if-interface-eth0-is-up-configured</a> <br></div></div><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div>
</div></div>