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