Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

About Telnetd

Hello :

I have questions about telnetd on the microtronix's linux distribution on NiosII :

I use busybox as my basic filesystem,and use the Microtronix's pre-built networking apps

like "route" "ping" "ftpd" "telnetd" "boa" ...etc.

and it seems that the pre-built "telnetd" will invoke "login" with a "-t" option

but, the Busybox's "login" doesn't accept a "-t" option.

so when i telnet to the target,then it shows a error message :

illegal option "-t"

how can i solve the problem?

i am thinking in two ways:

1. modify the source code in the $LINUX_NE_ROOT/apps/telnetd ,then rebuilde the appilcation without invoking login with "-t"

=>but i don't know how to do.....

2. use the busybox's networking apps ,

=>how to install them properly?

thanks very much http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Another alternative is adding the small login (the one not from busybox) to your filesystem. It is a very simple program (the source is only severl lines of C code).