[Voyage-linux] Solution found for Automount problem in HiFiBerry

chris hermansen (spam-protected)
Thu Dec 10 22:34:50 HKT 2015


Cor and list,

On Thu, Dec 10, 2015 at 8:03 AM, Cor van Zundert <g.vanzundert at chello.nl>
wrote:

> Dear all,
>
> Problem:
> Booting up a HiFiBerry is going so fast, that the automount is already
> executed BEFORE the network connection is available..
>
> This requires you to manually execute a mount -a command to contact the NAS
> Share.
>
> Solution:
>
> Add the following lines to /etc.rc.local by the following command
>
> sudo nano /etc/rc.local
> while ! ping -c1 www.google.com>/dev/null; do echo "Ping Fail - `date`";
> done ; echo "Host Found  - `date`"
> sudo mount -a
>
>
>
I can't say precisely why but I don't like the idea of doing a bunch of
pings.  Here are some other ideas:

http://unix.stackexchange.com/questions/121523/check-if-interface-eth0-is-up-configured


-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20151210/4d492a97/attachment.html>


More information about the Voyage-linux mailing list