# Wifi

Guía del usuario
La traducción de esta página no está completa aún. Hasta que esté, las partes sin terminar vienen en su inglés original.

## Wifi en Haiku

### Hardware que se espera funcione

Todos los controladores wlan de FreeBSD 8 deberían trabajar. Cualquier tarjeta basada PCMCIA, CardBus, ExpressCard, USB o ISA no funcionará. Únicamente las PCI, miniPCI, PCI-Express, miniPci-Express and PCI-X se espera que trabajen.
Esto incluye a:

- aironetwifi soportando al menos:
  Aironet PCI4500 y
  Aironet PCI4800.

- atheroswifi soportando casi todos los chipsets de afuera (aunque no los chips AR9285).

- broadcom43xx soportando
  BCM4301, BCM4306, BCM4307, BCM4309, BCM4311, BCM4312 y BCM4318.

- ipw2100 supporting Intel Pro Wireless 2100 chips

- iprowifi2200 supporting Intel Pro Wireless
  2200BG
  2225BG
  2915ABG

- iprowifi3945 supporting Intel Pro Wireless 3945 chips

- iprowifi4965 supporting Intel Pro Wireless 4965 chips

- marvell88w8335 soportando:
  Marvell Libertas 88W8310 y
  Marvell Libertas 88W8335.

- marvell88w8363 soportando los chips 88W8363.

- ralinkwifi soportando:
  RT2560,
  RT2561S,
  RT2561 y
  RT2661.

- ralink2860 supporting Ralink RT2860

- wavelanwifi soportando al menos:
  3Com Airconnect,
  GLPRISM2 WaveLAN,
  Intersil Prism3,
  Intersil Prism2.5,
  Linksys WDT11,
  Netgear MA301,
  PRISM2STA WaveLAN,
  Siemens SpeedStream,
  SMC 2602W,
  Us Robotics 2415 y
  Addtron AWA-100 PCI.

### Connecting to a wireless network

Besides of course unencrypted networks, Haiku has preliminary support for accessing wireless networks via WEP encryption keys. WEP is an early encryption method, although not the most secure.

You can list available networks, join and leave them with the command ifconfig from Terminal:

    ifconfig [wifi_device_path] [list|join|leave] (key)

You can find your `wifi_device_path` in the Network preferences applet, or by executing ifconfig -a.

Below are a few examples of connecting to a wireless network named wifitopia. For these examples we are assuming your wifi network card is `/dev/net/iprowifi3945/0`.

#### Listing wireless networks:

    ifconfig /dev/net/iprowifi3945/0 list

#### Joining unsecured wireless network:

    ifconfig /dev/net/iprowifi3945/0 join wifitopia

#### Joining WEP secured wireless network: (ascii password)

    ifconfig /dev/net/iprowifi3945/0 join wifitopia mypassword

#### Joining WEP secured wireless network: (64-bit hex password)

    ifconfig /dev/net/iprowifi3945/0 join wifitopia 0x4010FABEEF

#### Leaving a wireless network:

    ifconfig /dev/net/iprowifi3945/0 leave wifitopia

### Automatically connecting to a wireless network

To make your system connect to a given SSID at each boot automatically, you can specify your wireless networks and passwords in `/boot/common/settings/network/wireless_networks` with the following format:

    network wifitopia {
       password mypassword
    }

If you don't create this configuration file, the system will connect to the first unencrypted network it finds.

Notas WEP

- El WEP de 64-bit usa una clave de 40-bit, lo cual significa 5 caracteres de texto o 10 dígitos hexadecimales.
- El WEP de 128-bit usa una clave de 104-bit, lo cual significa 13 caracteres de texto o 16 dígitos hexadecimales.
- hexadecimal digits = characters 0-9 and A through F (prepended with "0x" in `ifconfig`)

### Encripción WPA

At the moment there is no WPA encryption available in Haiku, though there have been some efforts bringing it significantly closer.

### install-wifi-firmwares.sh

To install the firmware for Intel ipw2100, Intel iprowifi2200/2225/2915, Broadcom 43xx & Marvell 88W8335, you need to run

    install-wifi-firmwares.sh

The Intel ipw2100 and iprowifi22xx will install without an internet connection, as the licensing terms allow Haiku to distribute the original firmware archives. However, they do require acknowledgment by the end-user prior to their installation. The Broadcom 43xx and Marvell 88W8335 will require an active internet connection, as the files containing their respective firmwares cannot be distributed with Haiku.

La gente que hace su propio build de la imagen de Haiku puede modificar su build/jam/UserBuildConfig en conformidad. Los detalles para ello y actualizaciones generales del tema de Wifi se encuentran en la versión en línea de este documento.

Si tiene que descargar el firmware, pero no tiene una conexión a Internet funcionando bajo Haiku, la versión en línea de este documento ofrece un script de shell, el cual creará un archivo zip para que se extraiga en la carpeta `/boot` de Haiku. Después de ello tendrá todos los archivos necesarios por install-wifi-firmwares.sh.