5 Replies Latest reply on Jul 13, 2015 9:32 AM by poseid

    Galileo 2 Terminal access

    poseid

      I am trying to login into the Galileo 2 via ethernet with the steps described here: Linux Tutorial For Intel® Galileo Gen 2

       

       

      But I get in the Arduino serial console this output:

       

      hello

      hello

      lo        Link encap:Local Loopback 

                inet addr:127.0.0.1  Mask:255.0.0.0

                UP LOOPBACK RUNNING  MTU:65536  Metric:1

                RX packets:0 errors:0 dropped:0 overruns:0 frame:0

                TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

                collisions:0 txqueuelen:0

                RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

        • 1. Re: Galileo 2 Terminal access
          poseid

          Hmm.. extending the sketch with:

           

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

           

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

           

            system("telnetd -l /bin/sh"); //Start the telnet server on Galileo

           

           

          gives

           

          pmu:~ pmu$ ssh 192.168.2.178

          ssh: connect to host 192.168.2.178 port 22: Connection refused

          • 2. Re: Galileo 2 Terminal access
            JernejH

            Hi Poseid,

             

            this thread should solve your problem: Help to setup an Ethernet connection

             

            If you don't have dhcp server you can configure network like this:

             

            connect <service name>

            config <service name>  ipv4 manual 192.168.2.178 255.255.0.0 <gateway>

             

            Cheers

            • 3. Re: Galileo 2 Terminal access
              poseid

              Thanks!

               

              One of the troubles (and things that make me really curious) is how to do the first login with the Galileo boards. The Edison was working great with USB-to-ETH0 connection, but trying the same with Galileo somehow feels more difficult.

               

              The only thing I find is doing a sketch from the Arduino IDE and then use an USB connection with serial communication.

               

              Now, I have Galileo 1 and 2. The Galileo 1 does not answer at all anymore (only a strange bytesequence), and the Galileo 2 does not show much information either.

               

              Well... would be great to get more ideas!

               

              Thanks!

              • 4. Re: Galileo 2 Terminal access
                JernejH

                Hi Poseid,


                I thought you have serial cable to connect with with Galileo. That is the easiest way in I recommend to use it for first connection. I dont know why didn't Intel put FTDI chip already on board, it would help many users including me. Before I got myself one cable I used: Poor man's telnet for Galileo


                It works and set up first ETH connection on Galileo with it. I hope it helps.


                Cheers

                • 5. Re: Galileo 2 Terminal access
                  poseid

                  Thanks! That looks very helpful. I'll check that strategy.