Access NAS shares from RPi?
Jonathan Dawes (1547) 26 posts |
Hi all, I’d love to be able to play media files on this NAS on the RPi as it seems the ideal platform for movies etc, being connected permanently to the HDMI port of my TV. Is LanManFS the way to go on this? I think they are shared as Samba shares, but the NAS also appears as a media device. |
Dan Dooré (1593) 19 posts |
I’ve found the easiest way for this is to enable NFS on my NAS and use !Sunfish. I have the appliaction visible from the filer in the boot sequence and then use a saved !Sunfish mount file in the startup so it pops up the NAS shares when it boots. Only issue I’ve found it that !Sunfish is very CPU hungry when copying large amounts of data, not sure if this is some kind of USB contention but for playing MP3’s via !DigitalCD it’s splendid. |
neil.r (1738) 66 posts |
I use !omni to access a samba share. I use very simple user authentication (it’s just a small home network) but it just worked out of the box once I’d remembered what workgroup name I’d configured in smb.conf. If it helps at all, samba is running on another pi which is using raspbian. |
patric aristide (434) 418 posts |
Until now I just used !FTPc to access my Fritzbox NAS. Works ok, not that convenient though. Playing around with Omni however showed it was possible to mount smb shares locally. Much nicer! Unfortunately Omni tends to be a bit unstable on ARMv7. In the end I decided to cough up 40 quid and buy LanMan98 V2. |
Jonathan Dawes (1547) 26 posts |
Hi Neil, Cheers! |
neil.r (1738) 66 posts |
I just used the version that came with the pi version of RISC OS – I’ve not updated it in any way, and it seems to be OK! I can read and write to the share, and I’ve not managed to break anything yet. I’ve also been playing also with AccessPlusPy running on the same server (detailed on another thread here), which exports the same directory as a ShareFS share. This works nicely for the main part, and is slightly simpler to set up, but I’ve managed to break it a couple of times by giving it files with strange datestamps. My fault entirely, and I really should recreate this and pass the debugging information back. Of the two options, I think I prefer ShareFS for simplicity. But I fully appreciate that this probably isn’t useful for you as it’s a python script running on a unix machine, rather than a NAS, that’s exporting the shares. Ta, |
Jonathan Dawes (1547) 26 posts |
Splendid! I’ll have a play tonight, thanks. |
Jonathan Dawes (1547) 26 posts |
Hmm, with !Omni I can get to the point where I can tell my password for the NAS account is being accepted but it always says the share doesn’t exist. The problem I suspect is that all the shares have white spaces in their names. |
neil.r (1738) 66 posts |
mmm, I don’t have to enter the share name. Start !Omni, select “LanManager”, enter the workgroup name, user and password. I then get the server list (actually only the one) and when I select that, it takes me straight to advertised share. I’ll see if I can grab some screen shots tomorrow and upload them to the wiki. I can confirm through that neither the server name, nor the exported shares contain any white space. |
Jonathan Dawes (1547) 26 posts |
I wonder if that’s the problem. I don’t have a workgroup as such. My network is just set up by a BT Homehub (which does appear under LanMan, but hasn’t got any resources). So I don’t have a username or password to enter. |
Jonathan Dawes (1547) 26 posts |
Ah! Yes, I created a new share with a single name “JON” on the NAS and I can connect to that no problems. So now I just need to work out the white space issue (because the names of the shares are hardcoded and are used by the UPnP and DLNA) |
Jonathan Dawes (1547) 26 posts |
Hi David, |
Grant (1986) 2 posts |
Hi All Ive just joined RISC OS open forums after 2 years in the wilderness after my RiscPC suffered a double hard drive failure when I lost just about everything. Is this an issue with long filenames or spaces in their names? Did Jonathan find a solution? I am struggling to understand the rest of the advice above! Simple terms please! Thanks in anticipation! |
Raik (463) 2061 posts |
I have take a look in the Manual |
Grant (1986) 2 posts |
Yes, I have tried FTPc and it works. I was hoping for a more elegant solution with a drive icon. I believe a NAS can accept data transfer as a preconfigured save path in applications. Going further, in theory, could RICCOS Rpi be made to boot from a NAS? |
Wouter Rademaker (458) 197 posts |
IIANM, RISC OS can, in theory, boot from all file-systems that are in the ROM including LanManFS. |