telnet 登陆的方法

第一种方式:通过inetd启动telnetd服务
必须这样设置busybox配置
   Networking Utilities --->
       去掉 [ ]   Support standalone telnetd (not inetd only)
配置/etc/inetd.conf
       [root@RITA ~]# vi /etc/inetd.conf
       telnet stream tcp nowait root /usr/sbin/telnetd telnetd
运行命令:
/usr/sbin/inetd
第二种方式:直接运行telnetd,启动服务
必须这样设置busybox配置:
   Networking Utilities --->   选择 [*]   Support standalone telnetd (not inetd only)运行命令:    /usr/sbin/telnetd可能出现的问题1)客户端登录不,查看/var/log/message,得到如下信息:
cat /var/log/message
Nov 18 10:04:11 RITA daemon.err telnetd[1442]: bind: Address already in use
解决方法:
修改busybox的配置
Networking Utilities --->
       去掉 [ ]   Support standalone telnetd (not inetd only)

cat /var/log/message

2)如果出现如下信息
Nov 18 11:48:50 RITA daemon.err telnetd[1782]: can't find free pty
解决方法:
修改busybox配置

    Busybox Settings --->

         General Configuration --->
         去掉[ ] Use the devpts filesystem for Unix98 PTYs

posted on 2015-08-03 22:18  嵌入式操作系统  阅读(1809)  评论(0编辑  收藏  举报

导航