─────────────────────────────────────────────────────
DietPi v6.34.3 : 01:02 - Fri 12/25/20
─────────────────────────────────────────────────────
- Device model : RPi 4 Model B (armv7l)
- Uptime : up 51 minutes
- CPU temp : 37'C : 98'F (Cool runnings)
- LAN IP : 192.168.0.11 (eth0)
- Info Text : !!! PRODUCTION SYSTEM !!!
─────────────────────────────────────────────────────
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
If from SSH session, I do this cmd, it works right away! What am I doing wrong?
mount -t cifs -o username="Htpc",password="" //192.168.1.109/Media/Downloads /mnt/samba/aria2ng/downloads
Usually the folder will be mounted the moment you try to access it. It's not mounted right on system start. That's what the x-systemd.automount flag will do. As well you can have a look to journalctl to check if a mount was done. You should see something like this if the mount is working
Dec 29 17:16:57 DietPi3 kernel: FS-Cache: Netfs 'cifs' registered for caching
Dec 29 17:16:57 DietPi3 kernel: Key type cifs.spnego registered
Dec 29 17:16:57 DietPi3 kernel: Key type cifs.idmap registered
Dec 29 17:16:57 DietPi3 kernel: CIFS: Attempting to mount //192.168.0.10/Share
Dec 29 17:16:57 DietPi3 kernel: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.
g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
[ 1863.974658] FS-Cache: Netfs 'cifs' registered for caching
[ 1863.987479] Key type cifs.spnego registered
[ 1863.987494] Key type cifs.idmap registered
[ 1863.988280] CIFS: Attempting to mount //192.168.0.10/Share
[ 1863.988314] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
When I access the folder from SSH with cd /mnt/samba/aria2ng/downloads it's empty!
When I go in my Windows 10 partition, files are there!?! I don't understand that part!
I had a look at the log of journalctl
Don't find anywhere cifs or Attempting to mount //192.168
dmesg gives me no cifs or Attempting to mount //192.168