How to start telnetd in POSIX_Init

Chris Johns chrisj at rtems.org
Wed Jul 24 23:44:53 UTC 2019


On 25/7/19 1:54 am, Heinz Junkes wrote:
> I  use the posix implementation in RTEMS5.
> 
> How can I start telnetd in POSIX_Init?
> Is there an example/manual?

If you are using LibBSD there is rc.conf support ...

https://git.rtems.org/rtems-libbsd/tree/rtemsbsd/telnetd/telnetd-service.c

This means you can add to rc.conf:

 telnetd_enable=YES
 telnetd_options="-p 200"

> Very concretely:
> 
> Which priority do I have to choose in the
> 
> rtems_telnetd_config_table 
> 
> the Posix Prio or the rtems Prio?

It is an RTEMS Prio. I hope the code link above helps.

Chris



More information about the users mailing list