====== How-to enable telnet ====== ===== Files needed ===== {{:howto:busybox-1.4.1.tar.bz2|Busybox with built-in telnetd and sed}} ===== Installing files ===== [[:howto:extract|Extract]] busybox-1.4.1.tar.bz2 archive to the root of your TS-I300 hard disk. If you are going to use FTP or Samba to copy files to TS-I300 then make sure that your FTP or Samba user has a root access to your hard disk. Also make sure that fun_plug and busybox has an executable flag! ===== Code ===== You need to enter following code to your [[:howto:fun_plug]] file. #!/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/busybox sed -i -e 's/kontroll.admin/root/' /etc/shadow fi /mnt/HD_a2/busybox sed -i -e 's/root:.*/root:x:0:0:Linux User,,,:\/:\/mnt\/HD_a2\/ash/' /etc/passwd for i in 0 1 2 3 4 5 6 7 do /bin/mknod /dev/ttyp$i c 3 $i /bin/mknod /dev/ptyp$i c 2 $i done /mnt/HD_a2/busybox telnetd & ===== Using ===== After you have entered necessary code, you can restart your TS-I300 and connect to your TS-I300 with telnet client, login as ''root'' and with password you have specified for ''admin'' in web interface. ---- **Note:** This binary file included in this page is not tested with TS-I300 nor TS-I300W (because I don't have any of these devices) but there is near zero risk trying this binary and [[:howto:fun_plug]] code. You can leave a note to [[:howto:telnet|talk]] page or to [[http://forum.dsmg600.info|our forum]] if it did or didn't work :) **Upd.** This binary file works perfectly on TS-I300