Mount NAS on different IP subnet

Hi,

I have installed Volumio 2 and tried to connect my NAS (Buffalo LS441DE) but couldn’t succeed.

My NAS IP address: 192.168.1.3
My NAS path:

My PI with Volumio: 192.168.0.20

I used SSH command line

mount -t cifs /mnt/myNAS //192.168.1.3/share/Music -o username=uid,password=pwd,ro,noatime,sec=ntlmv2 --verbose

but the result was

On my MACBOOK, I can connect to my NAS without any issues.

Can Volumio allow to mount NAS in different IP subnet?

Any helps for me? Thanks

Could you describe your network topology a little bit?

For the volumio device

  • does it have a good default route in place? (ssh in and run “ip route”, and paste the output here)
  • can you ping the NAS from the volumio device?

My network topology:
Internet
|
|
Modem--------NAS (192.168.1.3)
|
|
WIFI router----------volumio (192.168.0.19)
This means:

  • Internet modem IP: 192.168.1.1
  • NAS connects directly to this device, IP: 192.168.1.3
  • WIFI router IP: 192.168.0.1
  • WIFI router connects to the modem via its WAN port
  • WIFI router provide DHCP to volumio, IP: 192.168.0.19

I can ping to the NAS

and here is the ‘ip route’ command

By the way, my NAS is Buffalo LinkStation LS421DE with latest firmware. Is there any issue when connecting volumio with Buffalo LinkStation?

That’s bizarre; I was hoping it was going to be a simple network reachability thing.

Can you even get a list of shares out of the NAS?
Something like

smbclient -I 192.168.1.3 -U guest% -L foo

Just in case it helps at all, here’s the mount options I see

//blah/music on /mnt/NAS/music type cifs (ro,relatime,vers=1.0,sec=none,cache=strict,domain=blah,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.210,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=1048576,actimeo=1)

No idea of this helps

Sudo nano /etc/dhcpcd.conf

Change 255.255.255.0 to 255.255.0.0