Difference between revisions of "Using IGEP WLAN to communicate"
From IGEP - ISEE Wiki
(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…') |
|||
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. | 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 here: | + | <br> |
+ | |||
+ | == Download Boot and Rootfs == | ||
+ | |||
+ | You can download the boot partition and the rootfs partition packages from here: | ||
− | * | + | *[http://downloads.igep.es/files/IGEP_Mod_linaro/boot-linaro_minimal.10.10.tar.bz2| Boot Partition] |
− | * | + | *[http://downloads.igep.es/files/IGEP_Mod_linaro/rootfs-linaro_minimal.10.10.tar.bz2| Root File System]<br> |
− | + | <br> | |
− | + | == 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. | |
− | The rootfs partition in the MicroSD Card should be available in the /media/rootfs directory in your host PC. | + | <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> == | ||
+ | |||
+ | 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'' | ||
<pre> interfaces(5) file used by ifup(8) and ifdown(8) | <pre> interfaces(5) file used by ifup(8) and ifdown(8) | ||
Line 25: | Line 37: | ||
wpa-driver wext | wpa-driver wext | ||
− | wpa-ssid < | + | wpa-ssid '''<put here your Access Point SSID>''' |
wpa-ap-scan 2 | wpa-ap-scan 2 | ||
Line 37: | Line 49: | ||
wpa-key-mgmt WPA-PSK | wpa-key-mgmt WPA-PSK | ||
− | wpa-psk < | + | wpa-psk '''<put here your AP key*>''' |
</pre> | </pre> | ||
− | |||
− | |||
<br> | <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 <put here your AP key*> ''<br> | |
− | <br> | ||
− | <pre> | ||
− | |||
− | wpa_passphrase "Access Point Name" "WPA2 Pass Phrase" | ||
− | |||
− | </pre> | ||
− | |||
− | |||
− | |||
<br> | <br> | ||
− | This configuration | + | 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 | auto lo wlan0 | ||
iface lo inet loopback | iface lo inet loopback | ||
− | |||
− | |||
iface wlan0 inet static | iface wlan0 inet static | ||
Line 102: | Line 100: | ||
gateway 192.168.1.1 | gateway 192.168.1.1 | ||
− | + | </pre> | |
− | + | 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> | |
+ | <pre>Username: root | ||
+ | Password: letmein</pre> | ||
<br> | <br> | ||
− | + | == See also == | |
− | + | [[Using USB ethernet gadget to communicate]] | |
− | + | [[Using serial debug port to communicate]] | |
− | [[Category: | + | [[Category:Work_in_progress]] [[Category:Communications]] |
− | [[Category:Communications]] |
Revision as of 10:28, 18 August 2011
If your IGEP processor board has wifi interface you can connect to it and access your board, for example, via SSH.
Contents
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:
- How to boot from MicroSD Card. Note: Just follow the 2nd point “Preparing the MicroSD Card” to create the two partitions needed.
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 connection details for this package are:
Username: root Password: letmein