DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#151 2013-12-05 12:05:30

reddragon1nz
Member
Registered: 2010-04-22
Posts: 6

Re: native Lenny for DNS-313 is ready.

Hello guys

I've had a dns 313 for a long time but never really used it as for videos the stream keeps stopping.  I have been reading up on your forum about Native Lenny.

I have been trying to install http://dns323.kood.org/howto:chroot_debian with no avail. 

I have noticed Charminbear's install guide (http://www.msbd.de/dns313/Install_lenny_en.rtf) but the link doesn't seam to work now. 

Does anyone have instructions on how to get either to work.

Thanks

Offline

 

#152 2013-12-06 22:36:07

aFoP
Member
Registered: 2010-01-27
Posts: 16

Re: native Lenny for DNS-313 is ready.

reddragon1nz wrote:

Hello guys

I've had a dns 313 for a long time but never really used it as for videos the stream keeps stopping.  I have been reading up on your forum about Native Lenny.

I have been trying to install http://dns323.kood.org/howto:chroot_debian with no avail. 

I have noticed Charminbear's install guide (http://www.msbd.de/dns313/Install_lenny_en.rtf) but the link doesn't seam to work now. 

Does anyone have instructions on how to get either to work.

Thanks

Do you have a 313 or a 323? For 313 check out my post http://forum.dsmg600.info/viewtopic.php … 314#p48314
I have even added a script for install. All you have to do is to insert a disk to your NAS and plug it over USB to a linux box...
It will erase everything from the disk and you will have a native Lenny.

Last edited by aFoP (2013-12-06 22:37:07)

Offline

 

#153 2013-12-08 10:32:44

reddragon1nz
Member
Registered: 2010-04-22
Posts: 6

Re: native Lenny for DNS-313 is ready.

Hi aFoP,

Thankyou for your quick response.  My DNS-313 is revision A.

Will your script work for my machine?  If not what else would you suggest.

Thanks.

Offline

 

#154 2013-12-08 23:04:21

reddragon1nz
Member
Registered: 2010-04-22
Posts: 6

Re: native Lenny for DNS-313 is ready.

Hi

I have successfully installed and have a green status light.

How do i now access this over the network.  How do i find out the ip of the device or what is the name.

Thanks

Offline

 

#155 2013-12-09 00:58:51

aFoP
Member
Registered: 2010-01-27
Posts: 16

Re: native Lenny for DNS-313 is ready.

