You are not logged in.
This is a really newb question, but I'd like to make the disks (both internal and external) on my arch desktop accessible to another computer in my home (happens to be a mac). Should I be using samba or NFS? Can I share the root directory, or would that be dumb? I've been trying using samba, and although I can see the arch desktop in the mac in finder, I haven't been able to connect to it either as guest, or by giving my credentials. Thanks for your help!
Offline
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I opted to samba over WiFi is also easy to use with smartphones and smartTV. Including printing. One more point should go for DLNA.
do it good first, it will be faster than do it twice the saint
Offline
I use scp / sftp quite a bit between my linux systems for the ease of setup and use.
Samba makes playing nice with Windows and Android a bit easier though.
If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr
Offline
So I think I want to use samba. I like the fact that the server is auto-discovered - it pops up on the mac as soon as I start smbd (NFS can do this as well, I believe). I'm also interested in the Android possibility - if someone could tell me more about that I'd appreciate it.
The problem I'm having is that I can't connect to it. To test it out, I created a share in /etc/samba/smb.conf like this:
[pictures]
path = /home/sam/Pictures
public = yes
guest ok = yes
writable = yes
printable = no
force user = sam
But the mac just says "connection failed". Can anyone help with this?
Offline
Did you thoroughly follow the wiki ? Is there a Apple samba wiki ?
Off the record: did you consider something like -> https://wiki.archlinux.org/index.php/Syncthing
Offline
No, I don't think I want to sync files, just be able to access them, but thanks for the suggestion.
Offline
Follow the wiki for samba to the letter, and hunt down a comprehensive Mac samba wiki (I can't help, never used a mac, and no intention to). It is, however, one of the easiest file sharing systems I've used, and is platform agnostic these days.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
I've been very happy with ssh+rsync, sftp, and btrfs send/receive. Which I use depends on the job.
Offline