Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

About Telnetd

Altera_Forum
Honored Contributor II
1,026 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
310 Views

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).

0 Kudos
Reply