Tinkering with Asus Tinker Board 2S

Somewhere in the synology settings you have configured the share name. That name is important. If the share name is abcd, then the mount command will be as below. If you give the wrong share name, the mount command will return error

sudo mount -t nfs4 -o proto=tcp,port=2049 192.168.1.100:/volume1/abcd /media/NAS
 
It is


you are missing out /media/NAS
I was in /media/NAS directory when executing it.

Even with it

linaro@linaro-alip:~$ sudo mount -t nfs4 192.168.0.115:/volume1/music /media/NAS
mount: /media/NAS: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
 
I was in /media/NAS directory when executing it.

Even with it

linaro@linaro-alip:~$ sudo mount -t nfs4 192.168.0.115:/volume1/music /media/NAS
mount: /media/NAS: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
Ok. We are reaching somewhere. Your synology doesn't support NFS4. Replace nfs4 with nfs

sudo mount -t nfs 192.168.0.115:/volume1/music /media/NAS

If that doesn't work, we will have to try cifs which is what Mac will use
 
Ok. We are reaching somewhere. Your synology doesn't support NFS4. Replace nfs4 with nfs



If that doesn't work, we will have to try cifs which is what Mac will use
It is also possible that you don't have NFS installed on TB. Did you do this
Somewhere in the synology settings you have configured the share name. That name is important. If the share name is abcd, then the mount command will be as below. If you give the wrong share name, the mount command will return error
I was also thinking without the share name will it work.

Let me try all these, check and revert.
 
@mbhangui @bobbyprajan

Kar diya 🥂🥂🥂

used this website https://www.linuxtechi.com/install-nfs-server-on-debian-10-buster/

Simply tried the first two lines under setting up NFS Server

then the command sudo apt install nfs-common

Only then it worked

Then from here https://www.eliaslundgaard.com/posts/mount-nas-to-pi/


linaro@linaro-alip:~$ sudo apt install nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
nfs-common is already the newest version (1:1.3.4-2.5+deb10u1).
nfs-common set to manually installed.
The following packages were automatically installed and are no longer required:
libaom0 libdrm-freedreno1 libdrm-tegra0 libmysofa0 libva-drm2 libva-x11-2
libva2 libvdpau1 libvidstab1.1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 200 not upgraded.
linaro@linaro-alip:~$ sudo mount -t nfs 192.168.0.115:/volume1/music /media/NAS
linaro@linaro-alip:~$ sudo df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 14770540 3741740 10371744 27% /
devtmpfs 1959156 8 1959148 1% /dev
tmpfs 1968108 251916 1716192 13% /dev/shm
tmpfs 1968108 17388 1950720 1% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1968108 0 1968108 0% /sys/fs/cgroup
/dev/mmcblk1p8 4944 540 4148 12% /boot
tmpfs 393620 8 393612 1% /run/user/1000
tmpfs 393620 0 393620 0% /run/user/0
/dev/mmcblk0p1 123472876 84255036 39217840 69% /media/linaro/Tinker Music
192.168.0.115:/volume1/music 1917971584 1228731264 689121536 65% /media/NAS
linaro@linaro-alip:~$ sudo ls -l /media/NAS
total 4
drwxr-xr-x 125 1026 users 4096 Jan 28 11:47 'NAS MUSIC'
linaro@linaro-alip:~$
 
Badhaai Ho!
Still the next step is left. To get Squeeze controller recognise the LMS on the TB and play music.

The SQ from TB USB is way better than PC USB. Using the same old iFi DAC for now. Else I'd not have troubled the kind FMs and spent two evenings trying to install LMS on it.
 
Still the next step is left. To get Squeeze controller recognise the LMS on the TB and play music.

The SQ from TB USB is way better than PC USB. Using the same old iFi DAC for now. Else I'd not have troubled the kind FMs and spent two evenings trying to install LMS on it.
I commend the effort you are putting in. Most people will just give up - I did on my rPi setup as it was a daily struggle! As always @mbhangui great effort and guidance :) This thread can be pinned in "Guides" section :)

Cheers!
 
I'd post the final scripts.
You need to do the following steps.

1) Put an entry in /etc/fstab so that you don't have to run the mount command manually each time

192.168.0.115:/volume1/music /media/NAS nfs rw,hard,intr,rsize=8192,wsize=8192,timeo=14 0 0

Once you do the above, the NAS drive will get mounted on reboot. You just need to ensure that the NAS drive is up and running when you power on your TB

2) Point your browser to http://TB_IP_ADDR:9000

There are few LMS users here who will be able to guide your better than me as I'm not a hard core LMS user

Whenever you are ready for doing mpd, let me know
 
Join WhatsApp Channel to get HiFiMART.com Offers & Deals delivered to your smartphone!
Back
Top