D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: chaotixk on June 17, 2014, 10:29:00 PM
-
Hello, please help me figure out what might be the cause of my issue. I haven't been able to connect to the FTP server through LAN in over a month after my DNS323 NAS restarted. It worked prior to that. I've looked and read over many suggestions but no luck in getting it to work so far.
I'm getting a 'Connection Refused' error when trying to connect using Transmit on Mac OS. I've got Fonz Plugin installed as well as Twonky Media Server. I'm not sure what else to check asides from Port forwarding to 21 (which I've done but this shouldn't be necessary since I'm just trying to access via LAN, right?). I've ensured that the FTP users are setup, FTP is STARTED, and that it isn't the Firewall on the router (turned it off). I've tried DMZ also. I've also tried FileZilla and other FTP programs. I've Manually Assigned an IP around the DHCP list so that I can have a static IP address of 192.168.1.XX for the NAS. I've got the latest Firmware on both the DNS 323 and the ASUS. Any other things I need to check? My FTP server was functioning fine before. Thanks in advance.
EDIT: Twonky Media Server is functioning as usual. I can access my content/file directories through the web-interface and can stream to any of my DLNA connected devices so I know that the data is available and is on the two Hard Drives inside of the DNS NAS.
-
Log in via telnet and check to ensure the FTP process is actually running.
-
Thanks dosborne, how does one check exactly via Telnet? I've telnet 192.168.1.XX with Terminal and it looks like I'm able to access the NAS. From my research, it appears that sshd.sh is not started. Is that where my problem is?
I've tried the following: / # ./ffp/start/sshd.sh start
which resulted in:
You don't exist, go away!
You don't exist, go away!
You don't exist, go away!
Starting /ffp/sbin/sshd
Could not load host key: /ffp/etc/ssh/ssh_host_rsa_key
Could not load host key: /ffp/etc/ssh/ssh_host_dsa_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
I don't appear to have an ssh_host_rsa or dsa_key
/mnt/HD_a2/ffp/etc/ssh # ls -l
-rw-r--r-- 1 0 root 125811 May 19 2009 moduli
-rw-r--r-- 1 0 root 1498 May 19 2009 ssh_config
-rw-r--r-- 1 0 root 3306 May 19 2009 sshd_config
This is what I have in the root directory if it helps any...
bin etc image.cfs mnt sbin usr welcome.msg
default ffp lib proc sys var
dev home lost+found root tmp web
Any ideas? Thanks.
-
Use the process status command "ps"
type:
ps -ef
and look for the ftp process or type:
ps -ef | grep ftp
It will either list the ftp process id or not depending on if it is running.
-
Use the process status command "ps"
type:
ps -ef
and look for the ftp process or type:
ps -ef | grep ftp
It will either list the ftp process id or not depending on if it is running.
This is what those commands returned. It looks like I don't have the FTP process running. How do I start it? Is my NAS corrupted? This all happened after a restart a while back.
/ # ps -ef
PID USER COMMAND
1 0 init
2 0 [ksoftirqd/0]
3 0 [events/0]
4 0 [khelper]
5 0 [kthread]
11 0 [kblockd/0]
14 0 [khubd]
49 0 [pdflush]
50 0 [pdflush]
52 0 [aio/0]
189 0 [scsi_eh_0]
190 0 [scsi_eh_1]
51 0 [kswapd0]
200 0 [mtdblockd]
217 0 [kcryptd/0]
218 0 [kmirrord/0]
227 0 [loop0]
1079 0 xmldb -n config
1318 0 chkbutton
1363 0 op_server 3 3 3
1377 0 mDNSResponder
1378 0 mDNSResponder
1380 0 -/bin/sh
1384 0 mDNSResponder
1421 0 lpd Waiting
1433 0 mserver
1434 0 apkg
1466 0 /web/webs
1493 0 crond
1614 0 /ffp/sbin/telnetd -l /ffp/bin/sh
1634 0 /mnt/HD_a2/twonky/twonkymedia
1635 0 /mnt/HD_a2/twonky/twonkymediaserver
1636 0 /mnt/HD_a2/twonky/twonkymediaserver
1637 0 /mnt/HD_a2/twonky/twonkymediaserver
1638 0 /mnt/HD_a2/twonky/twonkymediaserver
1639 0 /mnt/HD_a2/twonky/twonkymediaserver
1640 0 /mnt/HD_a2/twonky/twonkymediaserver
1641 0 /mnt/HD_a2/twonky/twonkymediaserver
1642 0 /mnt/HD_a2/twonky/twonkymediaserver
1643 0 /mnt/HD_a2/twonky/twonkymediaserver
1644 0 /mnt/HD_a2/twonky/twonkymediaserver
1645 0 /mnt/HD_a2/twonky/twonkymediaserver
1648 0 /mnt/HD_a2/twonky/twonkymediaserver
1649 0 /mnt/HD_a2/twonky/twonkymediaserver
1650 0 /mnt/HD_a2/twonky/twonkymediaserver
1655 0 /mnt/HD_a2/twonky/twonkymediaserver
1656 0 /mnt/HD_a2/twonky/twonkymediaserver
1657 0 /mnt/HD_a2/twonky/twonkymediaserver
1734 0 /ffp/bin/sh
1783 0 /mnt/HD_a2/twonky/twonkymediaserver
4263 0 /ffp/bin/sh
4310 0 /ffp/bin/sh
12756 0 fancontrol 0
13517 0 [mediafusion-int]
13794 0 /ffp/bin/sh
13795 0 ps -ef
/ # ps -ef | grep ftp
13797 0 grep ftp