NAS Configuration

Archphile has support for samba/cifs/nfs by default. However there is no automated tool to configure your nas through the web interface. The only thing you have to do is edit /etc/fstab:

nano /etc/fstab

As you can see I have included a commented sample configuration. The lines of our interest are:

#SAMBA Share – Public Share
#// /mnt/nas-samba cifs guest,ro,iocharset=utf8,nolock,noauto,x-systemd.automount,x-systemd.device-timeout=10,sec=ntlm,rsize=8048,wsize=8096

#SAMBA Share – Share using username/paswword
#// /mnt/nas-samba cifs username=msusername,password=mspassword,ro,iocharset=utf8,nolock,noauto,x-systemd.automount,x-systemd.device-timeout=10,sec=ntlm,rsize=8048,wsize=8096

#NFS Share /mnt/nas-nfs nfs4 ro,noauto,x-systemd.automount,x-systemd.device-timeout=10,rsize=8048,wsize=8096

These are just some generic examples in order to start building your own configuration.


Let’s see an example!

I use my linux desktop with a samba share as a NAS. The ip of my computer is, the folder I am sharing is on this NAS is music and the name of my share is Multimedia. This share is public, so there is no need for username and password. The only thing I needed to do was to modify the first example from above and uncomment it to be:

#SAMBA Share – Public Share
// /mnt/nas-samba cifs guest,ro,iocharset=utf8,nolock,noauto,x-systemd.automount,x-systemd.device-timeout=10,sec=ntlm,rsize=8048,wsize=8096


If the share was not public, I would have used the second example, adding my username and password


If i chose nfs as a server for my NAS, the configuration would be:

#NFS Share /mnt/nas-nfs nfs4 ro,noauto,x-systemd.automount,x-systemd.device-timeout=10,rsize=8048,wsize=8096

For NFS you need to also do the following steps:

systemctl enable rpcbind
systemctl enable
systemctl enable

and reboot.


– The examples above are just an effort to give you an idea of how your NAS should be configured. However with different NAS machines, configuration may vary. If you are experiencig issues with sound drops etc, a good start is to play with rsize and wsize values or remove them completely from your configuration line.

– The values of rsize and wsize may need to be changed in your own setup. The values above however should word for the majority of you.



An additional feature of 0.99.4b is that you can now share the usb disk mounted on your Archphile board and use it from your local network to add and remove music. You can also use it as a NAS for other devices. The only thing that you have to do is plug a USB disk and run the following command:

systemctl enable nmbd smbd
systemctl start nmbd smbd

If you want to disable it, you can run the same commands with disable/stop.