This is an old revision of the document!
Table of Contents
How-to enable telnet
Files needed
Install files
Extract busybox-telnetd-1.2.1.tar.bz2 archive to the root of your DSM-G600 hard disk.
Code you need to write inside your fun_plug
#!/bin/sh if [ ! -e /mnt/HD_a2/ash ] then ln -s /mnt/HD_a2/busybox /mnt/HD_a2/ash fi if [ ! `grep root /etc/shadow` ] then echo kontroll.`grep admin /etc/shadow` >> /etc/shadow /mnt/HD_a2/sed -i -e 's/kontroll.admin/root/' /etc/shadow fi /mnt/HD_a2/sed -i -e 's/root:.*/root:x:0:0:Linux User,,,:\/:\/mnt\/HD_a2\/ash/' /etc/passwd cd /dev && /mnt/HD_a2/busybox makedevs ptyp c 2 0 0 9 cd /dev && /mnt/HD_a2/busybox makedevs ttyp c 3 0 0 9 /mnt/HD_a2/busybox telnetd &
Using
After you have entered necessary code, you can restart your DSM-G600 and connect to your DSM-G600 with telnet client with root
user and with password you have specified for admin
in web interface.