您的位置:首页 > 其它

arm目标板开启telnet功能

2013-04-16 00:38 645 查看

arm目标板开启telnet功能

arm目标板开启telnet功能 2009-06-30 23:53
使用的是busybox1.11.1在busybox1.11.1目录下面执行make menuconfig.

在Busybox Settings--->

General Configuration--->

[*] Use the devpts filesystem for Unix98 PTYs

在Networking Utilities--->

| | [*] telnet | |

| | [*] Pass TERM type to remote host | |

| | [*] Pass USER type to remote host | |

| | [*] telnetd | |

| | [*] Support standalone telnetd (not inetd only)

进入到linux2.6.24目录下面.

Device Drivers --->

Character devices-->

[*] Legacy (BSD) PTY support

(8) Maximum number of legacy PTY in use 此数字可以改

在板子上执行:

mkdir /dev/pts

mount -t devpts devpts /dev/pts

telnetd

也可以放在/etc/init.d/rcS里面.这样一开机就可以自动运行了.

到此为止,就可以用电脑telnet目标板了.

以下网上要做的步骤但我没有做,可以参考:

创建设备: mknod ptmx c 5 2 chmod 777 ptmx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: