telnetd not working on imx6 sabrelite rev d board, need help..

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

telnetd not working on imx6 sabrelite rev d board, need help..

ソリューションへジャンプ
1,779件の閲覧回数
skurudi
Contributor II

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

ラベル(2)
0 件の賞賛
返信
1 解決策
1,048件の閲覧回数
skurudi
Contributor II

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,049件の閲覧回数
skurudi
Contributor II

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

0 件の賞賛
返信