<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックTelnet  Server implementation</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Telnet-Server-implementation/m-p/218027#M5622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i'm doing a project implementing a telnet server, the commands work fine in terminal, but when i try to run the telnet server (telnetd start) it seems that nothing happens, no errors are shown but neither a functional server, also i've noticed that the board (DEMO52259) doesn't reply the ping request, the ping arrives to the board but don't reply it. I've set the vars:&lt;/P&gt;&lt;P&gt;#define RTCSCFG_ENABLE_ICMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;#define RTCSCFG_ENABLE_UDP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;in user_config.h of the propper board folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;
//GLOBAL VARS

static void Telnetd_shell_fn (pointer dummy)
{ 
   Shell(Telnetd_shell_commands,NULL);
}

const RTCS_TASK Telnetd_shell_template = {"Telnet_shell", 8, 2000, Telnetd_shell_fn, NULL};

__________________________________________________________
__________________________________________________________
//MAIN TASK (AUTOSTART)
TELNETSRV_init("Telnet_server", 7, 2000, (RTCS_TASK_PTR) &amp;amp;Telnetd_shell_template ); 
 //Function placed after ENET_DEVICE initialization&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;That's the initialization that i wrote, Something is missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;The netstat command returns that all the packets received are discarded&amp;nbsp; because they got an illegal destination.&lt;/P&gt;&amp;nbsp;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: excuse my misspelling if some.&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Jairo on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-25&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:17 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Sep 2009 11:16:58 GMT</pubDate>
    <dc:creator>Jairo</dc:creator>
    <dc:date>2009-09-25T11:16:58Z</dc:date>
    <item>
      <title>Telnet  Server implementation</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Telnet-Server-implementation/m-p/218027#M5622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i'm doing a project implementing a telnet server, the commands work fine in terminal, but when i try to run the telnet server (telnetd start) it seems that nothing happens, no errors are shown but neither a functional server, also i've noticed that the board (DEMO52259) doesn't reply the ping request, the ping arrives to the board but don't reply it. I've set the vars:&lt;/P&gt;&lt;P&gt;#define RTCSCFG_ENABLE_ICMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;#define RTCSCFG_ENABLE_UDP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;in user_config.h of the propper board folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;
//GLOBAL VARS

static void Telnetd_shell_fn (pointer dummy)
{ 
   Shell(Telnetd_shell_commands,NULL);
}

const RTCS_TASK Telnetd_shell_template = {"Telnet_shell", 8, 2000, Telnetd_shell_fn, NULL};

__________________________________________________________
__________________________________________________________
//MAIN TASK (AUTOSTART)
TELNETSRV_init("Telnet_server", 7, 2000, (RTCS_TASK_PTR) &amp;amp;Telnetd_shell_template ); 
 //Function placed after ENET_DEVICE initialization&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;That's the initialization that i wrote, Something is missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;The netstat command returns that all the packets received are discarded&amp;nbsp; because they got an illegal destination.&lt;/P&gt;&amp;nbsp;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: excuse my misspelling if some.&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Jairo on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-25&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:17 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 11:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Telnet-Server-implementation/m-p/218027#M5622</guid>
      <dc:creator>Jairo</dc:creator>
      <dc:date>2009-09-25T11:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet  Server implementation</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Telnet-Server-implementation/m-p/218028#M5623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is several telnet server examples in MQX. Do they work for you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try for example: rtcs/examples/shell with default setting.&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;use comands:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;ipconfig init&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;ipconfig staticip or dhcp&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;telnetd&lt;/P&gt;&lt;P&gt;also ping should work there.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 02:19:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Telnet-Server-implementation/m-p/218028#M5623</guid>
      <dc:creator>PetrL</dc:creator>
      <dc:date>2009-10-01T02:19:45Z</dc:date>
    </item>
  </channel>
</rss>

