7 Replies Latest reply on Mar 23, 2015 10:09 PM by LeonY

    How transmit some bytes over telnet from Arduino IDE

    Veneridesign

      Hello,

      I have to connect the Galileo to a control board that receive coomands through ethernet connector using Telnet,

      now, what I'm able to do it's only opening a telnet session and verify with Pitty that the connection it's working, but how send text command from Galileo to the board?

       

      Last question, Is the Ethernet library compatible with the internal ethernet connector of Galileo or it' compatible with an external shield?

       

      Thankyou very much

       

      Luca

       

       

      #include <SPI.h>

      #include <Ethernet.h>

      void setup() {

      system("telnetd -l/bin/sh");

      system("ifconfig eth0 169.254.1.1 netmask 255.255.0.0 up");

      }

       

      void loop() {

      How send through ethernet my text commands?????????????????

      }