7 Replies Latest reply on Aug 20, 2014 3:48 AM by AK51

    Can't get ip address

    AK51

      Hi,

       

      I tried to connect a CAT 5 to the Galileo but there was no IP address, pls help

      The CAT 5 itself works, I tried on my computer and it could connect to the internet.

       

      void setup() {

      Serial.begin(9600);

      }

       

      void loop() {

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

      delay(3000);

      }

       

      I kept getting these

       

      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)

       

       

      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)

       

       

      Thanks