(NAS) D-Link DNS-320L

ctong1976

Senior Member
Joined
Apr 3, 2006
Messages
530
Reaction score
0
The last time I checked was a week ago but didn't notice any mention of date.

Can't comment on streaming part as I don't own this model.

For BTing, the DNS-320 is up to task and with DNS-320L having more cpu and memory, it should be even better. But in IMO it's better to dump the provided BT client and switch to Transmission, you wouldn't regret it.

Hi albert, did you managed to get transmission working on DNS-320L, mine keeps hanging up
 

islubio

Senior Member
Joined
Nov 17, 2006
Messages
671
Reaction score
8
just hoot this and have done basic setup. Is the transmission setup same as DNS320?
 

albertlee

Supremacy Member
Joined
Jan 1, 2000
Messages
9,586
Reaction score
180
Hi albert, did you managed to get transmission working on DNS-320L, mine keeps hanging up

Doesn't own one so can't work on it. It's the same crypto errors reported earlier?

Please list the 2 devices file - random & urandom under /dev folder. If it simply a case of file permission then it's easy to resolve.
 

albertlee

Supremacy Member
Joined
Jan 1, 2000
Messages
9,586
Reaction score
180
just hoot this and have done basic setup. Is the transmission setup same as DNS320?

Should be and if you apply my FFP-modded, Transmission is already pre-installed. But do take note that there are differences btw the 2 NAS model and Transmission is reported to be "mis-behaving".
 

ctong1976

Senior Member
Joined
Apr 3, 2006
Messages
530
Reaction score
0
Doesn't own one so can't work on it. It's the same crypto errors reported earlier?

Please list the 2 devices file - random & urandom under /dev folder. If it simply a case of file permission then it's easy to resolve.

How do I do that? Sorry but I'm not too familar with linux
 

ctong1976

Senior Member
Joined
Apr 3, 2006
Messages
530
Reaction score
0
Just do a remote shell into your NAS via telnet/ssh and type:
ls -l /dev/random
ls -l /dev/urandom

Post the output here.

Random
crw-rw---- 1 root root 1, 8 Jan 1 2000 /dev/random

urandom
crw-rw---- 1 root root 1, 9 Jan 1 2000 /dev/urandom
 

ctong1976

Senior Member
Joined
Apr 3, 2006
Messages
530
Reaction score
0
Random
crw-rw---- 1 root root 1, 8 Jan 1 2000 /dev/random

urandom
crw-rw---- 1 root root 1, 9 Jan 1 2000 /dev/urandom

Did the same for my DNS-320...
Random
crw-rw-r-- 1 root root 1, 8 Aug 15 2011 /dev/random

urandom
crwxr-xr-x 1 root root 1, 9 Dec 27 2005 /dev/urandom
 

albertlee

Supremacy Member
Joined
Jan 1, 2000
Messages
9,586
Reaction score
180
I'm pretty certain that the cause of Transmission's crypto errors is due to file permission of device random/urandom on the DNS-320L. So simply setting the file permission for "others" to "read" access should suffice.

If anyone need help on this, please let me know.
 

islubio

Senior Member
Joined
Nov 17, 2006
Messages
671
Reaction score
8
Need some help guys

Followed this guide : DNS-320 -FunPlug 0.7 + Transmission

However after rebooting after i have activated SSH, I am unable to putty via ssh. Putty SSh only works the first time after I have activated it. Upon trying to putty via SSH after reboot i always get the error connection not allowed. Any advice guys?
 

albertlee

Supremacy Member
Joined
Jan 1, 2000
Messages
9,586
Reaction score
180
Need some help guys

Followed this guide : DNS-320 -FunPlug 0.7 + Transmission

However after rebooting after i have activated SSH, I am unable to putty via ssh. Putty SSh only works the first time after I have activated it. Upon trying to putty via SSH after reboot i always get the error connection not allowed. Any advice guys?

Insufficient info so can't provide further assistance. :s7:
 

islubio

Senior Member
Joined
Nov 17, 2006
Messages
671
Reaction score
8
Hmm

Ok i followed the guide till

chmod a+x /ffp/start/sshd.sh
sh /ffp/start/sshd.sh start

After which i was able to putty via SSH.
But once i end command for a reboot.
I will have to re-run putty again to login either via telnet or SSH.
However when i try to putty via SSH, it will give me the following error. Network Error : Connection refused.
However i will be able to telnet even after i did
chmod -x /ffp/start/telnetd.sh
reboot

which is suppose to disable telnet??

But i can still telnet in. try many times time and even without entering : chmod -x /ffp/start/telnetd.sh
reboot

I just cant get in via SSH the 2nd upon activation..
 

islubio

Senior Member
Joined
Nov 17, 2006
Messages
671
Reaction score
8
Btw albert the link for the modded fun plug on the first pg is down. Wanted to try ur method but was unable to do so. Maybe u can send me the file or reupload it?
 

LX2010

