Page 1 of 1

NFS or SMB client mount ?

Posted: Sun Nov 26, 2017 2:59 am
by fraxion
Is there a way to setup a persistent network mount from Gargoyle to my NAS? I'd like to use my router to act as DLNA server for remote files, save/serve torrents and write web access log. The NAS support NFS, AFS and CIFS but cannot be made to run minidlna (sigh).

I'm not scared of ssh, scripts or fstab if required.

LEDE made this surprisingly involved, requiring a custom hotplug iface event script, while it was just a tab away in Tomato (on my previous router, RIP). This is not a rant, gargoyle looks good! Feel free to file this under "requested enhancements" if just not possible right now.

Re: NFS or SMB client mount ?

Posted: Sun Nov 26, 2017 4:37 am
by ispyisail
I'd like to use my router to act as DLNA server for remote files,
Gargoyle has a DLNA Plugin

never used it

Image

Re: NFS or SMB client mount ?

Posted: Sun Nov 26, 2017 11:00 am
by fraxion
Gargoyle has a DLNA Plugin
Yes, I know :) But I'd like said DLNA server to serve movies and songs from /some/media/folder that is actually a _network_ mount, rather than a USB drive attached to the back of my router. I have a small NAS (Network Attached Storage) box beside my router holding my files, and it doesn't support USB , only wired ethernet access.

Doing so requires a kernel module and an appropriate "mount" utility, depending on the network protocol used, which Gargoyle may or may not have available, hence my question.

Re: NFS or SMB client mount ?

Posted: Sun Nov 26, 2017 3:49 pm
by Lantis
The only way to achieve this is via command line.

You seem to know exactly what you want/need to achieve. What assistance do you need?
My approach
init.d script running before minidlna to get your mount
Minidlna pointed at mount

Re: NFS or SMB client mount ?

Posted: Wed Nov 29, 2017 10:41 am
by fraxion
I was just wondering if there was a special GUI or file config for that purpose. I'll set it up similarly with an init script. Thanks!

Re: NFS or SMB client mount ?

Posted: Sun Feb 03, 2019 7:43 am
by Forest83
Hello, is anyone able to provide instructions on how to set up a mount of a NAS on Gargoyle so I can access it's media via DLNA?

I have a D-Link DNS-320 NAS (that has Twonky 8.5.1 installed) connected via ethernet to a D-Link DIR-835 which is running Gargoyle 1.10.

The Twonky DLNA server on the DNS-320 was working on my pre-Gargoyle network setup but since using Gargoyle none of my devices on the network can see it anymore.

Guidance on command line instructions to achieve this will be greatly appreciated.

Re: NFS or SMB client mount ?

Posted: Wed Feb 06, 2019 8:40 am
by Lantis
You’ll need to establish a mount to the remote disk, and then point minidlna to it.

It would be simpler and more performant to fix the NAS itself.

Re: NFS or SMB client mount ?

Posted: Wed Feb 06, 2019 4:45 pm
by Forest83
Thank you for the response.

The NAS is working and can be accessed normally through the network, the only issue with it is that Twonky for some reason is not visible to DLNA devices whilst connected to the Gargoyle bridge.

One thing I forgot to mention in my previous post is that I have Gargoyle operating in bridge mode so I can connect a couple of ethernet devices to the network. The wireless repeater function has been switched off which is a suggestion I saw in another thread but this has been to no avail.