2 Replies Latest reply on Jun 25, 2014 11:52 PM by sunilputtur

    using galileo by using ethernet cable

    sunilputtur

      Hi,

       

      I am trying to enable galileo by using ethernet cable and I am using telnet server arduino code for this.

       

      But I am not able to get it on putty or any other terminal facing the error as "Connection refused" I have given IP address also in host.

       

      Below is the code that I m using. Kindly  help.

       

      void setup() {

        // put your setup code here, to run once:

          system("telnted -1/bin/sh");

          system("ifconfig eth0 169.254.1.10 net mask 255.255.255.0 up");

      }

       

       

      void loop() {

        // put your main code here, to run repeatedly:

        //system("ifconfig eth0 > /dev/ttyGS0");

        //delay(2000);

      }