Difference between revisions of "Using IGEP WLAN to communicate"

From IGEP - ISEE Wiki

Jump to: navigation, search
m
Line 27: Line 27:
  
 
The rootfs partition in the MicroSD Card should be available in the ''/media/rootfs'' directory in your host PC. There edit the file ''/media/rootfs/etc/network/interfaces''  
 
The rootfs partition in the MicroSD Card should be available in the ''/media/rootfs'' directory in your host PC. There edit the file ''/media/rootfs/etc/network/interfaces''  
<pre>  interfaces(5) file used by ifup(8) and ifdown(8)
+
<pre>  # interfaces(5) file used by ifup(8) and ifdown(8)
  
 
   auto lo wlan0
 
   auto lo wlan0
Line 70: Line 70:
  
 
If you wish to use a static IP then you should change at the same interfaces file:  
 
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)
+
<pre># interfaces(5) file used by ifup(8) and ifdown(8)
  
 
auto lo wlan0  
 
auto lo wlan0  
Line 103: Line 103:
 
You are now ready to [[Using SSH to communicate|connect to your board via SSH]], for example.  
 
You are now ready to [[Using SSH to communicate|connect to your board via SSH]], for example.  
  
Remember that the connection details for this package are:<br>  
+
 
 +
 
 +
Remember that the SSH connection details for this package are:<br>  
 
<pre>Username: root
 
<pre>Username: root
  
Line 111: Line 113:
 
== See also  ==
 
== See also  ==
  
[[Using USB ethernet gadget to communicate]]  
+
*[[Using USB ethernet gadget to communicate]]  
 
+
*[[Using serial debug port to communicate]]
[[Using serial debug port to communicate]]  
 
  
 
[[Category:Work_in_progress]] [[Category:Communications]]
 
[[Category:Work_in_progress]] [[Category:Communications]]

Revision as of 10:33, 18 August 2011

If your IGEP processor board has wifi interface you can connect to it and access your board, for example, via SSH.


Download Boot and Rootfs

You can download the boot partition and the rootfs partition packages from here:


Create a Boot MicroSD Card

Now create a Boot MicroSD Card using the two packages above. Follow this HowTo from the IGEP Wiki:


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.

Configure the network

Now it is time to configure the wireless network in your IGEP board.

The rootfs partition in the MicroSD Card should be available in the /media/rootfs directory in your host PC. There edit the file /media/rootfs/etc/network/interfaces

   # 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 '''<put here your Access Point SSID>'''

   wpa-ap-scan 2

   wpa-proto RSN

   wpa-pairwise CCMP

   wpa-group CCMP

   wpa-key-mgmt WPA-PSK

   wpa-psk '''<put here your AP key*>'''


Complete the gaps with the missing information from your network configuration.

To set the same wpa-psk from your access point, execute this command in your PC (with wifi):

wpa_passphrase "Access Point Name" "WPA2 Pass Phrase" 

This command gives you the wpa-psk key and you can replace it at the space from the file mentioned above: wpa-psk <put here your AP key*>


This configuration enables the wifi and automatically gets the IP from DHCP by default.

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

If you wish to use a static IP then you should change at the same interfaces file:

# 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 <put here your AP SSID>

    wpa-ap-scan 2

    wpa-proto RSN

    wpa-pairwise CCMP

    wpa-group CCMP

    wpa-key-mgmt WPA-PSK

    wpa-psk <put here your AP key>

 address 192.168.1.44

 netmask 255.255.255.0

 gateway 192.168.1.1

You are now ready to connect to your board via SSH, for example.


Remember that the SSH connection details for this package are:

Username: root

Password: letmein


See also