Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
i use the lighttpd.conf-dns320 but i change for lighttpd.conf-with-php and i have ever the same problem !
Offline
hello
I just noticed something in the tut, it is written
"Use THE FOLLOWING if you are there DNS-320:
mkdir / mnt/HD/HD_a2/srv /
ln-s / mnt/HD/HD_a2/srv / / srv
This Link Will Be Lost After rebooting the Device, So You Have to add THE FOLLOWING Two Lines To The End Of The file / ffp / etc / fun_plug.init to recreate The Link Every Time The NAS boots. You Can edit this file using editor like nano year. THE FOLLOWING Use for All Other Than The NAS DNS-320:
# create custom server-Link to the folder
ln-s / mnt/HD_a2/www / / srv
Use this for The DNS-320:
# create custom server-Link to the folder
ln-s / mnt/HD/HD_a2/www / / srv "
the red line would not be opposed to "ln-s / mnt/HD/HD_a2/srv / / srv" as early in the citation (in blue).
Last edited by midsnipe (2011-01-13 19:12:56)
Offline
I already said this in this thread it is a TYPO (mistake)
It needs to be for the dns-320 : to punt in the fun_plug.init file (at the end)
# create custom server-Link to the folder
ln-s / mnt/HD/HD_a2/srv/ /srv
Offline
@delacroix, is it possible to boot from usb with the DNS-320 ? As the usbstorage.ko isn't compatible with it... Or can the harddisk where fun_plug 0.5 is installed go to sleep mode on the dns-320 ?
But there is aldready a "/usr/local/modules/driver/usb-storage.ko" module available...
Or an alternative way ?
Tnx
Last edited by djbase (2011-01-14 13:55:12)
Offline
I managed to get everything to boot from the usb, how can one check if the harddisk goes to standby ?
Offline
djbase wrote:
I managed to get everything to boot from the usb, how can one check if the harddisk goes to standby ?
Mind telling me how did you do it? The most crude way to check is let the NAS idle for hour or two and then check the temperature with your bare hand. I got two disks installed. The one with ffp is always hot and the other one is cool after being idle for few hours.
Offline
I followed ui's guide but skipped the usbstorage stuff and the fun_plug scripting stuff. As it seems the usb support on the dns-320 is more advanced then the 323.
Also because I already had the fonz fun_plug installed on the harddrive
I needed to plug the usb after dns-320 was booted otherwise I couldn't format it, so I killed the fat32 partition and partitioned it with ext2 like guide says ( I used an 8gb kingston usb stick)
Then I copied over the entire FFP folder from /mnt/HD/HD_a2 to /mnt/USB/HD_c1
/mnt/USB/HD_c1 = USB mount point
Then I manually edited the fun_plug on the main harddisk to point to the usb like this :
original :
code:
"
# write a log, in case sth goes wrong
FFP_LOG=/mnt/HD/HD_a2/ffp.log
#FFP_LOG=/dev/null
"
Added below : (I just copied the ffp.log file even if empty it doesn't matter, it just checks if this file is accessable on the usb stick and if it is it transfers the log to the usb)
Code :
"
if [ -x /mnt/USB/HD_c1/ffp.log ]; then
FFP_LOG=/mnt/USB/HD_c1/ffp.log
echo "* Running USB DNS-320 DAV MOD ..."
FFP_PATH=/mnt/USB/HD_c1/ffp
chmod -x /mnt/USB/HD_c1/ffp/start/LOGIN.sh
chmod -x /mnt/USB/HD_c1/ffp/start/SERVERS.sh
chmod 600 /mnt/USB/HD_c1/ffp/etc/ssh/ssh_host_dsa_key
chmod -x /mnt/USB/HD_c1/ffp/etc/ssh/ssh_host_dsa_key
chmod 600 /mnt/USB/HD_c1/ffp/etc/ssh/ssh_host_rsa_key
chmod -x /mnt/USB/HD_c1/ffp/etc/ssh/ssh_host_rsa_key
chmod 755 /mnt/USB/HD_c1/ffp/var/lib/sshd/
chmod 755 /mnt/USB/HD_c1/ffp/etc/ssh/
fi
"
Al the other files in /ffp/start I moved these to another folder called disabled_usb_items
The problem I noticed is that the usb stick keeps resetting the permission, because of that you need to set them each boot time, and SSH was a bitch.
Due to safety reasons ofcourse.
And you need to point everything else also to the USB mount point...
Last edited by djbase (2011-01-16 15:43:06)
Offline
Woehoe, it goes to standby !!!! with the stuff I said in my previous post, even with Sabnzbdplus installed (logs and cache and NZB_Blackhole pointed to USB
pitty sabnzbdplus on the dns-320 is so slow, maybe the dns-325 would be a better candidate
You can check the temperature in the DNS-320 dlink homepage -> status Harddrive Info
And for the standby I checked it to connecting to the mount shares in windows, and if it lags I can hear the harddisk spin up and know it was in standby or hibernation mode.
Finally ...
Last edited by djbase (2011-01-16 18:13:47)
Offline
djbase wrote:
Woehoe, it goes to standby !!!! with the stuff I said in my previous post, even with Sabnzbdplus installed (logs and cache and NZB_Blackhole pointed to USB
pitty sabnzbdplus on the dns-320 is so slow, maybe the dns-325 would be a better candidate
You can check the temperature in the DNS-320 dlink homepage -> status Harddrive Info
And for the standby I checked it to connecting to the mount shares in windows, and if it lags I can hear the harddisk spin up and know it was in standby or hibernation mode.
Finally ...
Yea, for me the hand temperature test was the quickest of those alternatives.
Offline
I checked it with :
/ffp/start/syslogd.sh
added to the file : syslogd_flags="-O /ffp/log/sysmessages.log -l 5"
and now I can check if the harddisks go to standby or are awake
Offline
Is the DNS-325 also fun-pluggable ?
Because linux kernel seems same as DNS-325 except for the hardware ofcourse
Because it's really bugging me sabnzbd plus is so slow :'(
Offline
djbase wrote:
Is the DNS-325 also fun-pluggable ?
Yes.
Offline
Cool ! tnx for the info
And also rather dns-320 compatible ?
Offline
Does anyone know of kernel headers for DNS-320? The existing fun_plug ones is for kernel 2.6.9.1 and DNS-320 use 2.6.22.18.
Offline
djbase wrote:
Cool ! tnx for the info
And also rather dns-320 compatible ?
I am assuming you mean the same architecture? If so the answer is yes. The main differences are Ram increase from 128 to 256mb, CPU clock speed increased from 800mhz to 1.2ghz. There are some other software differences however as far as compiling applications they should be cross-compatible.
Offline
Following to available tutorials and hints I installed (no without troubles) funplug and then lighttpd and php. At the moment I stuck at very strange behaviour of webserver.
When I put index.php page with phpinfo() function as described here:
http://nas-tweaks.net/91/installation-a … esting_PHP onto main folder I got as result in my browser huge numer of chinese letters or signs (maybe japanese, no idea )
Second problem with configuration of my webserver is, browser doesn't read http://my_DNS-320_ip address but I have to type http://my_DNS-320_ip/index.php to get this chinese webpage?
I copied my configuration files from provided files in folder /examples and don't know what happened and why it doesn't work correctly.
Offline
@dlink tnx I meant archtitecture like you said, it's just that even the dns-320 is too slow to handle sabnzbd... maybe the dns-325 is...
Or does the sabnzbdplus run faster trhough debian on a dns-323....?
@roboroy, did you install OPEN-SSL ?
Offline
djbase wrote:
@roboroy, did you install OPEN-SSL ?
Of course I did. I did it as a first step and I installed then all available packages.
I noticed when I change option server.port to 8080 in lighttpd.conf, then it starts to work and php as well. After come back in settings to port 80 chinese webpage again. What's going on?
On port 81 dlink configuration page works in both cases flawlessly.
Anyway, port 8080 worked for index.html or index.php so happily went to next step and I started to configure mysql. Then put testmysql.php file taken from nas-tweeks webpage and it gives me chinese output again. On port 8080!!
Last edited by RobRoy (2011-01-25 17:59:35)
Offline
@robroy... Sorry, I can't help you, I don't know what's going on
I myself fucked lighttpd up again too :'( , it works but I installed NzbGet, this works too, but when I put in a login and password, I can't login anymore... strange PHP behaviours... :'(
Offline
Dear All!
I'd like to install an FTP program on the DNS-320 (to be able to transfer large files over the internet without computer).
I'd also like to install Transmission, which version do you recommend for the dns-320? Can I just remove everything else? (Ajax, P2P, are not necessary for me.)
Please tell me this process step by step, I'm a newbie in this.
Thanks a lot!
Offline
Is the Midnight Commander workable under the DNS-320? Which version? Can I use it on the web interface? Or how?
Sorry for the many questions, I'm new in this.
Offline
Hello everybody
Does anyone know how to install ffmpeg ? (the exact commands in ssh coz I'm a newbie in Linux world ...)
Is there a way to update Mediatomb ?
Thanx a lot !
Offline
starsailorz wrote:
Hello everybody
Does anyone know how to install ffmpeg ? (the exact commands in ssh coz I'm a newbie in Linux world ...)
Thanx a lot !
Yes, I know, depending on how many codecs you want support for you need to download some 50-80
different applications and libraries, it takes 12+ hours to compile it all.
The ffmpeg I got is fully featured (except for sun media lib and some Microsoft format) but it takes an hour to transcode 5 minute of a PAL format movie into HD sized format.
So using ffmpeg to "transcode on the fly" is not a solution for the NAS.
starsailorz wrote:
Is there a way to update Mediatomb ?
Thanx a lot !
You mean to get a newer version, yes it is, but you have to compile it up yourself
/Stefan
Last edited by stefanth (2011-04-07 15:52:47)
Offline
how cad mount /dev/sdb?
i have second hdd with data and i want to copy to first hdd until i will reformat
thx
Offline
azlate wrote:
how cad mount /dev/sdb?
i have second hdd with data and i want to copy to first hdd until i will reformat
thx
This question was also asked (by you...) here and here and was also answered here and here. Sometime i think people will never understand, that this way of posting questions is not really polite.
Offline