<divclass="box-info">A tradução desta página ainda não está completa. Até lá, partes incompletas mostrarão o original em inglês.</div>
<tableclass="index"id="index"summary="index">
<trclass="heading"><td>Índice</td></tr>
<trclass="index"><td>
<ahref="#firmware">Getting supported hardware to work</a><br/>
<ahref="#gui">Joining a wireless network</a><br/>
<ahref="#commandline">Joining from the command line</a><br/>
<ahref="#tips">Tips</a>
</td></tr>
</table>
<h1>Workshop: Rede sem fio</h1>
<p>Getting the networking to run is essential in today's need for permanent internet connection. As keeping up to date with all the different and ever changing hardware and drivers is quite impossible for a small project, Haiku relies on a <ahref="http://www.freebsd.org">FreeBSD</a> compatibility layer for its networking drivers.<br/>
This ensures a massive amount of supported hardware, though probably not 100% of what's out there. See <ahref="https://www.haiku-os.org/guides/daily-tasks/wireless#hardware-notes">this list online</a> for a list of supported models or check <ahref="http://www.freebsd.org/releases/9.1R/hardware.html#WLAN">FreeBSD 9.1's release hardware notes</a>.</p>
<aid="firmware"name="firmware">Getting supported hardware to work</a></h2>
<p>Even if the first hurdle of generally supported hardware is taken, some wireless network cards require binary firmware modules to properly operate. Haiku cannot include some of these proprietary firmware files due to licensing issues. Haiku does however include a simple script which will retrieve and install all of the needed proprietary bits for you. Generally, if you are planning to use wireless networking, it is a good idea to run this script to ensure your system has all of these firmwares available when they are needed.</p>
<p>Now review the licenses and accept them to install all of the available firmware files.</p>
<p>If you don't have internet access to download those lacking firmwares under Haiku, there's an offline method, see under <ahref="#tips">tips</a> below.</p>
<aid="gui"name="gui">Joining a wireless network</a></h2>
<p>By default, Haiku will join the first unencrypted wireless network it finds after booting up. To connect to a specific network, you use the Desktop applet <ahref="desktop-applets/networkstatus.html">NetworkStatus</a>.</p>
<p>Right-click on its icon in the Deskbar and choose the network's public name (which is the "SSID" it broadcasts) from the context menu.</p>
<p>A window opens where you enter the type of authentication (probably WPA/WPA2, WEP is not a secure encryption anymore!) and the password for that wireless network. Click <spanclass="button">OK</span> to start the login process.<br/> Depending on your hardware and network configuration this may take a while. You'll be kept informed of the progress by notifications:</p>
<p>Once it reads "Ready" and the NetworkStatus icon in the Deskbar shows a green round light, the connection is established. If the notifications end in "No link" and a yellow triangle, something went wrong, probably an incorrect password.</p>
<aid="commandline"name="commandline">Joining from the command line</a></h2>
<p>If you prefer to use the command line or would like to use scripting or the <spanclass="path">~/config/boot/UserBootscript</span> to automate things to join a specific network on bootup, there's the command <tt>ifconfig</tt>.</p>
<p>Start a Terminal and enter the first line to scan for available wireless networks:</p>
<p>Make sure the initial configuration of the wireless network adapter after booting up has finished, before issuing <tt>ifconfig</tt> commands or they might be ignored. Depending on your hardware and network configuration that may take a while. Watch those notifications...</p>
<ul><li><p>Here is how you get to install your firmware if you don't yet have a working internet connection under Haiku. You download the following files while in another operating system, boot Haiku, copy them to their respective location and invoke the <spanclass="cli">install-wifi-firmwares.sh</span> script.</p>
<ul>
<li><p>Copy these two to <spanclass="path">/boot/system/data/firmware/broadcom43xx/b43-fwcutter/</span>:<br/>