OrangePi 3 LTS - MacOS Samba Share problem

Hello guys, ı have a OrangePi 3 LTS device and latest DietPi 8.12.1
Everything is adjusted by me, but i have a small problem on Samba share
I installed samba via software center

This is my smb.conf settings

cat /etc/samba/smb.conf 
[global]

        workgroup = WORKGROUP
        server string = %h server
        dns proxy = no
        log file = /var/log/samba/log.%m
        max log size = 1000
        syslog only = no
        syslog = 0

        panic action = /usr/share/samba/panic-action %d

        security = user
        encrypt passwords = true
        passdb backend = tdbsam
        obey pam restrictions = yes
        unix password sync = yes

        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        pam password change = yes
        map to guest = bad user

        load printers = no
        printcap name = /dev/null
        disable spoolss = yes

        max xmit = 65535
        socket options = TCP_NODELAY IPTOS_LOWDELAY
        read raw = yes
        write raw = yes
        max connections = 65535
        max open files = 65535

        min protocol = SMB2_10                                                                                 
        max protocol = SMB3_11                                                                                 
        client min protocol = SMB2_10
        client max protocol = SMB3_11


[DietPi User Data]
        comment = DietPi Share
        path = /mnt/dietpi_userdata
        browseable = yes
        create mask = 0664
        directory mask = 0775
        valid users = dietpi root
        force user = root
        writeable = yes

[DietPi Root]
        comment = DietPi Root Folder Share
        path = /
        browseable = yes
        create mask = 0775
        directory mask = 0775
        valid users = dietpi root
        force user = root        
        writeable = yes
[Web Dosyaları]
        comment = DietPi HTTP Web Share
        path = /var/www
        browseable = yes
        create mask = 0775
        directory mask = 0775
        valid users = dietpi root
        force user = root
        writeable = yes
[32 GB SD]
        comment = 32 GB SD
        path = /mnt/32_GB_SD
        browseable = yes
        create mask = 0775
        directory mask = 0775
        valid users = dietpi root
        force user = root  
        writeable = yes
[4 TB HDD]
        comment = 4 TB HDD
        path = /mnt/4_TB_HDD
        browseable = yes
        create mask = 0775
        directory mask = 0775
        valid users = dietpi root
        force user = root  
        writeable = yes

I have a 32 gb SD card on orange pi 3 lts and 4 TB HDD attached via usb 3.0

ı’m using 2 MacOS device both of them are not connected red one’s

when i click on the red ones it gives a pop up like this

In comment please look the second message

I am connected via smb://IP with root user
Windows and android phone is connected via native file manager with red one’s

---- Additional info: when i connect to my router via ethernet I can get 80-90 mb/s (usb 3.0 hdd speed limit) speed over samba file transfer, but when I connect with wifi (1300mbps or sometimes 866mbps on at near router) I see maximum transfer rates of 10-13 mb

Why is this caused?

Translated version of text: There was a problem connecting to the server named “ORANGEPi-3-LTS-DiETPi”.
Check the server name or IP address and try again later. If you continue to have problems, consult your system administrator.

Probably poor wifi connection. Or does the wifi share the same bus with the USB ports?

Actually it is not necessary (OrangePi is also connected 1GBPS port on my router via eth. cable)

My big problem is, i can’t access / (root filesystem) by using smb on macos

are you able to access at least one of the SAMBA shares? Or is it impacting all shares?

4 TB HDD and 32 GB SD (green box) is accessible, red box are not accessible from MacOS (also accessible from windows and android native file manager via smb)

Just a stupid question and unrelated to your issue. Why are you creating so many shares? I mean, you try to export/share the root directory /, which would give access to all the other folder you like to share :slight_smile:

Unfortunately, I don’t have a macOS system where I could test on. I just have an old iPhone SE. Maybe I will reactivate it for testing.

I’m just doing it to reduce a few clicks (also in the future I will give specific permissions to some folders (like root) for some users.) :smiley: because I will mount different folders on different devices

If there was a problem with samba sharing, it would not connect from windows and android devices.
I think there is a problem with macOS smb sharing, but when I try it from 2 different computers, I see that it still does not work.

Same problem is still going, please someone can help me ??

Did you created your own Dietpi for the Orange Pi 3 LTS?

Yes, i created.

1 Like

Great, congrats!

BTW, perhaps you should consider share the image since there are no other images for Orange Pi on the website other than the Orange Pi 5

Oh I misunderstood, I did a little research, there used to be a script for dietpi installation on debian, now it doesn’t appear.

No no…you created a stock image from debian on OPi3

You then take the card, read it with something like winimager so others may just download it and load it straight on a card, however people learn alot by building their stock image

Make sure you back up the card asap…this way you don’t have to do a full rebuild from scratch if something happens

1 Like

still there :wink: Supported hardware - DietPi.com Docs

1 Like