Difference between revisions of "Using IGEP WLAN to communicate"

From IGEP - ISEE Wiki

Jump to: navigation, search
(Created page with 'If your IGEP processor board has wifi interface you can connect to it and access your board, for example, via SSH. Download boot partition and rootfs partition packages from he…')
 
m
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
If your IGEP processor board has wifi interface you can connect to it and access your board, for example, via SSH.
+
<section begin=exclude />
 +
{{Message/Information Message|title=|message= In this guide is used [[ IGEP firmware Yocto ]]}}
 +
<section end=exclude />
 +
=== Overview  ===
  
Download boot partition and rootfs partition packages from here:
+
If your IGEP Processor Board has '''WIFI interface''' you can connect to it without any cable. You can open a SSH session in your computer and interact with your Board from your console. Here is how to.
  
*Boot: http://downloads.igep.es/files/IGEP_Mod_linaro/boot-linaro_minimal.10.10.tar.bz2
+
=== Requirements  ===
*Root file system: http://downloads.igep.es/files/IGEP_Mod_linaro/rootfs-linaro_minimal.10.10.tar.bz2
 
  
Now you must create a boot-MicroSD card using these two packages. Follow this [[How to boot from MicroSD Card|HowTo]]
+
There are some requisites to follow this guide:
  
Just follow the point 2 “Preparing the MicroSD Card” for creating the two partitions needed.  
+
*IGEP Processor Board with WIFI
 +
*Host computer with WIFI
 +
*[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTy program]
 +
<section begin=wifi_connect />
 +
=== Connect to IGEP network  ===
  
Uncompress and untar the files boot-linaro_minimal.10.10.tar.bz2 in the '''boot partition''' and rootfs-linaro_minimal.10.10.tar.bz2 in the '''rootfs partition''' you have just created in your MicroSD Card.
+
Follow these steps to connect to your IGEP device:
  
<br> Now it is time to configure the wireless network.  
+
*Click on the Network Manager Tray icon.
 +
*Select IGEP_&lt;xx&gt; network, where &lt;xx&gt; is different for every IGEP device, to connect.
  
The rootfs partition in the MicroSD Card should be available in the /media/rootfs directory in your host PC. Go to that directory in the card and edit the file /media/rootfs/etc/network/interfaces
+
{| cellspacing="1" cellpadding="1" border="1" width="200"
<pre>  interfaces(5) file used by ifup(8) and ifdown(8)
+
|-
 +
| [[Image:Igep wificon1.png|331px]]
 +
| [[Image:Igep wificon2.png|331px]]
 +
|}
  
  auto lo wlan0
+
'''<sup>Click to enlarge image</sup>'''
  
  iface lo inet loopback
+
=== Connect to IGEP  ===
  
  iface wlan0 inet dhcp
+
Follow these steps to get a remote shell prompt:
  
  wpa-driver wext
+
*Open PuTTy program
 +
*Host Name:192.168.6.1
 +
*Port: 22
 +
*Connection type: SSH
 +
*Click Open, accept Security Alert and login as root user
  
  wpa-ssid &lt;'''put here your Access Point SSID'''&gt;
+
{| cellspacing="1" cellpadding="1" border="1" width="200"
 +
|-
 +
| [[Image:Igep wifiputty1.png|331px]]
 +
| [[Image:Igep wifiputty2.png|331px]]
 +
|-
 +
| [[Image:Igep wifiputty3.png|331px]]
 +
| [[Image:Igep wifiputty4.png|331px]]
 +
|}
  
  wpa-ap-scan 2
+
'''<sup>Click to enlarge image</sup>'''
  
  wpa-proto RSN
+
Note that a DHCP IP address in range 192.168.6.10-192.168.6.254 should be given to your host PC. The IGEP device should have IP address 192.168.6.1.
 +
<section end=wifi_connect />
 +
=== Troubleshooting  ===
  
  wpa-pairwise CCMP
+
==== NFS in root filesystem  ====
  
  wpa-group CCMP
+
Don't use NFS in root filesystem combined with WIFI
  
  wpa-key-mgmt WPA-PSK
 
  
  wpa-psk &lt;'''put here your AP key*'''&gt;
+
=== See also  ===
  
</pre>
+
*[[How to setup Marvell 88w8686 SDIO wifi]]
 +
*[[Using USB ethernet gadget to communicate]]
 +
*[[Using serial debug port to communicate]]
 +
*[[Using SSH to communicate]]
  
 
+
[[Category:Wifi]]
<br>
 
 
 
Now you might want to set your wpa-psk. Follow the next steps.
 
 
 
<br>
 
 
 
Execute in your PC (with wifi) this command:
 
 
 
<br>
 
<pre>
 
 
 
wpa_passphrase "Access Point Name" "WPA2 Pass Phrase"
 
 
 
</pre>
 
<br>
 
 
 
The Output for this command shows you the wpa-psk, you must copy the psk key and put it in the space above: wpa-psk &lt;put here your AP key&gt;
 
 
 
<br>
 
 
 
This configuration enable the wifi and get the IP from dhcp, if you wish use a static IP then you should change in interfaces file:
 
 
 
----
 
 
 
/media/rootfs/etc/network$ cat interfaces
 
 
 
----
 
 
 
#interfaces(5) file used by ifup(8) and ifdown(8)
 
 
 
auto lo wlan0
 
 
 
iface lo inet loopback
 
 
 
<br>
 
 
 
iface wlan0 inet static
 
 
 
    wpa-driver wext
 
 
 
    wpa-ssid &lt;put here your AP SSID&gt;
 
 
 
    wpa-ap-scan 2
 
 
 
    wpa-proto RSN
 
 
 
    wpa-pairwise CCMP
 
 
 
    wpa-group CCMP
 
 
 
    wpa-key-mgmt WPA-PSK
 
 
 
    wpa-psk &lt;put here your AP key&gt;
 
 
 
address 192.168.1.44
 
 
 
netmask 255.255.255.0
 
 
 
gateway 192.168.1.1
 
 
 
----
 
 
 
<br>
 
 
 
This is the connection details:
 
 
 
<br>
 
 
 
--- SSH ---
 
 
 
Username: root
 
 
 
Password: letmein
 
 
 
[[Category:Work in progress]]
 
[[Category:Communications]]
 

Latest revision as of 16:26, 27 August 2012

Information.jpg In this guide is used IGEP firmware Yocto

Overview

If your IGEP Processor Board has WIFI interface you can connect to it without any cable. You can open a SSH session in your computer and interact with your Board from your console. Here is how to.

Requirements

There are some requisites to follow this guide:

  • IGEP Processor Board with WIFI
  • Host computer with WIFI
  • PuTTy program

Connect to IGEP network

Follow these steps to connect to your IGEP device:

  • Click on the Network Manager Tray icon.
  • Select IGEP_<xx> network, where <xx> is different for every IGEP device, to connect.
Igep wificon1.png Igep wificon2.png

Click to enlarge image

Connect to IGEP

Follow these steps to get a remote shell prompt:

  • Open PuTTy program
  • Host Name:192.168.6.1
  • Port: 22
  • Connection type: SSH
  • Click Open, accept Security Alert and login as root user
Igep wifiputty1.png Igep wifiputty2.png
Igep wifiputty3.png Igep wifiputty4.png

Click to enlarge image

Note that a DHCP IP address in range 192.168.6.10-192.168.6.254 should be given to your host PC. The IGEP device should have IP address 192.168.6.1.

Troubleshooting

NFS in root filesystem

Don't use NFS in root filesystem combined with WIFI


See also