Glam Prestige Journal

Bright entertainment trends with youth appeal.

I am trying to mount samba share on my Pi running Dietpi. Dietpi includes the tool dietpi-drive_manager. So I ran the cli-wizard to add the file share but it always fails with mount errors 95 and 13.

Error message: Error message

Here is the output of the commands run by drive_manager:

root@DietPi:~# dietpi-drive_manager
[ INFO ] DietPi-Drive_Manager | Detecting drives, please wait...
[ INFO ] DietPi-Drive_Manager | - Detected mounted physical drive: /dev/mmcblk0p2 > /
[ INFO ] DietPi-Drive_Manager | - Detected mounted physical drive: /dev/mmcblk0p1 > /boot
[ OK ] DietPi-Drive_Manager | mv .fstab /etc/fstab
[ OK ] DietPi-Drive_Manager | systemctl daemon-reload
[ OK ] DietPi-Drive_Manager | sync
[ INFO ] DietPi-Drive_Manager | Checking for required APT packages: smbclient cifs-utils
[ OK ] DietPi-Drive_Manager | All required APT packages are already installed.
[ OK ] DietPi-Drive_Manager | mkdir -p /mnt/samba
[ INFO ] DietPi-Drive_Manager | Attempting to mount with CIFS version: 3.1.1
[ INFO ] DietPi-Drive_Manager | Attempting to mount with CIFS version: 3.0
[ INFO ] DietPi-Drive_Manager | Attempting to mount with CIFS version: 2.1
[ INFO ] DietPi-Drive_Manager | Attempting to mount with CIFS version: 2.0
[ INFO ] DietPi-Drive_Manager | Attempting to mount with CIFS version: 1.0

Here is a bunch of the commands I tried. A lot of errors too.

Here is a page from apple talking about SMB.

Here is the dmesg output.

These are some of the more interesting messages:

[12945.107771] CIFS: VFS: \\192.168.1.158 Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
[ 7823.928905] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.

Does this make any sense? I feel that this should not be so difficult. I am a beginner when it comes to linux terminal/shell.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy