telnetd information request

Fernando RUIZ correo at fernando-ruiz.com
Wed Dec 18 14:36:58 UTC 2002


On Wed, 18 Dec 2002 06:27:09 -0800 (PST), Joel Sherrill wrote:

> 
> 
> 
> Quality Quorum wrote:
> > 
> > On Tue, 17 Dec 2002, Joel Sherrill wrote:
> > 
> > >
> > > I got this personally and thought it was better addressed to the list.
> > >
> > > --joel
> > >
> > >
> > > Madhu Raju wrote:
> > > >
> > > > Hey,
> > > > I need to create a telnet connection to access RTEMS directory from any remote
> > > > terminal. How can i go about doing that?
> > > > Please help.
> > > > Thanking you,
> > > > Madhu Raju
> > >
> > > The short answer is that you have to setup the telnetd server and
> > > initialize
> > > it.  There is a simple shell that can be associated with it.
> > >
> > 
> > I am sorry do we have telnet server as part of RTEMS already ?
> 
> Amazingly enough yes. :)  It is in c/src/libnetworking/rtems_telnetd.
> I personally view it not as much as a UNIX-ism as a neat way to provide
> a hook to a custom shell/monitor/diagnostic that is application
> specific.
> It would be a neat way to provide a service technician interface.
>
Exactly. Only a very simple interface to run functions like

int my_main(int argc,char *argv[]);

with printf() ready for EVERY user. This is a multiuser environment. POOR centainly but enought.

Very simple and easy to add new commands.

All the commands in rtems_monitor are included. You can inspect the tasks, the memory and all the 
monitor commans used to inspect the status of RTOS rtems.

And if the rtems_telnetd() is started a very useful tcp/ip commands are added.

ip, udp, tcp and more status can be examined.

and create directories and delete files.

Only your imagination puts the limits.

This was my POOR contribution in order to give a more user friendly interface with TCP/IP
and serial/console lines.

BRGDS.
 
> 
> Till if you have some pathes for it, please shoot them to me.
> 
> > Thanks,
> > 
> > Aleksey
> 
> -- 
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel at OARcorp.com                 On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> Support Available                (256) 722-9985

mailto://correo@fernando-ruiz.com



More information about the users mailing list