sudo service nfs restart
/etc/init.d/nfs-kernel-server restart
Connecting from client (MacOS)
mkdir /Users/username/nfs_shared
sudo mount -v-o"resvport" 192.168.1.9:/media/storage /Users/username/nfs_shared
Samba server
Install server
sudo apt-get install samba samba-common-bin
Create samba password for system user
sudo smbpasswd -a pi
Create directory you wanna share
mkdir /media/storage
Edit file /etc/samba/smb.conf with below content
[PI]
comment = Pi workspace
path = /media/storage
create mask = 0775
directory mask = 0775
read only = no
browseable =yes
public = no
force user = pi
only guest = no
Restart service
sudo service samba restart
Connecting from client (MacOS)
mkdir /Users/username/smb_shared
mount -t smbfs //pi@192.168.1.9/pi /Users/username/smb_shared
Top comments (0)
Subscribe
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)