haiku/docs/userguide/ca/workshop-wlan.html

141 lines
10 KiB
HTML
Raw Normal View History

2013-02-18 00:51:59 +04:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!--
*
* Copyright 2012-2016, Haiku, Inc. All rights reserved.
2013-02-18 00:51:59 +04:00
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger <humdingerb@gmail.com>
* Translators:
* Paco Rivière
*
-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="robots" content="all" />
<title>Tutorial: Xarxes sense fil</title>
<link rel="stylesheet" type="text/css" href="../Haiku-doc.css" />
</head>
<body>
<div id="banner">
<div><span>Manual d'usuari</span></div>
2013-02-18 00:51:59 +04:00
</div>
<div class="nav">
<div class="inner">
<ul class="lang-menu">
<li class="now"><img src="../images/flags/ca.png" alt="" /> Català</li>
<li><a href="../fr/workshop-wlan.html"><img src="../images/flags/fr.png" alt="" />Français</a></li>
<li><a href="../de/workshop-wlan.html"><img src="../images/flags/de.png" alt="" />Deutsch</a></li>
<li><a href="../it/workshop-wlan.html"><img src="../images/flags/it.png" alt="" />Italiano</a></li>
<li><a href="../ru/workshop-wlan.html"><img src="../images/flags/ru.png" alt="" />Русский</a></li>
<li><a href="../es/workshop-wlan.html"><img src="../images/flags/es.png" alt="" />Español</a></li>
<li><a href="../sv_SE/workshop-wlan.html"><img src="../images/flags/sv_SE.png" alt="" />Svenska</a></li>
<li><a href="../jp/workshop-wlan.html"><img src="../images/flags/jp.png" alt="" />日本語</a></li>
<li><a href="../uk/workshop-wlan.html"><img src="../images/flags/uk.png" alt="" />Українська</a></li>
<li><a href="../zh_CN/workshop-wlan.html"><img src="../images/flags/zh_CN.png" alt="" /> 中文 [中文]</a></li>
<li><a href="../pt_PT/workshop-wlan.html"><img src="../images/flags/pt_PT.png" alt="" />Português</a></li>
<li><a href="../fi/workshop-wlan.html"><img src="../images/flags/fi.png" alt="" />Suomi</a></li>
<li><a href="../sk/workshop-wlan.html"><img src="../images/flags/sk.png" alt="" />Slovenčina</a></li>
<li><a href="../hu/workshop-wlan.html"><img src="../images/flags/hu.png" alt="" />Magyar</a></li>
<li><a href="../pt_BR/workshop-wlan.html"><img src="../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
2014-05-31 02:02:36 +04:00
<li><a href="../pl/workshop-wlan.html"><img src="../images/flags/pl.png" alt="" />Polski</a></li>
<li><a href="../ro/workshop-wlan.html"><img src="../images/flags/ro.png" alt="" />Română</a></li>
2013-02-18 00:51:59 +04:00
<li><a href="../en/workshop-wlan.html"><img src="../images/flags/gb.png" alt="" />English</a></li>
</ul>
<span>
«  <a href="workshop-email.html">Workshop: Managing Email</a> 
::  <a href="contents.html" class="uplink">Contents</a> 
::  <a href="applications.html">Applications</a>  »
</span></div>
</div>
<div id="content">
<div>
<div class="box-info">La traducció d'aquesta pàgina encara no està acabada. Fins que ho sigui, algunes part correspondrà a la versió anglesa.</div>
2013-02-18 00:51:59 +04:00
<table class="index" id="index" summary="index">
<tr class="heading"><td>Índex</td></tr>
<tr class="index"><td>
<a href="#firmware">Getting supported hardware to work</a><br />
<a href="#gui">Joining a wireless network</a><br />
<a href="#commandline">Joining from the command line</a><br />
<a href="#tips">Tips</a>
</td></tr>
</table>
<h1>Tutorial: Xarxes sense fil</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 <a href="http://www.freebsd.org">FreeBSD</a> compatibility layer for its networking drivers.<br />
2015-01-17 20:26:33 +03:00
This ensures a massive amount of supported hardware, though probably not 100% of what's out there. See <a href="https://www.haiku-os.org/guides/daily-tasks/wireless#hardware-notes">this list online</a> for a list of supported models or check <a href="http://www.freebsd.org/releases/9.3R/hardware.html#wlan">FreeBSD 9.3's release hardware notes</a>.</p>
2013-02-18 00:51:59 +04:00
<div class="box-info">Currently only PCI, PCI-X, PCI-Express, Mini PCI, and Mini PCI-Express devices are expected to work.<br />
PCMCIA, CardBus, ExpressCard, USB and ISA devices still need more work to become functional.</div>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="firmware" name="firmware">Fer funcionar el maquinari compatible</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>Open a Terminal and type:</p>
<pre class="terminal">install-wifi-firmwares.sh</pre>
<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 <a href="#tips">tips</a> below.</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="gui" name="gui">Connectar a una xarxa sense fil</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 <a href="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>
<img src="images/workshop-wlan-images/join-network.png" alt="join-network.png" />
<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 <span class="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>
<img src="images/workshop-wlan-images/join-status.gif" alt="join-network.gif" />
<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>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="commandline" name="commandline">Connectar des de la línia d'ordres</a></h2>
<p>If you prefer to use the command line or would like to use scripting or the <span class="path">~/config/settings/boot/UserBootscript</span> to automate things to join a specific network on bootup, there's the command <tt>ifconfig</tt>.</p>
2013-02-18 00:51:59 +04:00
<p>Start a Terminal and enter the first line to scan for available wireless networks:</p>
<pre class="terminal">ifconfig /dev/net/iprowifi3945/0 scan
name address signal auth
haiku-top 01:d0:19:a6:88:42 30 WPA
ArcorInternet123 00:20:12:a4:29:e1 15 WPA</pre>
<p>The path to your wireless network adapter has to be adjusted, of course.<br />
The output shows the public name (SSID), MAC address, signal strength and authentication method of all found networks.</p>
<p>To join a network, use this line and insert the respective public name (SSID) and password:</p>
<pre class="terminal">ifconfig /dev/net/iprowifi3945/0 join {SSID} {password}</pre>
<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>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="tips" name="tips">Consells</a></h2>
2015-02-23 20:29:44 +03:00
<h3>Offline download of binary firmware files</h3>
2017-04-15 23:38:49 +03:00
<p>If you cannot obtain the binary firmware files via the <tt>install-wifi-firmwares.sh</tt> script (for example due to lack of internet connection within Haiku), you can also download <a href="http://www.haiku-os.org/files/download-data-for-wlan-firmwares.txt">this shell script</a>, and run it from another OS that has <tt>wget</tt> and <tt>zip</tt> installed.<br />
Windows users need to have <a href="http://gnuwin32.sourceforge.net/packages/wget.htm">wget</a> and <a href="http://gnuwin32.sourceforge.net/packages/zip.htm">zip</a> for Windows installed in their default locations and use <a href="https://www.haiku-os.org/files/download-data-for-wlan-firmwares.bat">this batch script</a>.<br />
2015-02-23 20:29:44 +03:00
The script will download the needed files and create a zip file that is to be extracted to Haiku's <tt>/boot</tt>. Once unpacked, open a Terminal and type:</p>
2013-02-18 00:51:59 +04:00
<pre class="terminal">install-wifi-firmwares.sh</pre>
<p>Review the licenses and accept them to install all of the now available firmware files.</p>
<h3>Avoiding connection loss</h3>
<p>Haiku's drivers for some WLAN chipsets like the iprowifi4965 are prone to lose connection when using WPA encryption. If you're affected by that, try to disable the "HT mode" (high throughput, 802.11n) before connecting to a network:</p>
<pre class="terminal">ifconfig /dev/net/iprowifi4965/0 -ht</pre>
<p>If that fixes the problem, put the line into <span class="path">~/config/settings/boot/UserBootscript</span> to have it applied automatically every boot-up.</p>
2013-02-18 00:51:59 +04:00
</div>
</div>
<div class="nav">
<div class="inner"><span>
«  <a href="workshop-email.html">Tutorial: Gestió del correu</a> 
::  <a href="contents.html" class="uplink">Contingut</a> 
::  <a href="applications.html">Aplicacions</a>  »
2013-02-18 00:51:59 +04:00
</span></div>
</div>
</body>
</html>