Difference between revisions of "Using IGEP WLAN to communicate"

From IGEP - ISEE Wiki

Jump to: navigation, search
m (Download Boot and Rootfs)
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
If your IGEP Processor Board has '''wifi interface''' you can connect to it.
+
<section begin=exclude />
 +
{{Message/Information Message|title=|message= In this guide is used [[ IGEP firmware Yocto ]]}}
 +
<section end=exclude />
 +
=== Overview  ===
  
You can open a SSH session in your computer and interact with your Board from your console. Here is how to.
+
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.  
  
<br>
+
=== Requirements  ===
  
== Update pre-installed software ==
+
There are some requisites to follow this guide:
  
<br>
+
*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  ===
  
{| width="100%" cellspacing="1" cellpadding="1" border="0" align="center"
+
Follow these steps to connect to your IGEP device:
 +
 
 +
*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.
 +
 
 +
{| cellspacing="1" cellpadding="1" border="1" width="200"
 
|-
 
|-
! scope="row" | [[Image:Information.jpg|60x60px]]  
+
| [[Image:Igep wificon1.png|331px]]  
| If this is your first time accessing your IGEP Processor Board, it is highly recommended that you [[Update the PRE-INSTALLED software image to a current release|update your pre-installed software image to a recent release]] to ensure you have the latest features and bug fixes.
+
| [[Image:Igep wificon2.png|331px]]
 
|}
 
|}
  
<br>
+
'''<sup>Click to enlarge image</sup>'''
..or you can directly:
 
  
=== Download Boot and Rootfs ===
+
=== Connect to IGEP ===
  
You can download the boot partition and the rootfs partition packages from here:  
+
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
  
{{Message/Broken Links}}
+
{| cellspacing="1" cellpadding="1" border="1" width="200"
 
+
|-
 
+
| [[Image:Igep wifiputty1.png|331px]]  
*[http://downloads.igep.es/files/IGEP_Mod_linaro/boot-linaro_minimal.10.10.tar.bz2 Boot Partition]
+
| [[Image:Igep wifiputty2.png|331px]]
*[http://downloads.igep.es/files/IGEP_Mod_linaro/rootfs-linaro_minimal.10.10.tar.bz2 Root File System]<br>
+
|-
 
+
| [[Image:Igep wifiputty3.png|331px]]
<br>
+
| [[Image:Igep wifiputty4.png|331px]]
 
+
|}
=== Create a Boot MicroSD Card<br>  ===
 
 
 
Now create a Boot MicroSD Card using the two packages above. Follow this HowTo from the IGEP Wiki:
 
 
 
*[[How to boot from MicroSD Card|How to boot from MicroSD Card]]. '''Note''': Just follow the 2nd point “Preparing the MicroSD Card” to create the two partitions needed.
 
 
 
<br>
 
 
 
Uncompress and untar the file ''boot-linaro_minimal.10.10.tar.bz2'' in the '''boot partition''' and the file ''rootfs-linaro_minimal.10.10.tar.bz2'' in the '''rootfs partition''' of your MicroSD Card.<br>
 
 
 
== Configure the network<br>  ==
 
 
 
To configure the wireless network in your IGEP Processor Board, you need to edit the ''/etc/network/interfaces'' file '''in your IGEP Processor Board''' (not your computer).
 
 
 
To edit this file, remove the MicroSD from your IGEP device and insert it to your host PC.
 
The MicroSD has two partitions: boot and rootfs. They are mounted in your '/media/' directory when you insert your MicroSD card to the host PC.
 
 
 
So, the path to the ''interfaces'' file will be like: ''/media/rootfs/etc/network/interfaces''
 
 
 
Append this text file with the following commands:
 
 
 
<pre>  # interfaces(5) file used by ifup(8) and ifdown(8)
 
 
 
  auto lo wlan0
 
 
 
  iface lo inet loopback
 
 
 
  iface wlan0 inet dhcp
 
 
 
  wpa-driver wext
 
 
 
  wpa-ssid '''&lt;put here your Access Point 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;'''
 
 
 
</pre>
 
<br>
 
 
 
Complete the gaps with the missing information from your network configuration.<br>
 
 
 
To set the same wpa-psk from your access point, execute this command in your PC (with wifi):<br>
 
<pre>wpa_passphrase "Access Point Name" "WPA2 Pass Phrase"
 
</pre>
 
This command gives you the '''wpa-psk key''' and you can replace it at the space from the file mentioned above: ''wpa-psk &lt;put here your AP key*&gt; ''<br>
 
 
 
<br>
 
 
 
This configuration enables the wifi and automatically '''gets the IP from DHCP by default'''.<br>
 
 
 
Therefore, when you boot the IGEP board you might have to get its IP from your Access Point, maybe in its management console or page if provided.
 
 
 
=== Using static IP<br>  ===
 
 
 
If you wish to use a static IP then you should change at the same interfaces file:  
 
<pre># interfaces(5) file used by ifup(8) and ifdown(8)
 
 
 
auto lo wlan0
 
 
 
iface lo inet loopback
 
 
 
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
+
'''<sup>Click to enlarge image</sup>'''
  
</pre>  
+
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.
You are now ready to [[Using SSH to communicate|connect to your board via SSH]], for example.
+
<section end=wifi_connect />
 +
=== Troubleshooting  ===
  
<br>
+
==== NFS in root filesystem  ====
  
Remember that the SSH connection details for this package are:<br>
+
Don't use NFS in root filesystem combined with WIFI
<pre>Username: root
 
  
Password: letmein</pre>
 
<br>
 
  
== See also  ==
+
=== See also  ===
  
 
*[[How to setup Marvell 88w8686 SDIO wifi]]
 
*[[How to setup Marvell 88w8686 SDIO wifi]]

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