I have an Ethernet cable connected to my router. I connected the other end to my laptop and got a successful connection. When I plug it into my Arduino Galileo gen2, even with Ethernet port green light on, I got nothing when I run this:

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

This is my output:

eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
      BROADCAST MULTICAST  MTU:1500  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:1000 
      RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
      Interrupt:41 Base address:0x8000 

What I'm doing wrong?

  • You have no MAC address (HWaddr). This usually means you have a driver problem. That might be why you aren't getting an address. Mar 22, 2017 at 11:48
  • This might point you in the right direction; communities.intel.com/thread/45455 Mar 22, 2017 at 13:31

1 Answer 1


I really don't know why, but after I initialized the Ethernet interfaceifconfig eth0 up it started working properly. I don't know why this time this command was needed and the others didn't.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.