D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: anav_ds on July 31, 2011, 05:28:24 PM
-
OKay fun plug is up and running and I can telnet i using putty.
The instructions on how to use pwconv and passwd are too light for me to make progress.
I can type them in but not sure what if anything they are actually doing.
-
Some progress, what threw me is I had to put in as login for the DNS 320 the word admin. NO instruction anywhere on that. I thought it was the password I had entered but noted that it asked for password after login name. Assuming my assumptions are correct i then entered into what I think is the dns 320.
Also what is strange is that it does not like showing passwords entered (almost like doing it in the blind).
The result after password I got was below.
Can I assume that since I got to the busy box login ALL is good ????????
No directory, logging in with HOME=/
No mail.
BusyBox v1.11.2 (2010-11-17 11:44:30 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
-
I tried to use the wget command to get the store passwd comannd for the dns 320 but it doesnt like the address provided (bad address)??
-
Just want to confirm that I am replacing a larger file as shown here...
#!/bin/sh
echo "Copying files to mtd1..."
mount -t minix /dev/mtdblock0 /sys/mtd1
cp -f /etc/passwd /sys/mtd1/.
cp -f /etc/group /sys/mtd1/.
cp -f /etc/shadow /sys/mtd1/.
cp -f /etc/samba/smbpasswd /sys/mtd1/.
#cp -f /etc/ftp_tbl /sys/mtd1/.
#cp -f /etc/ftpgroup /sys/mtd1/.
sync
umount /sys/mtd1
echo "Copying files to mtd2..."
mount -t minix /dev/mtdblock1 /sys/mtd2
cp -f /etc/passwd /sys/mtd2/.
cp -f /etc/group /sys/mtd2/.
cp -f /etc/shadow /sys/mtd2/.
cp -f /etc/samba/smbpasswd /sys/mtd2/.
#cp -f /etc/ftp_tbl /sys/mtd2/.
#cp -f /etc/ftpgroup /sys/mtd2/.
sync
umount /sys/mtd2
echo "Done."
With the smaller file shown next.......
#!/ffp/bin/sh
echo "Saving Userdata to /usr/local/config/"
cp -f /etc/passwd /usr/local/config/
cp -f /etc/group /usr/local/config/
cp -f /etc/shadow /usr/local/config/
cp -f /etc/samba/smbpasswd /usr/local/config/
-
and of course need telnet commands as windows not permitted - needs root user permssion.
-
I seem to use basic commands after telnte to view directories files etc. but after i login and reach busy box etc..... it seems dead. no commands work, how do i kickstart this thing
-
Have you tried restarting by deleting fun_plug and following the tutorial here? http://nas-tweaks.net/40/installation-of-the-fonz-funplug-0-5-for-ch3snas-ch3mnas-dns-323-and-many-more/
There is a little addition with some alternate scripts for the DNS-320 in that tutorial, and that may solve your problem. I followed it and am not having the problem you are.
-
I had checked of TTLD to TLLD whatever that cwappy MS thingabobber is on the stock NAS interface.
Once removed, everthing worked.