Hello,
I am getting started with the intel galileo g2 board. I ran the basic arduino sketches using the following link:Intel Software Academic Program (Course : Intel Arduino IDE Hello World ( PPTX - PDF ))
I than tried running the basic on-board linux using the next PPTX from the same link (course : Networking ( PPTX - PDF ) ). Here i had the following problems:
I AM USING THE WINDOWS ON MY LAPTOP, NOT LINUX WHICH IS USED IN THE PPTX
1)
I was not able to connect to my board using SSH with IPv4 or IPv6. I tried with putty and them also with tera term. I am sure that the ip and mac was given to the board as it was also displayed on the serial monitor. I used the following arduino sketch and the output of serial monitor is attached in image 1.
void setup() {
}
void loop() {
system("telnetd -l /bin/sh");
system("ifconfig eth0 169.254.1.1 netmask 255.255.0.0 up");
system("ifconfig eth0 > /dev/ttyGS0");
delay(2000);
}
I was finally able to do it with telnet using ipv4 and port 23 on teraterm. I need to ask why ssh is not working for me?
2)
When i was finally able to connect, i could not become the root user as described in the networking PPTX on the above link. I see that i can enter the root directory but can't become root user. How can i do it? also what can i explore with this on board linux image? The image when i am logged in is attached as image 2.
IMAGE 1: