Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 17366

Connect to Galileo with SD card over Ethernet

$
0
0

Hello all,

 

I think I'm running around in circles because I can't seem to communicate with the board over Ethernet using PuTTy. I've downloaded the compiled SD card image and have it ready. However I can't seem to set an IP address in order to connect to the board. I've tried using a serial cable but it just doesn't seem to work, think I've got a problem with my cable.

 

I've been able to set it up without the SD card using the Arduino code:

void setup() {

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

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

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

}

 

void loop() {

}

However I want to use the larger image in order to use Python. I need to be able to set the IP address somewhere in the boot of the board and have tried using:

ifconfig --address=169.254.1.1 --mask=255.255.0.0

As well as:

telnetd -l /bin/sh

ifconfig eth0 169.254.1.1 netmask 255.255.0.0 up

ifconfig eth0 > /dev/ttyGS0

I've tried putting them in the grub.conf file but this may also be wrong.

 

Any advice?


Viewing all articles
Browse latest Browse all 17366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>