嵌入式linux单板上开启telnet功能

第一步,在文件系统中开启,开启这些命令。当然一般是开启的(busybox-1.28.4)

Networking Utilities  --->      
    ......
    [*] telnet (8.7 kb)                                                                             
    [*]   Pass TERM type to remote host                                                         
    [*]   Pass USER type to remote host 
    [*]   Enable window size autodetection 
    [*] telnetd (12 kb)                    
    [*]   Support standalone telnetd (not inetd only)   
    [*]     Support -w SEC option (inetd wait mode)    

第二步,在linux下开启这个功能

Device Drivers  --->  
    Character devices  --->    
         [*]   Legacy (BSD) PTY support   
        (256)   Maximum number of legacy PTY in use      

第三部,在命令行输入下面命令(通常建议把下面两句命令添加在/etc/profile或 /etc/init.d/rcS脚本里面)

mkdir /dev/pts                                                                                                                                                     
mount -t devpts devpts /dev/pts

远程连接工具连接。

猜你喜欢

转载自blog.csdn.net/qq_16777851/article/details/92131663