Next revision | Previous revisionLast revisionBoth sides next revision |
spanish_prism2_flashing [2007/02/24 20:16] – created spanish | spanish_prism2_flashing [2007/02/24 21:18] – spanish |
---|
===== Windows ===== | ===== Windows ===== |
| |
The simplest is to upgrade the firmware with [[http://www.netgate.com/support/prism_firmware/WinUpdate-0-7-0.exe|WinUpdate]].\\ | Lo más sencillo es actualizar el firmware con [[http://www.netgate.com/support/prism_firmware/WinUpdate-0-7-0.exe|WinUpdate]].\\ |
This also requires to have the [[http://www.linksys.com/servlet/Satellite?blobcol=urldata&blobheadername1=Content-Type&blobheadername2=Content-Disposition&blobheadervalue1=text%2Fplain&blobheadervalue2=inline%3B+filename%3Dwpc11-linux_dr_ver%252C1.txt&blobkey=id&blobtable=MungoBlobs&blobwhere=1121021322793&ssbinary=true|WPC11 driver v2.5]] installed. | Esto requiere tener instalado [[http://www.linksys.com/servlet/Satellite?blobcol=urldata&blobheadername1=Content-Type&blobheadername2=Content-Disposition&blobheadervalue1=text%2Fplain&blobheadervalue2=inline%3B+filename%3Dwpc11-linux_dr_ver%252C1.txt&blobkey=id&blobtable=MungoBlobs&blobwhere=1121021322793&ssbinary=true|WPC11 driver v2.5]] . |
| |
==== Pasos a seguir ==== | ==== Pasos a seguir ==== |
| |
- Conecta tu tarjeta | - Conecta tu tarjeta |
- Inicia WinUpdate. If you have only one prism card running, it will detect it. If you have more than one, it allows you to select one to upgrade. | - Inicia WinUpdate. Si solo tienes una tarjeta prism, te la detectará. Si tienes más de una, te permitirá selecionar cual de ellas quieres actualizar. |
- Pick the right primary and station firmware files. It is safest if you upgrade the companion versions of them together. Some times it is OK to just upgrade station firmware. According to Pavel Roskin, "Upgrading primary firmware without secondary firmware make the card non-functional. That card acts as if it only has primary firmware". So **NEVER NEVER** flash primary firmware alone!!!! | - Selecciona los archivos correctos con el firmware primario y secundario (primary y station firmware). Es más seguro si actualizas los dos al mismo tiempo. Algunas veces puede ser correcto actualizar solo el "station firmware". De acuerdo con Pavel Roskin, "Actualizar el firmware primario (primary firmware) sin incluir el firmware secundario (secondary firmware) provocará que la tarjeta deje de funcionar. La tarjeta actuará como si solo tuviese un firmware primario". Por lo tanto **NUNCA, pero que NUNCA** intentes usar un firmware primario sin incluir el secundario!!!! |
- Click "Continue". It reports current chip information, including current firmware versions, and gives you a chance to cancel. Double-confirm. If it says platform mismatches, most likely you picked the wrong hex files. | - Haz click en "Continue". Verás la información actual del chip, incluyendo la versión actual del firmware, y te dá la oportunidad de cancelar. Vuelves a confirmar. Si te dice "platform mismatches", lo más habitual es que hayas escogido un archivo hex incorrecto. |
- Click "Upgrade". That is it. | - Haz click en "Upgrade". Y ya está. |
| |
===== Linux ===== | ===== Linux ===== |
| |
To update the firmware, you'll need prism2_srec from the hostap-utils (and hostap loaded) package; if it's not present on your system, download and compile hostap-utils: | Para actualizar el firmware, necesitarás el programa "prism2_srec" que se incluye en el paquete "hostap-utils" (y tener cargado hostap); si no está nstalado en tu sistema, descargalo y compila las hostap-utils: |
| |
wget http://hostap.epitest.fi/releases/hostap-utils-0.4.7.tar.gz | wget http://hostap.epitest.fi/releases/hostap-utils-0.4.7.tar.gz |
make | make |
| |
Some Prism2 cards have been restricted to a certain set of channels because of country regulation. You can activate all 14 channels (it may be illegal) with the following commands: | Algunas tarjetas Prism2 están restringidas para operar en unos canales determinados debido a las regulaciones de cada pais. Puedes activar todos los 14 canales (ten en cuenta que puede ser ilegal en tu pais) con los siguientes comandos: |
| |
./prism2_srec wlan0 -D > pda; cp pda pda.bak | ./prism2_srec wlan0 -D > pda; cp pda pda.bak |
| |
Edit **pda** and put 3FFF at offset 0104 (line 24). Finally, download the firmware and flash your card.\\ | Edita el archivo **pda** y pon 3FFF en el "offset 0104" (linea 24). Finalmente, descarga el firmware y flashea tu tarjeta.\\ |
| |
| |
If the NIC id is between 0x8002 and 0x8008: | Si el "NIC id" está entre 0x8002 y 0x8008: |
| |
wget http://linux.junsun.net/intersil-prism/firmware/1.5.6/sf010506.hex | wget http://linux.junsun.net/intersil-prism/firmware/1.5.6/sf010506.hex |
./prism2_srec -v -f wlan0 s1010506.hex -P pda | ./prism2_srec -v -f wlan0 s1010506.hex -P pda |
| |
otherwise | en otro caso |
| |
wget http://linux.junsun.net/intersil-prism/firmware/1.7.4/pk010101.hex | wget http://linux.junsun.net/intersil-prism/firmware/1.7.4/pk010101.hex |
./prism2_srec -v -f wlan0 pk010101.hex sf010704.hex -P pda | ./prism2_srec -v -f wlan0 pk010101.hex sf010704.hex -P pda |
| |
==== Recommended firmware ==== | ==== Firmware recomendado ==== |
| |
You can check your firmware's primary and station version with this command: | Puedes comprobar tus firmwares primario y secundario con este comando: |
| |
# dmesg | grep wifi | # dmesg | grep wifi |
wifi0: registered netdevice wlan0 | wifi0: registered netdevice wlan0 |
| |
or | o |
| |
# hostap_diag wlan0 | # hostap_diag wlan0 |
STAID: id=0x001f v1.7.4 (station firmware) | STAID: id=0x001f v1.7.4 (station firmware) |
| |
With [[http://www.netgate.com/support/prism_firmware/WinUpdate-0-7-0.exe|WinUpdate]], I think you can check it via menu Tools then Query firmware version or somewhere else.\\ | Con [[http://www.netgate.com/support/prism_firmware/WinUpdate-0-7-0.exe|WinUpdate]], puedes comprobarlo con la opción que hay en el menu.\\ |
| |
If the NIC id above is between 0x8002 and 0x8008, you have an old Prism2 and MUST use STA firmware version 1.5.6 (s1010506.hex). Otherwise, you should use PRI 1.1.1 / STA 1.7.4 which is the most stable firmware version for newer Prism2 cards. Do NOT use firmware 1.7.1 or 1.8.x, people have reported having trouble with them. | Si el "NIC id" está entre 0x8002 y 0x8008, tienes una tarjeta Prism2 antigua y DEBES usar el STA firmware version 1.5.6 (s1010506.hex). En otro caso, debes usar PRI 1.1.1 / STA 1.7.4 que es la versión del firmware más estable para las tarjetas Prism2 nuevas. NO USES firmware 1.7.1 o 1.8.x, ya que mucha gente ha tenido problemos con ellos. |
| |
==== Firmware files ==== | ==== Archivos de firmware ==== |
| |
Firmware files are S-record files with .hex (or .HEX) suffix. S-record is a format to denote binary files, including their memory locations, in ASCII format. The base name of the file follows a certain convention. You can find more details in this [[http://linux.junsun.net/intersil-prism/IDtable.html|document]]. | Los archivos de firmware son archivos "S-record" con la extensión .hex (o .HEX). S-record es un formato de los archivos binarios, incluyendo la localización en memoria, en formato ASCII. El nombre del archivo sigue ciertas reglas. Puedes encontrar más detalles en este post: [[http://linux.junsun.net/intersil-prism/IDtable.html|document]]. |
| |
A image file looks like the following:\\ \\ | El nombre de un archivo de firmware será algo similar a esto:\\ \\ |
| |
**<type><platform><Version_Major/Minor><Version_Variant>.HEX** | **<type><platform><Version_Major/Minor><Version_Variant>.HEX** |
| |
* type can be I (Initial), P (Primary), S (Secondary), or T (Tertiary). Additionally, it can be A (RAM-download primary) or R (RAM-downloadable secondary). Only use files started with 'p' or 's'. Otherwise you may toast your cards! | * type puede ser I (Inicial), P (Primario), S (Secundario), o T (Terciario). Adicionalmente, puede ser A (RAM-download primario) o R (RAM-downloadable secundario). Usa únicamente archivos que comiencen con 'p' o 's'. De otra forma puedes "quemar" tu tarjeta wireless! |
* platform is a 1-character platform ID, which has to do with your NICID. Refer to the release ID table. | * platform es un caracter identificador o ID, que tiene que coincidir con tu NICID. Mira la tabla de versiones ID (release ID table). |
* Version_Major/Minor consists of a 2-character major version and 2-character minor version. | * Version_Major/Minor consiste en dos caracteres para la "major version" y dos caracteres para la "minor version". |
* Version_Variant is a 2-character version variant. | * Version_Variant son dos caracteres para la "version variant". |
| |
For example | Por ejemplo |
| |
pk010004.hex | pk010004.hex |
Primary firmware v1.0.4 for NICID 800C, 8013, 8017, 801B. | Firmware primario v1.0.4 para NICID 800C, 8013, 8017, 801B. |
sf010409.hex | sf010409.hex |
Station firmware v1.4.9 for NICID 800B, 800C, 800D, 8012, 8013, 8014, 8016, 8017, 8018, 801A, 801B, 801C. | Station firmware v1.4.9 para NICID 800B, 800C, 800D, 8012, 8013, 8014, 8016, 8017, 8018, 801A, 801B, 801C. |
s1010409.hex | s1010409.hex |
Station firmware v1.4.9 for NICID 8003, 8008. | Station firmware v1.4.9 para NICID 8003, 8008. |
| |
This document may also help: [[http://linux.junsun.net/intersil-prism/|linux.junsun.net/intersil-prism]] | Este documento puede serte de ayuda tambien: [[http://linux.junsun.net/intersil-prism/|linux.junsun.net/intersil-prism]] |