D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => ShareCenter® Add-on Applications => Topic started by: vtverdohleb on September 25, 2014, 09:32:48 AM
-
User rusatch on forum.ixbt.com (http://forum.ixbt.com/topic.cgi?id=11:45574-39#1140) threw an interesting idea - how to raise on DNS-327L full Debian Weezy (with full support for repositories) without consequences for warranty device. Quite simply - a couple of shell commands and is available to you apt-get with all the consequences.
If the topic is interesting, I can paint a series of acts, everything is quite simple, and most importantly - for the most painless device. The principle here http://forums.smallnetbuilder.com/showthread.php?t=15528, who is versed in Linux can do for yourself, without my crib.
Unfortunately not yet been able to find a similar package for DNS-320L / 325/345 (too old libraries GLIB). Any chance someone knows where this is, please tell, I'll be very grateful.
-
Hi,
this is a very interesting idea, I would like to install Debian on my DNS-327L. Unfortunately I am not very skilled in such things and also not understand anything from forum.ixbt.com. It would be very nice if anyone could explain how this has to been done.
Thanks.
-
This can be done with the Debian Squeeze fun_plug release by dlink just update it to go to Debian Weezy.
It will work for some app but there is a trouble Debian Weezy require a kernel version >= 2.6.32 and the DNS320L there a kernel version 2.6.31.8.
-
this is a very interesting idea, I would like to install Debian on my DNS-327L. Unfortunately I am not very skilled in such things and also not understand anything from forum.ixbt.com. It would be very nice if anyone could explain how this has to been done.
Debian Weezy for ARM (http://forums.smallnetbuilder.com/showthread.php?t=15528)
1. download the archive "Debian Weezy for ARM (https://www.dropbox.com/s/f8es9x1x6zuekgm/debian-wheezy-fullbase-arm.tgz)" network partition \\Volume_1
2. Will connect to the NAS via telnet or ssh
3. Running
cd /mnt/HD/HD_a2
mkdir debian
cd debian
mv ../debian-wheezy-fullbase-arm.tgz ./
tar zxf debian-wheezy-fullbase-arm.tgz
mount -o bind /dev/ /mnt/HD/HD_a2/debian/dev/
mount -o bind /proc/ /mnt/HD/HD_a2/debian/proc/
mount -o bind /sys/ /mnt/HD/HD_a2/debian/sys/
/mnt/HD/HD_a2/debian/utils/chroot /mnt/HD/HD_a2/debian /bin/sh
apt-get --help
You can create a script that will be all to do it myself as it is written on the website http://forums.smallnetbuilder.com/showthread.php?t=15528 (http://forums.smallnetbuilder.com/showthread.php?t=15528)
-
Hi, thanks for that very nice instruction.
I did it exactly this way, and it was successfull until this step:
/mnt/HD/HD_a2/debian/utils/chroot /mnt/HD/HD_a2/debian /bin/sh
I there get an Error "No such file or directory". I read in HOWT==Debian Weezy that the file "chroot" has to be moved to that dir, but I do not succeed in doing so. Could anybody please tell me how to do this?
Thanks a lot guys.
-
Hi, thanks for that very nice instruction.
I did it exactly this way, and it was successfull until this step:
/mnt/HD/HD_a2/debian/utils/chroot /mnt/HD/HD_a2/debian /bin/sh
I there get an Error "No such file or directory". I read in HOWT==Debian Weezy that the file "chroot" has to be moved to that dir, but I do not succeed in doing so. Could anybody please tell me how to do this?
Thanks a lot guys.
Maybe /bin/sh absent? Or chroot not executable.
Try :
chmod +x /mnt/HD/HD_a2/debian/utils/chroot
/mnt/HD/HD_a2/debian/utils/chroot /mnt/HD/HD_a2/debian /bin/bash
-
/mnt/HD/HD_a2/debian/utils/chroot /mnt/HD/HD_a2/debian /bin/sh
I there get an Error "No such file or directory". I read in HOWT==Debian Weezy that the file "chroot" has to be moved to that dir, but I do not succeed in doing so. Could anybody please tell me how to do this?
You can do this as follows:
cd /mnt/HD/HD_a2
wget "http://dlink.vtverdohleb.org.ua/debian/debian-wheezy-fullbase-arm-dns327l.tgz"
tar zxf debian-wheezy-fullbase-arm-dns327l.tgz
cd debian
./chroot.sh
apt-get --version
apt-get --help
mc
When coming out of the "chroot" strongly recommended:
/mnt/HD/HD_a2/debian/chroot_umount.sh
-
/mnt/HD/HD_a2/debian/utils/chroot /mnt/HD/HD_a2/debian /bin/sh
I there get an Error "No such file or directory". I read in HOWT==Debian Weezy that the file "chroot" has to be moved to that dir, but I do not succeed in doing so. Could anybody please tell me how to do this?
You can do this as follows:
cd /mnt/HD/HD_a2
wget "http://dlink.vtverdohleb.org.ua/debian/debian-wheezy-fullbase-arm-dns327l.tgz"
tar zxf debian-wheezy-fullbase-arm-dns327l.tgz
cd debian
./chroot.sh
apt-get --version
apt-get --help
mc
When coming out of the "chroot" strongly recommended:
/mnt/HD/HD_a2/debian/chroot_umount.sh
Thank you, installation worked perfectly this way. Very easy and quick :)
-
Well, yesterday I installed the Debian and it worked pretty well. I also installed motion (I want to use the DNS-327L for recording some Ip cams), and it also was no problem and worked.
But today, when I log in as root in Terminal, it seems like debian is not running. I have installed the fun_plug 0.7 jet, and it looks like only the fun_plug is working. Do I have to remove fun_plug? Will debian not autostart?
-
Script chroot.sh made for manual start bash in Debian environment. For automatic startup, you should do another script.
-
To autostart from init you can use this script:
https://code.google.com/p/funplug-dns320-dns325/downloads/detail?name=fun_plug.squeeze&can=2&q=
-
Thank you for your big help :)
-
Hey vtverdohleb,
I do have a 327L and I would like to give it a try and install Debian Wheezy on it.
Currently I do have fun_plug 0.7 up and running on that box and as far as I undersood what I need to do is:
Debian Weezy for ARM
1. download the archive "Debian Weezy for ARM" network partition \\Volume_1
2. Will connect to the NAS via telnet or ssh
3. Running
cd /mnt/HD/HD_a2
mkdir debian
cd debian
mv ../debian-wheezy-fullbase-arm.tgz ./
tar zxf debian-wheezy-fullbase-arm.tgz
mount -o bind /dev/ /mnt/HD/HD_a2/debian/dev/
mount -o bind /proc/ /mnt/HD/HD_a2/debian/proc/
mount -o bind /sys/ /mnt/HD/HD_a2/debian/sys/
/mnt/HD/HD_a2/debian/utils/chroot /mnt/HD/HD_a2/debian /bin/sh
apt-get --help
But after a few posts you also provided a download link (another installation method?) using wget towards your site and avoiding the other commands like mount,tar and etc...
Unfortunatelly this link is not available anymore..
Can you tell us what you did in your package? I believe you customized it even more for the 327L box and that is why I am interested about this.
If this is not true then I will follow your first procedure and then I will add the "Fun_Plug.Debian.Squeeze" file in order to auto-init the system (Is there a customized/improved Fun_Plug auto-init file for the Debian Whezzy as well?)
Thanks and sorry about all my newbie questions regarding Linux :-)
Take care!!
-
D-link third-party development is not supported. And I personally, after 2016.01.01 is only interested in the commercial Addons.
-
Hey vtverdohleb,
Thanks for the information and I was not aware that you are not working with d-link anymore.
Are you able to see if I am going into the right direction from within my questions below (this is not necessarily a question for you but if you could help then I will be glad :-)
Take care!