- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I have a rev D version of sabrelite imx6 board. I need to make telnetd function. I built the rootfs with telnetd enabled (through busybox config) I have made the following changes
1) In /etc/inetd.conf file changed the line
telnet stream tcp nowait root /usr/sbin/telnetd telnetd -i
to
telnet stream tcp nowait root /sbin/telnetd telnetd -i -l /bin/login
since telnetd binary is present in /sbin/directory
2) created /dev/pts directory and mounted devpts filesystem by command
mount -t devpts devpts /dev/pts
3) Our kernel supports UNIX98_PTYS , I verified through config file.
I have a ext2 root file system. On shell prompt. I executed the following commands
1) inetd -f &
2) ifconfig eth0 10.162.100.214 up
From the host I tried connecting through
telnet 10.162.100.214
I get the following output
Trying 10.162.100.214...
Connected to 10.162.100.214.
Escape character is '^]'.
I don't get the login prompt. It gets stuck at the above point.
I also tested with the following change in inetd.conf file
telnet stream tcp nowait root /sbin/telnetd telnetd -l /bin/login
without the -i option the connection breaks, i.e I get the following output
Trying 10.162.100.214...
Connected to 10.162.100.214.
Escape character is '^]'.
Connection closed by foreign host
Is there anything I am missing? Please help
解決済! 解決策の投稿を見る。
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
The problem was in devpts file system, I had mounted from the older kernel version, I remounted it from 3.0.35 and telnet worked.
Thanks
Sharath
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
The problem was in devpts file system, I had mounted from the older kernel version, I remounted it from 3.0.35 and telnet worked.
Thanks
Sharath