Saturday, April 25, 2009

Enabling Telnet(ssh) to a DNS-323

I actually own an NAS, a DNS-323. Which happens to runs linux. It just the system is locked down.


I don't really do much except to stash my stuff on it. Until now. Turns out that there is a community around this device, and they have done impressive stuff on it.

Most of it revolve around fun_plug.

To use it is. Essentially, Download fun_plug and fun_plug.tgz from here  .
And copy to Volume_1


And reboot


In the end of the day, you will able to telnet to the NAS, as root without password.

So you should run in telnet, pwconv,

pwconv
passwd
usermod -s /ffp/bin/sh root
pwck
grpck
login
if it is working, run the command in telnet to store password.
store-passwd.sh
        
You should really enable ssh, in telnet.
cd /ffp/start
sh sshd.sh start
And you should at least enable login for telnet, go to /ffp/start/telnetd.sh, find and remove '-l /ffp/bin/sh'.Use vi to do that..

Now we have a linux machine finally look like a linux machine, use shell, and ssh. That's not all.

The community have a few package to be used in funplug, you can investigate here, at middle of the page. They have ported backupPC, lighthttp, python etc.

So we have a full scale linux machine, and due to GPL compliance, dlinks have the tool chain plus kernel open to us http://wiki.dns323.info/howto:crosscompile. So we can cross compile software to this device too. And actually install debian, but with risk of bricking.

Have fun!!!!


No comments:

Post a Comment