Member
Joined
Dec 8, 2009
Messages
111
Reaction score
0
I'm pretty certain that the cause of Transmission's crypto errors is due to file permission of device random/urandom on the DNS-320L. So simply setting the file permission for "others" to "read" access should suffice.

If anyone need help on this, please let me know.

do share how you can do that. thanks a lot!

@islubio

I added

the lines :
chmod 600 /ffp/var/lib/sshd/
chmod 600 /ffp/etc/ssh/ssh_*

just before the line “proc_start $command”

in the file ffp/start/sshd.sh

Restarted and SSH works after that. Also, the link's not down. You have to copy the link's location and paste it in your address bar.
 
Last edited:

albertlee

Supremacy Member
Joined
Jan 1, 2000
Messages
9,586
Reaction score
180
Hmm

Ok i followed the guide till

chmod a+x /ffp/start/sshd.sh
sh /ffp/start/sshd.sh start

After which i was able to putty via SSH.
But once i end command for a reboot.
I will have to re-run putty again to login either via telnet or SSH.
However when i try to putty via SSH, it will give me the following error. Network Error : Connection refused.
However i will be able to telnet even after i did
chmod -x /ffp/start/telnetd.sh
reboot

which is suppose to disable telnet??

But i can still telnet in. try many times time and even without entering : chmod -x /ffp/start/telnetd.sh
reboot

I just cant get in via SSH the 2nd upon activation..

Telnet in and ensure that the executable bit of sshd.sh is indeed set correctly.

Run the script: /ffp/start/sshd.sh start and post the output here.
 

albertlee

Supremacy Member
Joined
Jan 1, 2000
Messages
9,586
Reaction score
180
Btw albert the link for the modded fun plug on the first pg is down. Wanted to try ur method but was unable to do so. Maybe u can send me the file or reupload it?

Nope, it's still working, just don't click directly (read instruction in blacket) as Mediafire will report error.
 

albertlee

Supremacy Member
Joined
Jan 1, 2000
Messages
9,586
Reaction score
180
do share how you can do that. thanks a lot!

@islubio

I added

the lines :
chmod 600 /ffp/var/lib/sshd/
chmod 600 /ffp/etc/ssh/ssh_*

just before the line “proc_start $command”

in the file ffp/start/sshd.sh

Restarted and SSH works after that. Also, the link's not down. You have to copy the link's location and paste it in your address bar.

For random/urandom issue, will work on that but can you confirm something. After a clean NAS restart (with just telnetd), type: chmod 664 /dev/random /dev/urandom, run transmission script and check log for error.

As for SSH, oh yes you did mentioned about this before. After you made the modification, does sshd work on every reboot?
 

LX2010

Member
Joined
Dec 8, 2009
Messages
111
Reaction score
0
For random/urandom issue, will work on that but can you confirm something. After a clean NAS restart (with just telnetd), type: chmod 664 /dev/random /dev/urandom, run transmission script and check log for error.

As for SSH, oh yes you did mentioned about this before. After you made the modification, does sshd work on every reboot?

Yep, SSH works on every reboot. Gonna try the random/urandom one now.
 

LX2010

Member
Joined
Dec 8, 2009
Messages
111
Reaction score
0
Here's the log

[12:59:46.014] Transmission 2.73 (13589) started (session.c:720)
[12:59:46.015] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[12:59:46.015] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:803)
[12:59:46.015] UDP Failed to set receive buffer: requested 4194304, got 225280 (tr-udp.c:77)
[12:59:46.015] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[12:59:46.015] UDP Failed to set send buffer: requested 1048576, got 225280 (tr-udp.c:88)
[12:59:46.016] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[12:59:46.016] DHT Generating new id (tr-dht.c:309)
[12:59:46.016] Using settings from "/mnt/HD/HD_a2/.transmission-daemon" (daemon.c:517)
[12:59:46.016] Saved "/mnt/HD/HD_a2/.transmission-daemon/settings.json" (bencode.c:1731)
[12:59:46.016] transmission-daemon requiring authentication (daemon.c:537)
[12:59:46.016] Loaded 1 torrents (session.c:1941)
[12:59:46.016] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[12:59:46.017] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[12:59:48.034] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.1.1:5431/uuid:000f-66a3-e07b0200b4b4/WANIPConnection:1" (upnp.c:202)
[12:59:48.034] Port Forwarding (UPnP) Local Address is "192.168.1.106" (upnp.c:204)
[12:59:48.035] Port Forwarding (UPnP) Port forwarding through "http://192.168.1.1:5431/uuid:000f-66a3-e07b0200b4b4/WANIPConnection:1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.1.106:51413) (upnp.c:279)
[12:59:48.035] Port Forwarding (UPnP) Port forwarding successful! (upnp.c:282)
[12:59:48.035] Port Forwarding Forwarded (port-forwarding.c:93)

Managed to download a file too XD
 
Last edited:
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ. Forum members and moderators are responsible for their own posts.

Please refer to our Community Guidelines and Standards, Terms of Service and Member T&Cs for more information.
Top