Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I have successfully done everything I have wanted to on my DNS-321 using this forum and the wiki. It wasn't always straightforward or easy, but with enough time and tinkering, it has been done. Thank you!
One little annoying thing. I have set up avahi, et. al., to make time machine backups, mount the DNS-321 as AFS and SMB, created multiple shares/drives within the NAS, etc. Now, in a Finder window, under Shared, there are three entries:
1) Dlink-NAS, built in, as set in the DNS-321 config: Setup -> Device -> Name
2) Dlink-NAS (Mac), as set through the avahi services for AFP access
3) Dlink-NAS (Win), as set through the avahi services for Samba access
I want to get rid of the built in #1. It's redundant and unnecessary. It this going to be possible? How?
There is nothing in Advanced -> Network Settings to turn OFF the built in SMB access. I would assume that however the built in SMB access is turned off, it should be done through Fun_Plug/Optware, so that if fun_plug/optware (and thus avahi, et al) does not load, I will still have the built in SMB access to my DNS-321.
Offline
Create an executable sambastop.sh file in the funplug.d/start directory. It gets executed at each boot and it contains the following:
# Stop Built-In Samba
smb stop
Offline
neerav wrote:
I have successfully done everything I have wanted to on my DNS-321 using this forum and the wiki.
I have set up avahi, et. al., to make time machine backups, mount the DNS-321 as AFS and SMB, created multiple shares/drives within the NAS, etc.
One question:
Could you point me to the right ressources to do exactly this: "create multiple shares/drives within the NAS". As of today I am still using the built-in SMB and want switch to a "real" SMB-server. I would appreciate sharing your experiences in setting this up to reduce my learning curve a bit.
Thx a lot in advance,
Volker
Offline
Doing a "smb stop" also turns off the samba that avahi is using. I guess it's all one samba. :-( I just want to find the config entry where #1 is defined and comment it out.
To define multiple shares, you need to edit the smb.conf file. However, since this file is reset when the NAS boots, you have to add a few lines to the fun_plug file to install your customized smb.conf file and to restart samba.
This is my version of code in the Mac OS X entry of the wiki. I have softlinked the smb.conf so I can quickly edit, test and see the changes without restarting the NAS. I've found that if you are just adding shares, restarting samba is not necessary during testing when accessing from OS X. I can't say if samba restarts are needed when accessing samba shares on Windows. When satisfied, copy it to /mnt/HD_a2/smb.conf so it's there when the NAS reboots.
# To be able to edit samba config file to speed up samba on Mac OS X # Custom samba config contains "large readwrite = no" and defines additional shares echo "* Configuring SAMBA and restarting..." cd / if [ -e /mnt/HD_a2/smb.conf.active]; then ln -s /etc/samba/smb.conf /mnt/HD_a2/smb.conf.active fi # if no samba config file, then copy the current document to RHD # otherwise, copy the user samba config file and restart samba if [ -e /mnt/HD_a2/smb.conf ]; then cp /mnt/HD_a2/smb.conf /etc/samba/smb.conf smb restart else cp /etc/samba/smb.conf /mnt/HD_a2/smb.conf fi echo "* Configure SAMBA DONE"
As for a "real" smb server, I haven't installed one on the NAS. I'm just modifying the smb that already exists. However, you can try taking a stab at installing the samba from Fonz's extra-packages, samba-3.3.2-1.tgz Maybe that's a "real" smb server, maybe not. There is also a wiki entry to tweak samba http://dns323.kood.org/howto:bettersamba which I have not used either.
Offline
Helps, THX.
Offline