Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Using IGEP WLAN to communicate

1,264 bytes removed, 16:26, 27 August 2012
m
no edit summary
If your <section begin=exclude />{{Message/Information Message|title=|message= In this guide is used [[ IGEP processor board has wifi interface you can connect to it and access your board, for example, via SSH. firmware Yocto ]]}}<section end=exclude />=== Overview ===
<br> 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.
== Download Boot and Rootfs = Requirements ===
You can download the boot partition and the rootfs partition packages from hereThere are some requisites to follow this guide:
*IGEP Processor Board with WIFI *Host computer with WIFI *[http://downloadswww.igepchiark.es/files/IGEP_Mod_linaro/boot-linaro_minimalgreenend.10org.10.tar.bz2 Boot Partition] *[http://downloads.igep.esuk/files~sgtatham/IGEP_Mod_linaroputty/rootfs-linaro_minimal.10.10.tardownload.bz2 Root File Systemhtml PuTTy program]<brsection begin=wifi_connect />=== Connect to IGEP network ===
<br> Follow these steps to connect to your IGEP device:
== Create a Boot MicroSD Card<br> ==*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.
Now create a Boot MicroSD Card using the two packages above{| cellspacing="1" cellpadding="1" border="1" width="200"|-| [[Image:Igep wificon1. Follow this HowTo from the IGEP Wikipng|331px]] | [[Image: Igep wificon2.png|331px]]|}
*[[How to boot from MicroSD Card|How to boot from MicroSD Card]]. '''Note<sup>Click to enlarge image</sup>''': Just follow the 2nd point “Preparing the MicroSD Card” to create the two partitions needed.
<br> === Connect to IGEP ===
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> Follow these steps to get a remote shell prompt:
== Configure the network<br> ==*Open PuTTy program *Host Name:192.168.6.1 *Port: 22 *Connection type: SSH *Click Open, accept Security Alert and login as root user
Now it is time to configure the wireless network in your IGEP&nbsp;board{| 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]]|}
The rootfs partition in the MicroSD Card should be available in the '''<sup>Click to enlarge image</media/rootfs'' directory in your host PC. There edit the file 'sup>'/media/rootfs/etc/network/interfaces'' <pre> # interfaces(5) file used by ifup(8) and ifdown(8)
auto lo wlan0Note 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 ===
iface lo inet loopback==== NFS in root filesystem ====
iface wlan0 inet dhcpDon't use NFS in root filesystem combined with WIFI
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 </pre> You are now ready to [[Using SSH to communicate|connect to your board via SSH]], for example.  <br>  Remember that the SSH connection details for this package are:<br> <pre>Username: root Password: letmein</pre> <br>  == See also ===
*[[How to setup Marvell 88w8686 SDIO wifi]]
*[[Using USB ethernet gadget to communicate]]
*[[Using serial debug port to communicate]]
*[[Using SSH to communicate]]
[[Category:Work_in_progress]] [[Category:CommunicationsWifi]]
4,199
edits