Hi all,
posted yesterday with a similar issue, I'm just trying to figure out how to get the script working.
I am able to do this:
Code
mount -t cifs -o username=USERNAME,password=PASSWORD,rw,vers=1.0 //192.168.1.3/Volume_1 /var/media/mnt/Volume_1
mount -t cifs -o username=USERNAME,password=PASSWORD,rw,vers=1.0 //192.168.1.3/Volume_2 /var/media/mnt/Volume_2
These mount find. They SEEM to survive a reboot, as well.
But I don't want to run into issues so I tried to create the necessary files.
But when I created those files, here's the first code:
Code
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=//192.168.1.3/Volume_1
Where=/storage/Volume_1
Options=username=USERNAME,password=PASSWORD,rw,version=1.0
Type=cifs
[Install]
WantedBy=multi-user.target
Display More
I could not get it to work. Is it because I had previously mounted the share? It seemed to delete the folder I made for Volume_1, unfortunately.
I've been working on this stuff, and trying to get things working on a Pi1 for far too long, and my brain is fried - again. I'm at the home stretch and would love any help.
Thanks.