- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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)?
- Tags:
- Ethernet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page