Hi, your device should get IP from DHCP server in case you have one in your network...most probably this DHCP server will be your router smile
The hostname is DNS-313.
So you can discover your LAN with nmap tool on linux:
nmap 192.168.2.0/24 (if your router's IP is 192.168.2.1)
nmap 192.168.1.0/24 ((if your router's IP is 192.168.1.1)
becasue the router most probably provides you with one of the above LAN segments...
And check the IPs what you find, one of them should be the NAS.
for me it is 192.168.2.114, and I logged in via ssh on port 22...
Then you have a lot to do to update, customize your NAS etc..
As I remember transmission is already reachable on port 9091.
Here is the config file i use:

root@DNS-313:~# cat /etc/transmission/settings.json
{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "dht-enabled": true,
    "download-dir": "\/home\/BT\/complete\/",
    "encryption": 1,
    "incomplete-dir": "\/home\/BT\/incomplete\/",
    "incomplete-dir-enabled": true,
    "lazy-bitfield-enabled": true,
    "message-level": 1,
    "open-file-limit": 10,
    "peer-limit-global": 100,
    "peer-limit-per-torrent": 30,
    "peer-port": 51515,
    "peer-port-random-enabled": 0,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 1024,
    "peer-port-random-on-start": false,
    "peer-socket-tos": 0,
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "proxy": "",
    "proxy-auth-enabled": false,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": false,
    "proxy-port": 80,
    "proxy-type": 0,
    "ratio-limit": 2.0000,
    "ratio-limit-enabled": false,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "PASSWORD",
    "rpc-port": 9091,
    "rpc-username": "nasadmin",
    "rpc-whitelist": "*.*.*.*",
    "rpc-whitelist-enabled": false,
    "speed-limit-down": 350,
    "speed-limit-down-enabled": true,
    "speed-limit-up": 150,
    "speed-limit-up-enabled": true,
    "umask": 18,
    "upload-slots-per-torrent": 4,
    "watch-dir": "\/home\/BT\/torrents\/",
    "watch-dir-enabled": true
}
root@DNS-313:~#

But please note I have a DNS-313 revB and I already updated/reconfigured the Debian on it to my needs...
I have even installed minidlna (?1.25) on it from source ... and Webmin as well  smile

Last edited by aFoP (2014-01-24 20:47:49)

Offline

 

#156 2013-12-10 00:24:55

reddragon1nz
Member
Registered: 2010-04-22
Posts: 6

Re: native Lenny for DNS-313 is ready.

HI aFoP. 

Awesome.  Thanks for your help.  I'm unsure what the password is for transmission.


Thanks

Offline

 

#157 2013-12-10 22:56:31

aFoP
Member
Registered: 2010-01-27
Posts: 16

Re: native Lenny for DNS-313 is ready.

In case you can ping the device login via telnet to it.
Then you have to become root and you can set your own password. But make sure you stop transmission before it, find the pid of it and kill it...
kill -9 <pid>
or do it in one line:

Code:

kill -9 `ps aux | grep transmission | grep -v grep | awk -F" " '{print $2}'`

Then enter the password here into /etc/transmission/settings.json:

"rpc-password": "{633de78b9a72a2d94dc19c1bd503dbf4cd3a3e90v9ufG5vy",

like

"rpc-password": "YOURNEWPASSWORD",

and reboot the NAS!

Last edited by aFoP (2013-12-10 23:31:34)

Offline

 

#158 2014-01-16 13:22:28

wodiew
New member
Registered: 2014-01-16
Posts: 1

Re: native Lenny for DNS-313 is ready.

aFoP wrote:

Do you have a 313 or a 323? For 313 check out my post http://forum.dsmg600.info/viewtopic.php … 314#p48314
I have even added a script for install. All you have to do is to insert a disk to your NAS and plug it over USB to a linux box...
It will erase everything from the disk and you will have a native Lenny.

Hi aFoP,
Could you, please, describe step by step installation process?
I've downloaded debian_v2_revB.tar.gz and dns313_install.sh. Then I load ubuntu 13.10 livecd (using virtualbox),  and tried to run your script and that's what happend:

Code:

$ sh dns313_install.sh 
Your DNS-313 system will be installed now.
dns313_install.sh: 5: read: Illegal option -e
Check the name of your HDD which will be used for NAS from fdisk output below: 

dns313_install.sh: 14: read: Illegal option -e
last_lba(): I don't know how to handle files with mode 40755
You will not be able to write the partition table.
fdisk: unable to read /dev/: Is a directory
umount: /dev/2 is not mounted (according to mtab)
umount: /dev/3 is not mounted (according to mtab)
/dev/1: No such file or directory
mke2fs 1.42.8 (20-Jun-2013)
Could not stat /dev/2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
mke2fs 1.42.8 (20-Jun-2013)
Could not stat /dev/3 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
mkdir: cannot create directory ‘/mnt/dns313_inst’: Permission denied
mount: only root can do that
tar (child): -C: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
The NAS will use DHCP, however you have to add a nameserver to have DNS functionality
dns313_install.sh: 31: read: Illegal option -e
dns313_install.sh: 33: dns313_install.sh: cannot create /mnt/dns313_inst/etc/resolv.conf: Directory nonexistent
umount: /dev/3 is not mounted (according to mtab)
Install ready ...

Also I have strange behaviour of fanspeed.

Code:

root@media:~# fanspeed g
write_fan_speed: IOCTL fail
-1091683008

Any advice?

Last edited by wodiew (2014-01-16 21:19:04)

Offline

 

#159 2014-01-19 18:54:24

aFoP
Member
Registered: 2010-01-27
Posts: 16

Re: native Lenny for DNS-313 is ready.

Hi!
You ran the script as normal user...it must have been run as root (either by logging in as root or you should change to root by "sudo su -".)
I don't know whether you can become root by only using a Live CD, you should run the script on an installed system instead...

Last edited by aFoP (2014-01-19 23:07:33)

Offline

 

#160 2014-03-01 22:45:16

inionis
New member
Registered: 2014-01-30
Posts: 2

Re: native Lenny for DNS-313 is ready.

Hi.
I have install debian_v2.tar on my DNS-313.
How to upgrade transmission from 1.73 to 2.82??

Offline

 

#161 2014-03-09 20:56:48

aFoP
Member
Registered: 2010-01-27
Posts: 16

Re: native Lenny for DNS-313 is ready.

inionis wrote:

Hi.
I have install debian_v2.tar on my DNS-313.
How to upgrade transmission from 1.73 to 2.82??

I guess you can only do it by installing transmission from source. Here is a how-to for debian squeeze (not for debian lenny), but I didn't try it myself:
http://www.gomiworld.net/installing-tra … an-squeeze

Last edited by aFoP (2014-03-09 20:58:11)

Offline

 

#162 2015-01-04 04:22:57

sticki
New member
Registered: 2009-03-28
Posts: 1

Re: native Lenny for DNS-313 is ready.

Hello,
could anybody send me this tutorial (or the german tutorial)
http://www.msbd.de/dns313/Install_lenny_en.rtf
Link is not working ...

Thank you so much

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB