Changes

Using Ethernet to communicate

1,259 bytes added, 13:42, 29 August 2012
m
Install Putty
'''Configure'''{{Message/Information Message|title=|message= In this guide is used [[ IGEP firmware Yocto ]]}}__TOC__== Overview ==
You can log into IGEP via many interfaces, such Serial, Wifi, USB-Ethernet Gadget, etc. In this tutorial we are going to connect to the board via its Ethernet interface. By default, all IGEP Processor boards have a static IP and dynamic IP.
In this tutorial we are going to connect to the board via its Ethernet interface.== Requirements ==
By default, all IGEP Processor boards have a '''static IP in their Ethernet interface which is 192.168.5.1'''There are some requisites to follow this guide:
First of all, adjust the IP of your PC in order to be in the right subnet of *IGEP, for example: 192.168.5.10Processor Board with Ethernet '' Linux: ''*Host PC
== Configure Host PC==
=== Linux ===
'''NOTE:''' You don't need to configure anything if you use [http://labs.isee.biz/index.php/IGEP_SDK_Virtual_Machine IGEP SDK Virtual Machine]
If you are running Linux in your PC, open a Terminal session and set the IP of the Ethernet interface in which IGEP is connected (for example eth0):
Run *In the following commandsfile /etc/network/interfaces, you should add:<pre>iface eth0 inet dhcp iface eth0:0 inet staticaddress 192.168.5.10netmask 255.255.255.0</pre> *Type in a terminal:<pre>sudo ifup eth0:0</pre> *Revise that:<pre>jdoe@ubuntu ~ $ ifconfig...eth0:0 Link encap:Ethernet HWaddr 08:00:27:ad:0c:ad inet addr:192.168.5.10 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1...</pre> === Windows and MAC OSX ===
sudo ifconfig eth0 down sudo ifconfig eth0 192.168.5.10 up'''NOTE:''' you should use [[IGEP SDK Virtual Machine|IGEP&nbsp;SDK&nbsp;Virtual Machine]] but you can use these steps:
''' Windows: '''
If you are running Windows in your PC, depending of your OS version and your configuration the steps might be slightly different:
# Close all the dialogs
'''MAC OSX:'''
 
'''(Please contribute)'''
 
== Connect to IGEP device ==
=== Install Putty ==='''ConnectNOTE:'''You don't need install anything if you use [[IGEP SDK Virtual Machine|IGEP&nbsp;SDK&nbsp;Virtual Machine]].
Now you are ready to log into IGEP via its Ethernet interface. You just need a program with a SSH client.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Install and run using executable or using apt-get command (in Linux):<pre>sudo apt-get install putty </pre> === Run Putty. === It will look like this:
[[Image:Putty ssh.png|center]]
user:root
password: (no password for this user: press return)
=== Troubleshooting ===
==== WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! ====
In the case of the SSH client in Linux, a changed host key results in the client refusing to connect and showing an remote host identification has changed error
''' Know more ''' @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!In Someone could be eavesdropping on you right now (man-in-the pre-installed software, middle attack)! It is also possible that the default configuration RSA host key has just been changed. The fingerprint for all the network interfaces RSA key sent by the remote host is 8d:0b:29:f0:0a:a1:f5:56:0c:12:18:b0:26:02:6d:9d. Please contact your system administrator.*eth0 - 192 Add correct host key in /home/eballetbo/.168ssh/known_hosts to get rid of this message.5 Offending key in /home/eballetbo/.1*eth0ssh/known_hosts:0 - via dhcp57*wlan0 - 192.168.6.1*usb0 - RSA host key for 192.168.7.1   By default, the IP of the Ethernet interface is 192.168.5.1 Once has changed and you are logged in, you can see which interfaces are up in IGEP. In the SSH console, run:  ifconfig It will list all the active network interfaceshave requested strict checkingIf you want to change, for example, ''eth0'' you can use the following commands (if you do it now, it will close the SSH session, as it will change the Ethernet IP):  ifconfig eth0 < new IP >
In order to make permanent changes (save To fix the configuration upon next start), you will have to problem edit the your ~/etc.ssh/network/interfaces file in your IGEPknown_hosts and remove the line corresponding to this host.&nbsp;
[[Category:Ethernet]]
4,199
edits