Not just for file sharing, but also supports printing and name services. I now make it part of my standard Linux builds within Virtual Box but it is a pain in the arse with Ubuntu, it never seems to work out of the box.

Ubuntu

I installed it today, and getting it to connect to the host is a complete pain in the butt. The apt install works well, installs the missing products and enables the daemons.

My article “Back to Ubuntu” dated Jun 2021 documents two fixes required to half make it work. I said, I had problems with samba, as it seems I still need smb version 1. Oracle VBox forums strongly suggest avoiding SMB1. The smb.conf file requires the following lines,

client min protocol = NT1
name resolve order = bcast host

But these didn’t work in 2023. putty works, cmd sftp works but the windows file browser and filezilla do not.

Some useful links,

and in 2023

Raspbian

And now I need it on my little pi. Check this out!

I can now mount the NAS drive on the PI, but I need to mount it on a partition, check out clonezilla.

I am having problems mounting the Pi’s shares on my real U22 machine using the smb protocol. 6/12/2022, I found these,

  1. https://askubuntu.com/questions/74789/failed-to-retrieve-share-list-from-server-error-when-browsing-a-share-with-nau this mentions smbtree which I installed on the client
  2. https://help.ubuntu.com/stable/ubuntu-help/nautilus-connect.html.en
  3. Install-and-configure-samba, 3. Setting-up-samba talks of ufw, which is not on the pi, but iptables is? so, here’s a page on the samba/iptables runes.
  4. https://forums.raspberrypi.com/viewtopic.php?t=262123, a thread on firewalls on the pi

Using a credentials file

Here’s a link on credentials files,

  1. https://forums.ni.com/t5/NI-Linux-Real-Time-Discussions/Samba-share-using-credentials-file/td-p/3643381

And here’s a LMGTFY on “Linux Samba”


I replaced the original featured image, as it didn’t work for the current theme.

The new image comes from freepik, and was posted by fxquadro

3 Replies

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.