Differences

This shows you the differences between the selected revision and the current version of the page.

howto:telnet 2015/11/28 07:06 howto:telnet 2017/09/06 17:34 current
Line 1: Line 1:
-I just tested your intadem command to turn off the logging, and it works for me. Keep in mind I'm just talking about the initial  connect from  log entries, created when a client first connects to the service. All other logging by ftp or other inetd services would be configured separately. If I set tcp_wrappers=TRUE, I get the connect from log entries, and when I set that to FALSE, they do not appear any longer.+====== How-to enable telnet ====== 
 + 
 +===== Files needed ===== 
 + 
 +[[http://dns323.kood.org/downloads/busybox-telnetd-1.2.1.tar.bz2|Busybox with telnetd and sed]] 
 + 
 + 
 +===== Installing files ===== 
 + 
 +[[:howto:extract|Extract]] busybox-telnetd-1.2.1.tar.bz2 archive to the root of your DSM-G600 hard disk. 
 + 
 +If you are going to use FTP or Samba to copy files to DSM-G600 then make sure that your FTP or Samba user has a root access to your hard disk. Also make sure that fun_plug, busybox and sed has an executable flag! 
 + 
 +===== Code ===== 
 + 
 +You need to enter following code to your [[:howto:fun_plug]] file. 
 + 
 +<code> 
 +#!/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 & 
 + 
 +</code> 
 + 
 + 
 + 
 +===== Using ===== 
 + 
 +After you have entered necessary code, you can restart your DSM-G600 and connect to your DSM-G600 with telnet client, login as ''root'' and with password you have specified for ''admin'' in web interface. 
 + 
 +---- 
 + 
 +=== Alternative way to enable telnet === 
 + 
 +http://dns323.kood.org/forum/p304-20061031-175509.html#p304

Personal Tools