User(s) browsing this thread: 1 Guest(s)
|
NetworkMounter 0.1 released on CSI
|
|
09-01-2009, 02:37 PM
|
|||
|
|||
|
NetworkMounter 0.1 released on CSI
Ever since I created my own (private) jukebox for the NMT I struggled with the build in networking capabilities. I have far to many files to just have on a single hard disk. Instead I use a server with a couple of different shares. That doesn't work that well with my jukebox so I created a little tool to mount my network shares on the local filesystem of the build-in hard disk. That way the jukebox sees just one extremely large hard disk.
I thought that maybe this little tool might also be handy for others, so I decided to release it on CSI. Configuration is fairly easy. After installing NetworkMounter you need to edit the config.ini file which should be in the Apps/NetworkMounter directory. There is already an example config file which you can edit. For each network share you first need to create a directory on the hard disk of your NMT. For example "External". Next edit the config.ini file and add a section that looks like this: Code: [External]In the example above, I use "cifs" for windows network shares. You could also use "nfs" for NFS shares. The path is path to the directory I just created on the hard disk of the NMT. The other settings should be self explainatory. Except for "options", which can be left empty (for now). The next time you reboot your NMT, the network shares will be automatically mounted and would appear as regular directories on the hard disk of your NMT. mediatankcontroller.com: the home of MediatankController 1.0 for Adobe AIR and MediatankController 1.0 for iPhone and iPod Touch. |
|||
10 users say Thank You to Niels Leenheer for this post |
|
09-01-2009, 03:40 PM
|
|||
|
|||
|
RE: NetworkMounter 0.1 released on CSI
Nice idea. Any reason why you can't just use Symbolic Links?
That's what I'm using turning my 4 separate drives into one 5TB share. |
|||
|
09-01-2009, 03:51 PM
|
|||
|
|||
RE: NetworkMounter 0.1 released on CSI
(09-01-2009 03:40 PM)T800 Wrote: Nice idea. Any reason why you can't just use Symbolic Links? If you have a Windows based server that won't work. Also even if you have just one share to mount this tool is still useful. If you use the default way of managing network share you can never be sure the share is actually mounted. Only if you actually use the NMT to navigate to the network share it is mounted on demand. For a jukebox running on the internal hard drive this is a real problem because files you may want to start might not be available. mediatankcontroller.com: the home of MediatankController 1.0 for Adobe AIR and MediatankController 1.0 for iPhone and iPod Touch. |
|||
|
09-03-2009, 12:43 AM
|
|||
|
|||
|
RE: NetworkMounter 0.1 released on CSI
If I have no user name or password on my shares, do I just use null quotes?
"". (09-01-2009 03:51 PM)Niels Leenheer Wrote: If you have a Windows based server that won't work. |
|||
1 user says Thank You to cyberdude for this post |
|
09-03-2009, 06:45 AM
|
|||
|
|||
RE: NetworkMounter 0.1 released on CSI
(09-03-2009 12:43 AM)cyberdude Wrote: If I have no user name or password on my shares, do I just use null quotes? Yes, that should work. mediatankcontroller.com: the home of MediatankController 1.0 for Adobe AIR and MediatankController 1.0 for iPhone and iPod Touch. |
|||
|
09-03-2009, 08:47 PM
|
|||
|
|||
|
RE: NetworkMounter 0.1 released on CSI
Could you give an example how you expect the share to be specified when it refers to an NFS export.
I tried several ways but non succeeded: Code: [CDs]Code: [CDs]Code: [CDs]all failed to show the contents in /share/CDs - Aleg -------------------------------------------------------------------------------- PCH A100 (Stable firmware), 250GB 2.5"" WD Caviar-PATA, Connected to Pioneer KRL32V at HDMI 1080p60/50/24, Ubuntu Server NAS, Naim DAC + XPS-2, mpd + iPod with mPod |
|||
|
09-03-2009, 08:54 PM
|
|||
|
|||
RE: NetworkMounter 0.1 released on CSI
(09-03-2009 08:47 PM)avanegmond Wrote: Could you give an example how you expect the share to be specified when it refers to an NFS export. you have an unnecessary : after the ip address... change that. Code: [CDs]Media tank:PCH A-110, Xbox with xbmc
|
|||
|
09-03-2009, 09:44 PM
|
|||
|
|||
RE: NetworkMounter 0.1 released on CSI
(09-03-2009 08:54 PM)Laderius Wrote: you have an unnecessary : after the ip address... change that. Hi That was indeed a version I hadn't tried yet, but alas that one didn't do it for me either. Thanks anyway - Aleg -------------------------------------------------------------------------------- PCH A100 (Stable firmware), 250GB 2.5"" WD Caviar-PATA, Connected to Pioneer KRL32V at HDMI 1080p60/50/24, Ubuntu Server NAS, Naim DAC + XPS-2, mpd + iPod with mPod |
|||
|
09-04-2009, 05:10 AM
|
|||
|
|||
|
RE: NetworkMounter 0.1 released on CSI
I think you were right to have the ':' after the ip that's needed for NFS but not for SMB IIRC.
Thanks very much for this app if it does what I think it does it is exactly what I have been looking for. I have my music and video folders on the same NAS but different shares. If I click on the one that I didn't use last then its process denied or WTF, now with this I can enter both shares in the config and after a reboot both shares are mounted so that whatever share I click works. Keeping everything crossed. Is there a downloadable version somewhere as the CSI and the C200 are not getting on great yet. A400: SSD+SD Card(Apps), HDMI A300: USB(Apps), HDMI C200: USB(Apps), BD SH-B083L(SB01), HDMI CAT6 Wired Network: TV TX-P42G20, HP ProCurve 1400-8G, Netgear GS-608/605, Synology CS407 |
|||
|
09-20-2009, 03:37 PM
(This post was last modified: 09-20-2009 03:39 PM by AquaFire.)
|
|||
|
|||
|
RE: NetworkMounter 0.1 released on CSI
Hello,
Your application should exactly addrss the problem I was facing . Since the CIFS network shares on my NAS (Western Digital Mybook) device were always dormant and were not active all the time on NMT Egreat EG-M34a. For example if I go to the NMT interface and create the network links to shares on my NAS device and save them, they are only accessible during the time the NMT is turned on. This is very frustrating since in Movie JukeBoxes all links point to the NAS shares which are not loaded every time by default. I would have to go back manually click on the network shares in the NMT main menu, then come back to the Jukebox and try running the movie file, which at times was still inaccessible. It was as if they are not auto mounted but have to mounted manually every time. Using your application I have defined two network CIFS shares on my NAS device and have created two empty directories in the /share volume on the NMT harddisk. Now how can I be sure that the shares are auto mounted every time. I have edited the config.ini file correctly. I have tried going to the /share/xxxx directory which should show me the contents on the mounted network share, but they are still showing empty after a restart. Any idea about how can I make it work successfully. Thanks, Regards. |
|||
|
10-17-2009, 07:38 AM
|
|||
|
|||
|
RE: NetworkMounter 0.1 released on CSI
can you please make this tool work for csi on c-200?
|
|||
|
10-28-2009, 06:53 PM
|
|||
|
|||
|
RE: NetworkMounter 0.1 released on CSI
This will work for NFS but it requires a quick tweak.
The .ini syntax is as follows [Folder] type = "nfs" path = "/share/Folder" share = "192.168.x.y:/raid/Folder" user = "" password = "" options = "tcp,rsize=32768,wsize=32768,rw,soft,nolock" Check your NFS server for the correct folder path, on mine I have to specify the full path from root even though the 'share' is listed as 'Folder' on my server. The options are 'optional' but I would recommend you leave tcp in as I find tcp based NFS connections much quicker than UDP. Just search for 'unix mount syntax' if you need to check the other entries. This produces the following mount command which is executed by the script. /bin/mount -t nfs 192.168.x.y:/raid/Folder /share/Folder -o tcp,rsize=32768,wsize=32768,rw,soft,nolock The bit that is breaking NFS is in ./scripts/mount.php if ((!isset($share['user']) || $share['user'] == '') && (!isset($share['password']) || $share['password'] == '')) { $options[] = "user=root"; } Basically if user and password are blank then the script is forcing the 'user=root' option which is rejected by the mount command and the script fails. You can see the output from the script in the file .daemonresult which is how I spotted it. Comment those three lines out and it works a treat. |
|||
1 user says Thank You to sminc for this post |
|
10-29-2009, 05:26 PM
|
|||
|
|||
|
RE: NetworkMounter 0.1 released on CSI
Has anyone tried this on the C200 yet?
A400: SSD+SD Card(Apps), HDMI A300: USB(Apps), HDMI C200: USB(Apps), BD SH-B083L(SB01), HDMI CAT6 Wired Network: TV TX-P42G20, HP ProCurve 1400-8G, Netgear GS-608/605, Synology CS407 |
|||
|
11-02-2009, 02:29 PM
(This post was last modified: 11-02-2009 02:39 PM by avanegmond.)
|
|||
|
|||
RE: NetworkMounter 0.1 released on CSI
(10-28-2009 06:53 PM)sminc Wrote: This will work for NFS but it requires a quick tweak. This worked indeed very much like a treat. Super!! Thank you for figuring this out. @Niels: Is there any logic behind this failure to mount when forced to "user=root"? Is there any reason to force it to "user=root" when no user is given? Is something going to fail (e.g. in the samba shares?) when these 3 lines are commented out? - aleg -------------------------------------------------------------------------------- PCH A100 (Stable firmware), 250GB 2.5"" WD Caviar-PATA, Connected to Pioneer KRL32V at HDMI 1080p60/50/24, Ubuntu Server NAS, Naim DAC + XPS-2, mpd + iPod with mPod |
|||
|
11-02-2009, 05:00 PM
|
|||
|
|||
|
RE: NetworkMounter 0.1 released on CSI
Sounds cool man, thanks for sharing.
Have you ran into any problems playing HD movies (after say 1-2) while having all your shares mounted? (i assume not...just figured i'd ask though). Pannasonic Plasma 50" -->HK254-->Emotiva xpa-5 & upa-2 A100 w/ 500gb HDD, A200 w/ mn100, c200 w/ 2.5" 250gb Calm 2.1, YAMJ - Redefined 1.8a skin, Music Jukebox 8 WHS ex490 w/ 2.5tb's |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]







![[+]](images/collapse_collapsed.gif)




