Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I have an network with 2 xp PRO stations and 1 vista business station.
there are a number of files that have become 'locked' on the DNS 323 - FW 1.03
When i look at permissions via the vista station i can see a user 'unix_user.508' which has permissions to the file, but i cannot add a user from the DNS box to the permission list and i cannot see this permissionn list if i look at it from Windows XP.
I tried dropping the user I thought might have originally touched the file causing it to lock and then re-added them, thinking the DNS would clean up any locks when the user was dropped.
How do I go about fixing this issue and unlocking the files - we were able to copy the files (sometimes) to new files to get access, but that doesn't fix the original locked files.
Will upgrading to 1.04 give me any relief - i'm backing up now to begin the firmware update.
thanks,
Kevin
Offline
Update - I have updated firmware to 1.04.
Why didn't they include some sort of web-based browser to allow file attribute/permission changes !!
Do I have to funplug to accomplish unlocking the files I mention? Could I connect a Linux PC (Unbuntu) to this NAS through the network to change permissions, avoiding using funplug which might brick the unit?
Can I use FTP to change file permissions if I set FTP user to root of NAS?
Any help appreciated !
Kevin
Last edited by kevind (2008-04-24 23:40:59)
Offline
There is very little risk in "bricking the unit" when installing ffp (fonz's fun_plug)
You simply copy a two files to the root of your share, during restart one file
gets expanded and creates a subdirectory fun_plug.d where all the scripts,
binary files are located. If you want to remove ffp simply remove (or rename)
this subdirectory and reboot -- no more fun_plug.
I would suggest installing ffp to enable telnet. Then telnet to the DNS-323
and use 'ls -l' to display the user group and permissions of your files.
You can use the unix command 'chmod' or 'chgrp' to open up the
permissions of the file.
One reason this "lockout" can happen is if the DNS-323 is not setup with
user accounts that match the windows logon account. In that case the user
could connect to the DNS-323 as nobody and create files with 'nobody' permissions.
Last edited by mig (2008-04-25 01:12:27)
Offline
Hi Kevin,
Mig helped me last week with exactly this problem, to resolve my issue I did need to use fun plug (thanks Fonz). I had to telnet into the DNS and I had to use the command line via putty on my vista laptop.
I also tried ubuntu 7.1, vista, Xp and could not change the file permissions. (they didn't originally have any restrictions but somehow when they were copied to the NAS they did)
The great news, once I followed Mig and Sjmac instructions it does allow full access to the files, ALSO, now I can properly set permission via the webpage/Gui in the DNS properly.
http://dns323.kood.org/forum/t2057-Chan … Putty.html once you have enabled fun plug, and putty. I have done the fun plug, and I barely know what I am doing, so anyone can.
It can be reset, and it sure does feel good to have complete control back.........
HTH
Offline
ok, thanks all for suggestions - follow up questions:
1. which is the best / most stable fun plug i should go with - i only want minimum functions to fix permission issues on <60 files with telnet ?
2. if i use the pre-built fun plugs do i need to ultraedit to create any files or is everything in linux text file format all ready to go ?
3. do i need a util to un-zip(un-tar) the fun plug files ?
thanks,
Kevin
Last edited by kevind (2008-04-25 16:36:00)
Offline
I'm using ffp v0.4 and it will work for your needs
http://www.inreto.de/dns323/fun-plug/0.4 has very clear instructions
You can use winrar or 7-zip to unpack the two files.
README.txt (ffp v0.4)
-- Installation --
Unpack funplug-0.4.tar.gz to the root of the first volume. It
contains two files: fun_plug and fun_plug.tar. Reboot and wait a
minute.
The telnet server will start automatically.
NOTE: Do not use WinZip, it will corrupt the fun_plug script.
Offline
thanks mig for your last response.
i'm going to try all this wed or thu this week - let you know how it goes
thanks again.
kevin
Offline
OK all - i hope you are watching ....
i installed fun_plug - no prob., i can see the expanded folders etc.
if i attempt to use Putty to connect, i get a connection refused message.
1) how do i tell that telnet/fun_plug is running on the DNS 323 box ? can i test it with windows xp cmd line telnet command ?
2) last fun_plug comment says the telnet server starts automatically, how can i tell - do i need to use a certain port ?
thanks,
Kevin
Last edited by kevind (2008-05-05 19:09:17)
Offline
this is the log from the fun plug - busybox, is that the telnet server ? and it's failing ?
does this log look like a good install ?
====================================
**** fun_plug script for DNS-323 (2007-09-16 tp@fonz.de) ****
Mon May 5 11:35:55 GMT 2008
* Extracting /mnt/HD_a2/fun_plug.tar...
.
bin
bin/busybox
tar: Invalid tar magic
* Deleting /mnt/HD_a2/fun_plug.tar...
* Done
Offline
What program did you use to extract the two files fun_plug
and fun_plug.tar from the downloaded archive funplug-0.4.tar.gz?
Last edited by mig (2008-05-05 19:22:27)
Offline
I used WinRAR3.71. I extracted the 2 files in funplug-0.4.tar.gz into d:\temp on my local station and then i used windows xp command line FTP to PUT the files individually up to the DNS323 in the Volume_1 root.
any help greatly appreciated here - i'm on-site trying to get this NAS to work for someone ....
Offline
The error
tar: Invalid tar magic
means that tar looked into the tar header of the tar file "fun_plug.tar"
for a 4 byte entry that is the 'magic' and found that entry to be invalid.
You did not get a good install. I'm not sure what could cause that. The DNS-323 is
FWv1.04 (IIRC) so the 'tar' in the stock firmware should be fine. Perhaps your download
was corrupted somehow? You could try to download again and binary compare that funplug-0.4.tar.gz
to the one you are installing to see if there is any difference - or - perhaps, use a different software,
7-zip to unpack the funplug-0.4.tar.gz file?
BTW, you can use windows command line telnet to connect to the fun_plug telent server, too.
Offline
ok, i'm going to try it from my own notebook instead.
if i re-drop the files to the unit, will it simply pick them up and over-write the existing stuff (if it exists) properly ?
thanks,
Kevin
Offline
yes, the files will over-write. One other thing I just thought of, make sure
you specify a 'binary' ftp transfer when you PUT the files on the DNS-323.
Offline
that might have been it as i was using xp cmd prompt....trying in 4 mins.
Offline
ok, got in - i'm in putty - now i need to navigate to the folders with the trouble files
in short form (thanks again for all your help) I know dos and i can probably get some linux commands going - but, as i look at the putty screen i can't tell where i am, am i in the file system or a shell that's waiting for me to execute system level commands?
thanks
Offline
ok, i found another link at the top of this post - following through that, thanks, i'll let you know how i make out
Offline
You should be at the shell prompt
BusyBox v1.8.1 (2007-11-20 23:39:08 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ #
type 'ls -la' to see the file on the root of the filesyste
type 'cd /mnt/HD_a2/ ' to get to your files on your hard drive
Last edited by mig (2008-05-05 20:43:17)
Offline
THANKS !!!
I got in, i CHMOD'd - I can now access some files that had been locked for months - i'm glad I found this forum, wiki and helpful folks like yourself
to telnet in to that level so easily (no login) seems a little unsafe - except the users here wouldn't know how to do it - is there some simply security that can be setup ?
thanks again, everyone is happy.
Kevin
Offline
If you want security, look at the ffpv0.4 instructions to setup ssh
You can still use putty access via the ssh protocol.
Offline