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:
As you can see I have included a commented sample configuration. The lines of our interest are:
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 192.168.1.150, 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:
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:
For NFS you need to also do the following steps:
– 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.
USB DISK SHARING IN LOCAL NETWORK
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:
If you want to disable it, you can run the same commands with disable/stop.