• June 05, 2020, 03:37:04 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Debian Weezy for DNS-327L  (Read 8157 times)

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Debian Weezy for DNS-327L
« on: September 25, 2014, 09:32:48 AM »

User rusatch on forum.ixbt.com 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.
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

Nukolar

  • Level 1 Member
  • *
  • Posts: 5
Re: Debian Weezy for DNS-327L
« Reply #1 on: February 05, 2015, 09:55:15 AM »

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.
Logged

deivid3g

  • Level 1 Member
  • *
  • Posts: 6
Re: Debian Weezy for DNS-327L
« Reply #2 on: February 06, 2015, 02:28:15 AM »

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.

« Last Edit: February 06, 2015, 02:50:03 AM by deivid3g »
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Debian Weezy for DNS-327L
« Reply #3 on: February 06, 2015, 05:35:08 AM »

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
1. download the archive "Debian Weezy for ARM" network partition \\Volume_1
2. Will connect to the NAS via telnet or ssh
3. Running
Code: [Select]
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
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

Nukolar

  • Level 1 Member
  • *
  • Posts: 5
Re: Debian Weezy for DNS-327L
« Reply #4 on: February 06, 2015, 12:31:37 PM »

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.
Logged

m_alien

  • Level 1 Member
  • *
  • Posts: 9
Re: Debian Weezy for DNS-327L
« Reply #5 on: February 09, 2015, 03:57:15 AM »

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

Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Debian Weezy for DNS-327L
« Reply #6 on: February 09, 2015, 06:03:28 AM »

/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:
Code: [Select]
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

Code: [Select]
apt-get --version
apt-get --help
mc

When coming out of the "chroot" strongly recommended:
Code: [Select]
/mnt/HD/HD_a2/debian/chroot_umount.sh
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

Nukolar

  • Level 1 Member
  • *
  • Posts: 5
Re: Debian Weezy for DNS-327L
« Reply #7 on: February 11, 2015, 01:51:55 PM »

/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:
Code: [Select]
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

Code: [Select]
apt-get --version
apt-get --help
mc

When coming out of the "chroot" strongly recommended:
Code: [Select]
/mnt/HD/HD_a2/debian/chroot_umount.sh

Thank you, installation worked perfectly this way. Very easy and quick :)
Logged

Nukolar

  • Level 1 Member
  • *
  • Posts: 5
Re: Debian Weezy for DNS-327L
« Reply #8 on: February 12, 2015, 01:31:53 AM »

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?
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Debian Weezy for DNS-327L
« Reply #9 on: February 12, 2015, 04:05:33 AM »


Script chroot.sh made for manual start bash in Debian environment. For automatic startup, you should do another script.
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

deivid3g

  • Level 1 Member
  • *
  • Posts: 6
Re: Debian Weezy for DNS-327L
« Reply #10 on: February 13, 2015, 12:38:37 AM »

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=

Logged

Nukolar

  • Level 1 Member
  • *
  • Posts: 5
Re: Debian Weezy for DNS-327L
« Reply #11 on: February 14, 2015, 12:27:20 AM »

Thank you for your big help  :)
Logged

mrhumba

  • Level 1 Member
  • *
  • Posts: 8
Re: Debian Weezy for DNS-327L
« Reply #12 on: January 19, 2016, 04:48:29 AM »

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!!

« Last Edit: January 19, 2016, 04:57:49 AM by mrhumba »
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Debian Weezy for DNS-327L
« Reply #13 on: January 19, 2016, 01:33:34 PM »

D-link third-party development is not supported. And I personally, after 2016.01.01 is only interested in the commercial Addons.
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

mrhumba

  • Level 1 Member
  • *
  • Posts: 8
Re: Debian Weezy for DNS-327L
« Reply #14 on: January 20, 2016, 08:09:16 AM »

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!
Logged