Mounting CIFS-NAS via WLAN kills system

  • hi,

    I've set up Libreelec 8.2.4 (Kernel 4.9.59) on a Raspi 3 B+ and running into problems mounting a NAS via WLAN.

    The directory on the NAS gets monted by system.d with this script:

    -----------------------------------------------------------------------------------------

    -----------------------------------------------------------------------------------------

    When I start the system, it immediately crashes. When I rename the mount script, system starts as expected and works. I think there must be a timing issue. Are there any options I can set in the script, for example to wait until WLAN is up?

    When I connect via SSH to the system, I can mount manually the NAS directory without any problems.

    TIA

    KIbu

    Edited 2 times, last by CvH: code tag (April 13, 2018 at 9:13 AM).

  • hi,

    I've set up Libreelec 8.2.4 (Kernel 4.9.59) on a Raspi 3 B+ and running into problems mounting a NAS via WLAN.

    The directory on the NAS gets monted by system.d with this script:

    ...

    After reading this posting here, I tried

    ExecStartPre=/bin/sleep 5

    in the MOUNT section and the first test works fine. Maybe I have to increase the value to handle NAS startup time when it's in stand by mode.

    Kibu