Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9873 Discussions

Ethernet connection for Galileo Gen 2 when SD is attached

nnikp
Beginner
1,368 Views

Hello guys,

I' ve recently acquired an Intel Galileo Gen 2 and I am trying to set an ethernet connection between it and my pc. While I can do this when I use the native linux system I cannot do it when SD card is in the galileo.

I am using a sketch like this

void setup() {

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

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

pinMode(13, OUTPUT);

digitalWrite(13,HIGH);

}

}}

The led works in both cases: with the SD card and without it. However I cannot ping to 169.254.1.1 when I use the SD, while I can connect via telnet when I don't use it.

I've used https://software.intel.com/en-us/get-started-galileo-linux-step1 this tutorial for the SD and I have upgraded the firmware. I am understanding something wrong? Is there an alternative way to set the IP for galileo, without using the ttl 2 usb cable (which I don't have)?

0 Kudos
1 Solution
FTinetti
Honored Contributor I
156 Views

Hi NP-c,

Firmware yocto and SD yocto Ethernet interface are different... take a look at

Summarizing, add the following lines before your ifconfig line

system("ifconfig enp0s20f6 down ");

system("ip link set enp0s20f6 name eth0");

HTH,

Fernando.

View solution in original post

2 Replies
FTinetti
Honored Contributor I
157 Views

Hi NP-c,

Firmware yocto and SD yocto Ethernet interface are different... take a look at

Summarizing, add the following lines before your ifconfig line

system("ifconfig enp0s20f6 down ");

system("ip link set enp0s20f6 name eth0");

HTH,

Fernando.

nnikp
Beginner
156 Views
Reply