/*************************************************************************
 *                         Android telnet RPi 2B
 * 说明:
 *     本文记录RPi 2B如何使用安装telnet服务,Android如何通过busybox telnet
 * 进入RPi 2B系统,RPi 2B系统默认不带telnet服务,所以需要先ssh进入系统安装
 * 相关服务,本人通过WIFI将Android手机、笔记本、RPI 2B组合在一个局域网内,
 * 同时通过笔记本网卡与RPI 2B网卡连接进行初期网络配置,在前面已经有记录,
 * 这里不再阐述。
 *
 *                                    2016-5-14 深圳 南山平山村 曾剑锋
 ************************************************************************/


一、参考文章:
    如何使用telnet命令登录树莓派?
        http://tieba.baidu.com/p/4517066851

二、安装流程:
    1. sudo apt-get install openbsd-inetd
    2. sudo apt-get install telnetd
    3. sudo /etc/init.d/openbsd-inetd restart 

三、测试现象:
    u0_a85@dior:/ $ busybox telnet 192.168.1.106            

    Entering character mode
    Escape character is '^]'.

    Raspbian GNU/Linux 8
    raspberrypi login: pi
    Password:
    Last login: Sat May 14 11:04:01 UTC 2016 from 192.168.1.101 on pts/0
    Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    pi@raspberrypi:~ $ ls
    Desktop    Music     python_games
    Documents  Pictures  Templates
    Downloads  Public    Videos
    pi@raspberrypi:~ $