How do I connect to a Macbook from Fedora 24 - Have tried older guides already

asked 2016-07-31 04:14:42 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Background: I've been a Ubuntu user for ~10 years. Decided to give fedora a spin and installed it on my Lenovo G50. I need to copy files from my Macbook Pro running El capitan

Steps so far: Enabled file sharing on OSX, installed samba etc. on Fedora, set up firewall to allow SMB, Temporariliy made SE linux permissive, This is my samba config


`# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

    workgroup = SAMBA
    security = user

;   passdb backend = tdbsam

;   printing = cups
    printcap name = cups
;   load printers = yes
    cups options = raw

    comment = Home Directories
    valid users = %S, %D%w%S
    browseable = No
    read only = No
    inherit acls = Yes

    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = No

    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = root
    create mask = 0664
    directory mask = 0775

    path = /home/j****/Shared
;   read only = yes
;   browseable = yes
    guest ok = yes`

I can see the shared folder from Nautilus, but when I click on it, it just says "opening computername .local " but never actually connects.

The smbd and nmbd logs in /var/log/samba are empty

I need to connect only from the Fedora system to the Mac system, so that I can copy files from it - I dont mind not being able to connect from the Mac, although Ideally I should be able to set up a way I can copy files both ways.

I've also tried installing SMB4K gui tool and SMB browser, the former doesn't show the Mac, the latter refuses to load.

Do let me know what other info I need to provide

edit retag flag offensive close merge delete


Why don't you setup ssh so you can connect to the Mac OS using ssh and the use sftp to connect and copy the files, I did it that way by using the same OS on Mac and Fedora 23 still works on 24

aeperezt gravatar imageaeperezt ( 2016-07-31 13:26:09 -0600 )edit

I'm confused. The subject suggests you want to use the computer running macOS as the "server" and Fedora 24 computer as the "client". You don't need to install Samba, or configure anything, to do this. El Capitan already speaks SMB via File Sharing. And Fedora Workstation's Nautilus should just see and connect to it, because it already supports SMB. But then you go on to say you installed Samba, configured it, and set up a firewall as if you plan to use the Mac as a client to Fedora 24 as server. Which is it? You could try to use smbclient CLI utility to get more information on the failure.

cmurf gravatar imagecmurf ( 2016-08-02 18:19:33 -0600 )edit